public class SimpleAuthenticationInfo extends Object implements org.apache.shiro.authc.MergableAuthenticationInfo, SaltedAuthenticationInfo
| 构造器和说明 |
|---|
SimpleAuthenticationInfo() |
SimpleAuthenticationInfo(Object principal,
Object hashedCredentials,
ByteSource credentialsSalt,
String realmName) |
SimpleAuthenticationInfo(Object principal,
Object credentials,
String realmName) |
SimpleAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection principals,
Object credentials) |
SimpleAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection principals,
Object hashedCredentials,
ByteSource credentialsSalt) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
Object |
getCredentials() |
ByteSource |
getCredentialsSalt() |
org.apache.shiro.subject.PrincipalCollection |
getPrincipals() |
int |
hashCode() |
void |
merge(org.apache.shiro.authc.AuthenticationInfo info) |
void |
setCredentials(Object credentials) |
void |
setCredentialsSalt(ByteSource salt) |
void |
setPrincipals(org.apache.shiro.subject.PrincipalCollection principals) |
String |
toString() |
public SimpleAuthenticationInfo()
public SimpleAuthenticationInfo(Object principal, Object credentials, String realmName)
public SimpleAuthenticationInfo(Object principal, Object hashedCredentials, ByteSource credentialsSalt, String realmName)
public SimpleAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection principals,
Object credentials)
public SimpleAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection principals,
Object hashedCredentials,
ByteSource credentialsSalt)
public org.apache.shiro.subject.PrincipalCollection getPrincipals()
getPrincipals 在接口中 org.apache.shiro.authc.AuthenticationInfopublic void setPrincipals(org.apache.shiro.subject.PrincipalCollection principals)
public Object getCredentials()
getCredentials 在接口中 org.apache.shiro.authc.AuthenticationInfopublic void setCredentials(Object credentials)
public ByteSource getCredentialsSalt()
getCredentialsSalt 在接口中 SaltedAuthenticationInfopublic void setCredentialsSalt(ByteSource salt)
public void merge(org.apache.shiro.authc.AuthenticationInfo info)
merge 在接口中 org.apache.shiro.authc.MergableAuthenticationInfoCopyright © 2015-2017. All Rights Reserved.