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 from the given principals and credentials, with the the assigned roles and permissions.
@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 roleNames the names of the roles assigned to this account. @param permissions the permissions assigned to this account directly (not those assigned to any of the realms).