public abstract class AbstractIdentity extends Object implements Identity
Base implementation for Identity
types.
Identity.AuthenticationResult
Constructor and Description |
---|
AbstractIdentity() |
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 Identity
public org.picketlink.idm.model.Account getAccount()
getAccount
in interface Identity
public 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
AuthenticationException
protected void postAuthenticate(Authenticator authenticator)
protected void logout(boolean invalidateLoginCredential)
public boolean hasPermission(Object resource, String operation)
hasPermission
in interface Identity
public boolean hasPermission(Class<?> resourceClass, Serializable identifier, String operation)
hasPermission
in interface Identity
Copyright © 2018 JBoss by Red Hat. All rights reserved.