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 Summary
Constructors Constructor Description JAASResourceOwnerLoginHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSubjectcreateSubject(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)
-
-
-
Method Detail
-
createSubject
public UserSubject createSubject(Client client, String name, String password)
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
public void setContextName(String name)
-
setRoleClassifier
public void setRoleClassifier(String value)
-
setRoleClassifierType
public void setRoleClassifierType(String value)
-
-