Class SAMLAttributeCallback

java.lang.Object
org.apache.rahas.impl.util.SAMLAttributeCallback
All Implemented Interfaces:
SAMLCallback

public class SAMLAttributeCallback extends Object implements SAMLCallback
  • Constructor Details

    • SAMLAttributeCallback

      public SAMLAttributeCallback(RahasData data)
  • Method Details

    • getCallbackType

      public int getCallbackType()
      Description copied from interface: SAMLCallback
      Returns the type of callback
      Specified by:
      getCallbackType in interface SAMLCallback
      Returns:
      int Indicates callback type
    • addAttributes

      public void addAttributes(org.opensaml.saml.saml1.core.Attribute attribute)
      Add SAML1 attribute.
      Parameters:
      attribute - SAML1 attribute
    • addAttributes

      public void addAttributes(org.opensaml.saml.saml2.core.Attribute attribute)
      Overloaded method to support SAML2
      Parameters:
      attribute - SAML2 attribute.
    • getSAML2Attributes

      public org.opensaml.saml.saml2.core.Attribute[] getSAML2Attributes()
      Get the array of SAML2 attributes.
      Returns:
      SAML2 attribute list.
    • getAttributes

      public org.opensaml.saml.saml1.core.Attribute[] getAttributes()
      Get SAML2 attribute
      Returns:
      SAML2 attributes.
    • getData

      public RahasData getData()