Class PropagationHelper

java.lang.Object
com.ibm.websphere.security.saml2.PropagationHelper

public class PropagationHelper extends Object
Provides methods to return the SAML token from the runAs subject.
  • Constructor Details

    • PropagationHelper

      public PropagationHelper()
  • Method Details

    • getSaml20Token

      public static Saml20Token getSaml20Token()
      Returns the Saml20Token from the runAs subject. Applications can use this method to retrieve the Saml20Token (possibly created during the web single sign on process) and then call the down stream REST-ful service by including the token in the HTTP header.
      Returns:
      Saml20Token
    • getEncodedSaml20Token

      public static String getEncodedSaml20Token(boolean isCompressed)
      Returns the encoded Saml20Token from the runAs subject. Applications can use this method to retrieve the Saml20Token (possibly created during the web single sign on process) and then call the down stream REST-ful service by including the token in the HTTP header.
      Parameters:
      isCompressed - if true, the the token data will be compressed first and then encoded.
      Returns:
      encoded saml token