Class AuthnContextImpl

  • All Implemented Interfaces:
    AuthnContext

    public class AuthnContextImpl
    extends Object
    implements AuthnContext
    This is the default implementation of interface AuthnContext. The AuthnContext element specifies the context of an authentication event. The element can contain an authentication context class reference, an authentication declaration or declaration reference, or both. Its type is AuthnContextType.

     <complexType name="AuthnContextType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <sequence>
                 <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
                 AuthnContextClassRef"/>
                 <choice minOccurs="0">
                   <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
                   AuthnContextDecl"/>
                   <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
                   AuthnContextDeclRef"/>
                 </choice>
               </sequence>
               <choice>
                 <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
                 AuthnContextDecl"/>
                 <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
                 AuthnContextDeclRef"/>
               </choice>
             </choice>
             <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
             AuthenticatingAuthority" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>