org.eclipse.emf.cdo.spi.common
Class CDOAuthenticationResult

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.CDOAuthenticationResult
All Implemented Interfaces:
Serializable

public final class CDOAuthenticationResult
extends Object
implements Serializable

The result of an authentication operation. Carries a userID and a crypted token.

Since:
4.0
Author:
Eike Stepper
See Also:
Serialized Form

Constructor Summary
CDOAuthenticationResult(ExtendedDataInput in)
           
CDOAuthenticationResult(String userID, byte[] cryptedToken)
           
 
Method Summary
 byte[] getCryptedToken()
           
 String getUserID()
           
 void write(ExtendedDataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOAuthenticationResult

public CDOAuthenticationResult(String userID,
                               byte[] cryptedToken)

CDOAuthenticationResult

public CDOAuthenticationResult(ExtendedDataInput in)
                        throws IOException
Throws:
IOException
Method Detail

write

public void write(ExtendedDataOutput out)
           throws IOException
Throws:
IOException

getUserID

public String getUserID()

getCryptedToken

public byte[] getCryptedToken()


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.