public abstract class AbstractAuthenticationModule extends Object implements AuthenticationModule
| Constructor and Description |
|---|
AbstractAuthenticationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback)
Will try to register a user with a service using userData.
|
void |
login(String username,
String password,
Callback<HeaderAndBody> callback)
Will try to log in a user using username and password.
|
void |
logout(Callback<Void> callback)
Performs a logout of the current user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthorizationFields, getBaseURL, getEnrollEndpoint, getLoginEndpoint, getLogoutEndpoint, isLoggedInpublic void enroll(Map<String,String> userData, Callback<HeaderAndBody> callback)
AuthenticationModuleenroll in interface AuthenticationModulepublic void login(String username, String password, Callback<HeaderAndBody> callback)
AuthenticationModulelogin in interface AuthenticationModulepublic void logout(Callback<Void> callback)
AuthenticationModulelogout in interface AuthenticationModuleCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.