Interface ClientTokenFactory
public interface ClientTokenFactory
A factory to create, encrypt and decrypt client token.
- 
Method SummaryModifier and TypeMethodDescriptiondecryptClientToken(String base64EncryptedToken) Decrypt the REST client token.encryptClientToken(ClientToken token) Encrypt the REST client token.newClientToken(String documentumLoginTicket, String username, String domain, Map<ClientToken.TokenField, ?> others) Create a new REST client token.
- 
Method Details- 
newClientTokenClientToken newClientToken(String documentumLoginTicket, String username, String domain, Map<ClientToken.TokenField, ?> others) Create a new REST client token.- Parameters:
- username- the username for the client token
- domain- domain name of the user
- documentumLoginTicket- documentum login ticket
- others- other fields
- Returns:
- the new ticket
 
- 
decryptClientTokenDecrypt the REST client token.- Parameters:
- base64EncryptedToken- the client token in BASE64 encoding string
- Returns:
- the client token in Java structured object
 
- 
encryptClientTokenEncrypt the REST client token.- Parameters:
- token- the client token in Java structured object
- Returns:
- the client token in BASE64 encoding string
 
 
-