Class JAASResourceOwnerLoginHandler
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.owner.JAASResourceOwnerLoginHandler
- All Implemented Interfaces:
ResourceOwnerLoginHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSubject(Client client, String name, String password) Create aUserSubjectfor the name and password parameters, or return null if the name and password are invalid.voidsetContextName(String name) voidsetRoleClassifier(String value) voidsetRoleClassifierType(String value)
-
Constructor Details
-
JAASResourceOwnerLoginHandler
public JAASResourceOwnerLoginHandler()
-
-
Method Details
-
createSubject
Description copied from interface:ResourceOwnerLoginHandlerCreate aUserSubjectfor the name and password parameters, or return null if the name and password are invalid.- Specified by:
createSubjectin interfaceResourceOwnerLoginHandler- Parameters:
client- using the resource owner grantname- owner namepassword- owner password- Returns:
- A
UserSubjectrepresenting the user, or null.
-
setContextName
-
setRoleClassifier
-
setRoleClassifierType
-