com.ibm.websphere.security.saml2

Class PropagationHelper

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


  • public class PropagationHelper
    extends java.lang.Object
    Provides methods to return the SAML token from the runAs subject.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String getEncodedSaml20Token(boolean isCompressed)
      Returns the encoded Saml20Token from the runAs subject.
      static Saml20Token getSaml20Token()
      Returns the Saml20Token from the runAs subject.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropagationHelper

        public PropagationHelper()
    • Method Detail

      • 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 java.lang.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