public class PropagationHelper
extends java.lang.Object
Constructor and Description |
---|
PropagationHelper() |
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. |
public static Saml20Token getSaml20Token()
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.Saml20Token
public static java.lang.String getEncodedSaml20Token(boolean isCompressed)
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.isCompressed
- if true
, the the token data will be compressed first and then encoded.