Package com.ibm.websphere.security.saml2
Class PropagationHelper
java.lang.Object
com.ibm.websphere.security.saml2.PropagationHelper
Provides methods to return the SAML token from the runAs subject.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getEncodedSaml20Token
(boolean isCompressed) Returns the encodedSaml20Token
from the runAs subject.static Saml20Token
Returns theSaml20Token
from the runAs subject.
-
Constructor Details
-
PropagationHelper
public PropagationHelper()
-
-
Method Details
-
getSaml20Token
Returns theSaml20Token
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
Returns the encodedSaml20Token
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
- iftrue
, the the token data will be compressed first and then encoded.- Returns:
- encoded saml token
-