Class PrincipalAuthenticationMechanismType

java.lang.Object
org.keycloak.dom.saml.v2.ac.PrincipalAuthenticationMechanismType

public class PrincipalAuthenticationMechanismType extends Object

Java class for PrincipalAuthenticationMechanismType complex type.

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

 <complexType name="PrincipalAuthenticationMechanismType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Password" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}RestrictedPassword" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Token" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Smartcard" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}ActivationPin" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="preauth" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PrincipalAuthenticationMechanismType

      public PrincipalAuthenticationMechanismType()
  • Method Details

    • getPassword

      public PasswordType getPassword()
      Gets the value of the password property.
      Returns:
      possible object is PasswordType
    • setPassword

      public void setPassword(PasswordType value)
      Sets the value of the password property.
      Parameters:
      value - allowed object is PasswordType
    • getRestrictedPassword

      public RestrictedPasswordType getRestrictedPassword()
      Gets the value of the restrictedPassword property.
      Returns:
      possible object is RestrictedPasswordType
    • setRestrictedPassword

      public void setRestrictedPassword(RestrictedPasswordType value)
      Sets the value of the restrictedPassword property.
      Parameters:
      value - allowed object is RestrictedPasswordType
    • getToken

      public TokenType getToken()
      Gets the value of the token property.
      Returns:
      possible object is TokenType
    • setToken

      public void setToken(TokenType value)
      Sets the value of the token property.
      Parameters:
      value - allowed object is TokenType
    • getSmartcard

      public ExtensionOnlyType getSmartcard()
      Gets the value of the smartcard property.
      Returns:
      possible object is ExtensionOnlyType
    • setSmartcard

      public void setSmartcard(ExtensionOnlyType value)
      Sets the value of the smartcard property.
      Parameters:
      value - allowed object is ExtensionOnlyType
    • getActivationPin

      public ActivationPinType getActivationPin()
      Gets the value of the activationPin property.
      Returns:
      possible object is ActivationPinType
    • setActivationPin

      public void setActivationPin(ActivationPinType value)
      Sets the value of the activationPin property.
      Parameters:
      value - allowed object is ActivationPinType
    • getExtension

      public List<ExtensionType> getExtension()
      Gets the value of the extension property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extension property.

      For example, to add a new item, do as follows:

       getExtension().add(newItem);
       

      Objects of the following type(s) are allowed in the list ExtensionType

    • getPreauth

      public BigInteger getPreauth()
      Gets the value of the preauth property.
      Returns:
      possible object is BigInteger
    • setPreauth

      public void setPreauth(BigInteger value)
      Sets the value of the preauth property.
      Parameters:
      value - allowed object is BigInteger