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 principals and credentials.
@param principals the identifying attributes of the account, at least one of which should be considered the account's 'primary' identifying attribute, for example, a user id or username. @param hashedCredentials the hashed credentials that verify identity for the account @param credentialsSalt the salt used when hashing the credentials @see hunt.shiro.authc.credential.HashedCredentialsMatcher HashedCredentialsMatcher