Class DelegateImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2delrestrict.impl.DelegateImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Delegate

public class DelegateImpl extends AbstractXMLObject implements Delegate
Implementation of Delegate.
  • Field Details

    • baseID

      private BaseID baseID
      BaseID child element.
    • nameID

      private NameID nameID
      NameID child element.
    • encryptedID

      private EncryptedID encryptedID
      EncryptedID child element.
    • delegationInstant

      private Instant delegationInstant
      DelegationInstant attribute.
    • confirmationMethod

      private String confirmationMethod
      ConfirmationMethod attribute.
  • Constructor Details

    • DelegateImpl

      protected DelegateImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getBaseID

      public BaseID getBaseID()
      Gets the BaseID child element of the delegate.
      Specified by:
      getBaseID in interface Delegate
      Returns:
      the base identifier of the delegate
    • getConfirmationMethod

      public String getConfirmationMethod()
      Get the confirmation method attribute value.
      Specified by:
      getConfirmationMethod in interface Delegate
      Returns:
      the confirmation method
    • getDelegationInstant

      public Instant getDelegationInstant()
      Get the delegation instant attribute value.
      Specified by:
      getDelegationInstant in interface Delegate
      Returns:
      the delegation instant
    • getEncryptedID

      public EncryptedID getEncryptedID()
      Gets the EncryptedID child element of the delegate.
      Specified by:
      getEncryptedID in interface Delegate
      Returns:
      the encrypted name identifier of the delegate
    • getNameID

      public NameID getNameID()
      Gets the NameID child element of the delegate.
      Specified by:
      getNameID in interface Delegate
      Returns:
      the name identifier of the principal for this request
    • setBaseID

      public void setBaseID(BaseID newBaseID)
      Sets the BaseID child element of the delegate.
      Specified by:
      setBaseID in interface Delegate
      Parameters:
      newBaseID - the base identifier of the delegate
    • setConfirmationMethod

      public void setConfirmationMethod(String newMethod)
      Set the confirmation method attribute value.
      Specified by:
      setConfirmationMethod in interface Delegate
      Parameters:
      newMethod - the new confirmation method
    • setDelegationInstant

      public void setDelegationInstant(Instant newInstant)
      Set the delegation instant attribute value.
      Specified by:
      setDelegationInstant in interface Delegate
      Parameters:
      newInstant - the new delegation instant
    • setEncryptedID

      public void setEncryptedID(EncryptedID newEncryptedID)
      Sets the EncryptedID child element of the delegate.
      Specified by:
      setEncryptedID in interface Delegate
      Parameters:
      newEncryptedID - the new encrypted name identifier of the delegate
    • setNameID

      public void setNameID(NameID newNameID)
      Sets the NameID child element of the delegate.
      Specified by:
      setNameID in interface Delegate
      Parameters:
      newNameID - the name identifier of the delegate
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements