File: authproc_expectedauthncontextclassref.md

package info (click to toggle)
simplesamlphp 1.19.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,920 kB
  • sloc: php: 202,044; javascript: 14,867; xml: 2,700; sh: 225; perl: 82; makefile: 70; python: 5
file content (22 lines) | stat: -rw-r--r-- 998 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
`saml:ExpectedAuthnContextClassRef`
===================

SP side attribute filter to validate AuthnContextClassRef.

This filter checks the AuthnContextClassRef in the authentication response, and accepts or denies the access depending on the provided strength measure of authentication from IdP.

You can list the accepted authentitcation context values in the Service Provider configuration file.
If the given AuthnContextClassRef does not match any accepted value, the user will be redirected to an error page. It's useful to harmonize the SP's requested AuthnContextClassRef (another authproc filter), but you can accept more authentication strength measures than you requested for.

Examples
--------

    'authproc.sp' => array(
      91 => array(
        'class' => 'saml:ExpectedAuthnContextClassRef',
        'accepted' => array(
          'urn:oasis:names:tc:SAML:2.0:post:ac:classes:nist-800-63:3',
          'urn:oasis:names:tc:SAML:2.0:ac:classes:Password',
        ),
      ),
    ),