@Named(value="loginCredentials") @RequestScoped public class DefaultLoginCredentials extends AbstractBaseCredentials
Credentials.Status| Constructor and Description |
|---|
DefaultLoginCredentials() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredential() |
String |
getPassword() |
String |
getUserId() |
void |
invalidate()
Invalidates the credential.
|
void |
setCredential(Object credential) |
void |
setPassword(String password)
Convenience method that allows a plain text password credential to be set
|
void |
setUserId(String userId) |
String |
toString() |
getStatus, getValidatedAccount, setStatus, setValidatedAccountpublic 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()
CredentialsInvalidates the credential.
Copyright © 2018 JBoss by Red Hat. All rights reserved.