public class WebSecurityHelper
extends java.lang.Object
Constructor and Description |
---|
WebSecurityHelper() |
Modifier and Type | Method and Description |
---|---|
static javax.servlet.http.Cookie |
getSSOCookieFromSSOToken()
Extracts the SSO token from the subject of current thread
and builds an SSO cookie out of it for use on downstream web invocations.
|
static java.lang.String |
getSSOCookieName()
Extracts the SSO cookie name for use on downstream web invocations.
|
public static javax.servlet.http.Cookie getSSOCookieFromSSOToken() throws java.lang.Exception
When the returned value is not null use Cookie methods getName() and getValue() to set the Cookie header on an HTTP request with header value of Cookie.getName()=Cookie.getValue()
null
.java.lang.Exception
public static java.lang.String getSSOCookieName() throws java.lang.Exception
java.lang.Exception