Interface ODLPrincipal

All Superinterfaces:
Principal

public interface ODLPrincipal extends Principal
Principal for authentication.
  • Method Details

    • getUsername

      String getUsername()
      Extract username that is making the request.
      Returns:
      the requesting username
    • getDomain

      String getDomain()
      Extract the domain that is making the request.
      Returns:
      the domain for the requesting username
    • getUserId

      String getUserId()
      The user id for the user making the request, which is unique.
      Returns:
      the user id in the form username@domain
    • getRoles

      Set<String> getRoles()
      The roles granted to the user making the request.
      Returns:
      roles associated with the user making the request.