SimpleAccount.this
- this()
- this(Object principal, Object credentials, string realmName)
- this(Object principal, Object hashedCredentials, ByteSource credentialsSalt, string realmName)
- this(Collection!Object principals, Object credentials, string realmName)
- this(PrincipalCollection principals, Object credentials)
- this(PrincipalCollection principals, Object hashedCredentials, ByteSource credentialsSalt)
- this(PrincipalCollection principals, Object credentials, Set!(string) roles)
- this(Object principal, Object credentials, string realmName, Set!(string) roleNames, Set!(Permission) permissions)
- this(Collection!Object principals, Object credentials, string realmName, Set!(string) roleNames, Set!(Permission) permissions)
- this(PrincipalCollection principals, Object credentials, Set!(string) roleNames, Set!(Permission) permissions)
Constructs a SimpleAccount instance for the specified realm with the given principals, hashedCredentials and credentials salt used when hashing the credentials.
@param principal the 'primary' identifying attribute of the account, for example, a user id or username. @param hashedCredentials the credentials that verify identity for the account @param credentialsSalt the salt used when hashing the credentials @param realmName the name of the realm that accesses this account data @see hunt.shiro.authc.credential.HashedCredentialsMatcher HashedCredentialsMatcher