@SessionScoped @Named(value="identity") public class DefaultIdentity extends Object implements Identity
Identity.AuthenticationResult| Constructor and Description |
|---|
DefaultIdentity() |
| Modifier and Type | Method and Description |
|---|---|
protected org.picketlink.idm.model.Account |
authenticate() |
org.picketlink.idm.model.Account |
getAccount() |
protected void |
handleSuccessfulLoginAttempt(org.picketlink.idm.model.Account validatedAccount) |
protected void |
handleUnsuccesfulLoginAttempt(Throwable e) |
boolean |
hasPermission(Class<?> resourceClass,
Serializable identifier,
String operation) |
boolean |
hasPermission(Object resource,
String operation) |
boolean |
isLoggedIn() |
Identity.AuthenticationResult |
login() |
void |
logout() |
protected void |
logout(boolean invalidateLoginCredential) |
protected void |
postAuthenticate(Authenticator authenticator) |
public boolean isLoggedIn()
isLoggedIn in interface Identitypublic org.picketlink.idm.model.Account getAccount()
getAccount in interface Identitypublic Identity.AuthenticationResult login()
protected void handleSuccessfulLoginAttempt(org.picketlink.idm.model.Account validatedAccount)
protected void handleUnsuccesfulLoginAttempt(Throwable e)
protected org.picketlink.idm.model.Account authenticate() throws AuthenticationException
AuthenticationExceptionprotected void postAuthenticate(Authenticator authenticator)
protected void logout(boolean invalidateLoginCredential)
public boolean hasPermission(Object resource, String operation)
hasPermission in interface Identitypublic boolean hasPermission(Class<?> resourceClass, Serializable identifier, String operation)
hasPermission in interface IdentityCopyright © 2014. All Rights Reserved.