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