public class JAASResourceOwnerLoginHandler extends Object implements ResourceOwnerLoginHandler
Constructor and Description |
---|
JAASResourceOwnerLoginHandler() |
Modifier and Type | Method and Description |
---|---|
UserSubject |
createSubject(Client client,
String name,
String password)
Create a
UserSubject for the name and password parameters, or return null if the name and password
are invalid. |
void |
setContextName(String name) |
void |
setRoleClassifier(String value) |
void |
setRoleClassifierType(String value) |
public UserSubject createSubject(Client client, String name, String password)
ResourceOwnerLoginHandler
UserSubject
for the name and password parameters, or return null if the name and password
are invalid.createSubject
in interface ResourceOwnerLoginHandler
client
- using the resource owner grantname
- owner namepassword
- owner passwordUserSubject
representing the user, or null.public void setContextName(String name)
public void setRoleClassifier(String value)
public void setRoleClassifierType(String value)
Apache CXF