public class AppRealmToken
extends org.apache.shiro.authc.UsernamePasswordToken
implements org.apache.shiro.authc.AuthenticationToken
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
verified |
| Constructor and Description |
|---|
AppRealmToken(String id,
boolean isVerified)
Construct an OpenID token with an empty password.
|
AppRealmToken(String id,
char[] password)
Construct a token with password-style credentials
|
AppRealmToken(String id,
String password)
Construct a token with password-style credentials
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVerified() |
void |
setVerified(boolean verified) |
clear, getCredentials, getHost, getPassword, getPrincipal, getUsername, isRememberMe, setHost, setPassword, setRememberMe, setUsername, toStringpublic AppRealmToken(String id, boolean isVerified)
public AppRealmToken(String id, String password)
public AppRealmToken(String id, char[] password)
Copyright © 2015. All rights reserved.