Interface SAMLCallbackHandler


public interface SAMLCallbackHandler
SAMLCallback Handler enables you to add data to the to the SAMLAssertion. For example Assertions, NameIdentifiers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(SAMLCallback callback)
    SAMLCallback object has indicates what kind of data is required.
  • Method Details

    • handle

      void handle(SAMLCallback callback) throws org.opensaml.saml.common.SAMLException
      SAMLCallback object has indicates what kind of data is required. if(callback.getCallbackType() == SAMLCallback.ATTR_CALLBACK) { SAMLAttributeCallback attrCallback = (SAMLAttributeCallback)callback; \//Retrieve required data from the RahasData inside SAMLAttributeCallback \//Add your SAMLAttributes to the attrCallback here. }
      Parameters:
      callback - SAML callback
      Throws:
      org.opensaml.saml.common.SAMLException - If an error occurs handling the callback