Class Authorization
- java.lang.Object
-
- org.alfresco.repo.security.authentication.Authorization
-
public class Authorization extends java.lang.ObjectHelper 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 Modifier and Type Field Description static java.lang.StringTICKET_USERID
-
Constructor Summary
Constructors Constructor Description Authorization(java.lang.String authorization)ConstructAuthorization(java.lang.String username, java.lang.String password)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPassword()char[]getPasswordCharArray()java.lang.StringgetTicket()java.lang.StringgetUserName()booleanisTicket()
-