Class AuthnContextType

java.lang.Object
org.keycloak.dom.saml.v2.assertion.AuthnContextType
All Implemented Interfaces:
Serializable

public class AuthnContextType extends Object implements Serializable

Java class for AuthnContextType complex type.

The following schema fragment specifies the expected content contained within this class.

 <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>
 
See Also:
  • Constructor Details

    • AuthnContextType

      public AuthnContextType()
  • Method Details

    • addAuthenticatingAuthority

      public void addAuthenticatingAuthority(URI aa)
      Add an authenticating authority
      Parameters:
      aa - URI
    • addAuthenticatingAuthority

      public void addAuthenticatingAuthority(URI[] aas)
      Add Authenticating Authority
      Parameters:
      aas - an array of URI
    • removeAuthenticatingAuthority

      public void removeAuthenticatingAuthority(URI aa)
      Remove an authenticating authority
      Parameters:
      aa -
    • getAuthenticatingAuthority

      public Set<URI> getAuthenticatingAuthority()
      Get a read only set of authenticating authority
      Returns:
    • getSequence

      Get the sequence
      Returns:
    • setSequence

      public void setSequence(AuthnContextType.AuthnContextTypeSequence sequence)
      Set the authn context sequence
      Parameters:
      sequence -
    • addURIType

      public void addURIType(URIType aa)
      Add an URI type
      Parameters:
      aa -
    • addURIType

      public void addURIType(URIType[] aas)
      Add an array of URI Type
      Parameters:
      aas -
    • getURIType

      public Set<URIType> getURIType()
      Get a read only set of URI type
      Returns:
    • removeURIType

      public void removeURIType(URIType aa)
      Add an URI type
      Parameters:
      aa -