Class JAASResourceOwnerLoginHandler

java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.owner.JAASResourceOwnerLoginHandler
All Implemented Interfaces:
ResourceOwnerLoginHandler

public class JAASResourceOwnerLoginHandler extends Object implements ResourceOwnerLoginHandler
  • Constructor Details

    • JAASResourceOwnerLoginHandler

      public JAASResourceOwnerLoginHandler()
  • Method Details

    • createSubject

      public UserSubject createSubject(Client client, String name, String password)
      Description copied from interface: ResourceOwnerLoginHandler
      Create a UserSubject for the name and password parameters, or return null if the name and password are invalid.
      Specified by:
      createSubject in interface ResourceOwnerLoginHandler
      Parameters:
      client - using the resource owner grant
      name - owner name
      password - owner password
      Returns:
      A UserSubject representing the user, or null.
    • setContextName

      public void setContextName(String name)
    • setRoleClassifier

      public void setRoleClassifier(String value)
    • setRoleClassifierType

      public void setRoleClassifierType(String value)