@Named(value="loginCredentials") @RequestScoped public class DefaultLoginCredentials extends Object implements org.picketlink.idm.credential.Credentials
| Constructor and Description |
|---|
DefaultLoginCredentials() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterLogin(PostAuthenticateEvent event) |
Object |
getCredential() |
String |
getPassword() |
org.picketlink.idm.credential.Credentials.Status |
getStatus() |
String |
getUserId() |
org.picketlink.idm.model.Agent |
getValidatedAgent() |
void |
invalidate() |
protected void |
loginFailed(LoginFailedEvent event) |
void |
setCredential(Object credential) |
void |
setPassword(String password)
Convenience method that allows a plain text password credential to be set
|
void |
setUserId(String userId) |
protected void |
setValid(PostAuthenticateEvent event) |
String |
toString() |
public String getUserId()
public void setUserId(String userId)
public Object getCredential()
public void setCredential(Object credential)
public String getPassword()
public void setPassword(String password)
public void invalidate()
invalidate in interface org.picketlink.idm.credential.Credentialsprotected void setValid(@Observes
PostAuthenticateEvent event)
protected void afterLogin(@Observes
PostAuthenticateEvent event)
protected void loginFailed(@Observes
LoginFailedEvent event)
public org.picketlink.idm.model.Agent getValidatedAgent()
getValidatedAgent in interface org.picketlink.idm.credential.Credentialspublic org.picketlink.idm.credential.Credentials.Status getStatus()
getStatus in interface org.picketlink.idm.credential.CredentialsCopyright © 2013. All Rights Reserved.