Authenticate Against Identity Provider Assertion
The Authenticate Against Identity Provider assertion authenticates the current credentials against the selected identity provider, using credentials gathered from other credential source assertions. Examples of credential source assertions include: Require HTTP Basic Credentials, Require SAML Token Profile, or Require SSL or TLS Transport. This assertion is similar to the except that it does not match the authenticated user against any particular user or group.
Authenticate Against Identity Providerassertion authenticates the current credentials against the selected identity provider, using credentials gathered from other credential source assertions. Examples of credential source assertions include: Authenticate User or Group Assertion except that it does not match the authenticated user against any particular user or group.
Use this assertion when you need to separate authentication and authorization, for example:
- You want to authenticate the credentials already gathered in the policy, but you don't need to authorize that the resulting user is a particular user or member of a particular group.
- The policy contains many "User" or "Group" assertions. You want to authenticate first so that if it fails, the identity assertions can be skipped, saving processing time.
- You wish to perform branching based on the results of authentication (for example, "If the authentication fails, do this; otherwise do this...")
To learn about selecting the target message for this assertion, see Select a Target Message.
To learn more applying a tag to the identity, see Identity Tags.
When authenticating against an LDAP Identity Provider, the following context variables are set upon an error condition. You can then parse the error message to determine your course of action. For example, you may take different actions for an expired password versus invalid credentials.
Returns an array of logins used to authenticate.
Returns an array of the error messages returned from the LDAP provider.
Note that an array is returned because the authentication module can authenticate multiple logins within a policy. If at least one login used to authenticate succeeds, then the Authenticate Against Identity Provider assertion succeeds. If one or more logins fail, then the assertion fails.
The context variables are populated only when authenticating against an LDAP Identity Provider. The variables are empty when authenticating against other identity providers.
Using the Assertion
- Do one of the following:
- To add the assertion to the Policy Development window, see Adding an Assertion.
- To change the configuration of an existing assertion, proceed to step 2 below.
- When adding the assertion, theChange Authentication Identity Providerdialog automatically appears; when modifying the assertion, right-clickin the policy window and choose<target>:Authenticate against...Change Authentication Identity Provideror double-click the assertion in the policy window.
- Choose the identity provider that will be authenticated against. Only configured identity providers appear on the list.
- Click [OK] when done.