Returns the profile that applies to a person's password: of the policy
the application names (appPasswordPolicy) and the policies the
person's groups name (stsPasswordPolicy), the lowest precedence (ties
by name), else default. A reference to a policy this realm does not
hold is dropped and the rest still rank (STS-AUTHN-0539).
Parameters
Optionalusername: unknown
the person, or nothing: then default, unless an
application names a policy
Optionalapplication: unknown
the application (a client_id or its identifier),
where one is known
Returns the profile that applies to a person's password: of the policy the application names (
appPasswordPolicy) and the policies the person's groups name (stsPasswordPolicy), the lowest precedence (ties by name), elsedefault. A reference to a policy this realm does not hold is dropped and the rest still rank (STS-AUTHN-0539).