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 Details

    • TICKET_USERID

      public static String TICKET_USERID
  • Constructor Details

    • Authorization

      public Authorization(String authorization)
      Construct
      Parameters:
      authorization - String
    • Authorization

      public Authorization(String username, String password)
      Construct
      Parameters:
      username - String
      password - String
  • Method Details

    • getUserName

      public String getUserName()
    • getPassword

      public String getPassword()
    • getPasswordCharArray

      public char[] getPasswordCharArray()
    • isTicket

      public boolean isTicket()
    • getTicket

      public String getTicket()