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, with the assigned roles.
@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 credentials the credentials that verify identity for the account @param roles the names of the roles assigned to this account.