public class SaltedAuthInfo
extends java.lang.Object
implements org.apache.shiro.authc.SaltedAuthenticationInfo
| Constructor and Description |
|---|
SaltedAuthInfo(java.lang.String email,
java.lang.String password,
java.lang.String salt)
store salted authentication information.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCredentials()
build credentials.
|
org.apache.shiro.util.ByteSource |
getCredentialsSalt()
get credentials salt.
|
org.apache.shiro.subject.PrincipalCollection |
getPrincipals()
build the principal collection.
|
public SaltedAuthInfo(java.lang.String email,
java.lang.String password,
java.lang.String salt)
email - the emailpassword - the passwordsalt - the saltpublic org.apache.shiro.subject.PrincipalCollection getPrincipals()
getPrincipals in interface org.apache.shiro.authc.AuthenticationInfopublic java.lang.Object getCredentials()
getCredentials in interface org.apache.shiro.authc.AuthenticationInfopublic org.apache.shiro.util.ByteSource getCredentialsSalt()
getCredentialsSalt in interface org.apache.shiro.authc.SaltedAuthenticationInfo