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 principal and credentials, with the the assigned roles and permissions.
@param principal the 'primary' identifying attributes of the account, for example, a user id or username. @param credentials the credentials that verify identity for the account @param realmName the name of the realm that accesses this account data @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).