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