Class Authorization
java.lang.Object
org.alfresco.repo.security.authentication.Authorization
Helper to process username / password pairs passed to the remote tier
Identifies whether username / password is a ticket.
Is ticket, if one of the following is true:
a) Username == "ROLE_TICKET" (in any case) b) Username is not specified (i.e. null) c) Username is zero length
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthorization(String authorization) ConstructAuthorization(String username, String password) Construct -
Method Summary
-
Field Details
-
TICKET_USERID
-
-
Constructor Details
-
Authorization
Construct- Parameters:
authorization- String
-
Authorization
Construct- Parameters:
username- Stringpassword- String
-
-
Method Details
-
getUserName
-
getPassword
-
getPasswordCharArray
public char[] getPasswordCharArray() -
isTicket
public boolean isTicket() -
getTicket
-