Package | Description |
---|---|
com.fatwire.wem.sso |
Modifier and Type | Method and Description |
---|---|
SSOAssertion |
SSOSession.getAssertion()
If the current application is protected by SSO filter,
this method will return the assertion object describing
the current logged in user.
|
String |
SSOSession.getMultiTicket()
If the current application is protected by SSO filter,
use this method to get a ticket, which could be used
to perform REST calls from Java code.
|
String |
SSOSession.getMultiTicket(com.fatwire.wem.sso.SSOUsernamePassword credential)
Use this method when the current application is not protected
by SSO filter and the authenticated REST call should be performed.
|
String |
SSOSession.getMultiTicket(String username,
String password)
Deprecated.
use getMultiTicket with SSOUsernamePassword instead. Password is passed as char[]
|
com.fatwire.wem.sso.SSOValidator |
SSOSession.getMultiticketValidator()
Get the interface address for the multi-ticket validator.
|
com.fatwire.wem.sso.SSOValidator |
SSOSession.getProxyTicketValidator(javax.servlet.http.HttpServletRequest request,
Object pgt) |
String |
SSOSession.getSignoutUrl()
Returns URL, which could be used to perform
Single Sign Out.
|
String |
SSOSession.getSignoutUrl(String callbackUrl)
Returns URL, which could be used to perform
Single Sign Out.
|
static SSOSession |
SSO.getSSOSession()
Obtains a default SSO session, which is typically loaded in a Web application
by the Spring Context Loader.
|
static SSOSession |
SSO.getSSOSession(String configName)
Obtains a new SSO session by loading configuration from
a Spring configuration file.
|
String |
SSOSession.getTicket(String service)
If the current application is protected by SSO filter,
use this method to generate a ticket, which could be used
to perform REST calls from Java code.
|
String |
SSOSession.getTicket(String service,
com.fatwire.wem.sso.SSOUsernamePassword credential)
Use this method when the current application is not protected
by SSO filter and the authenticated REST call should be performed.
|
String |
SSOSession.getTicket(String service,
String username,
String password)
Deprecated.
use getTicket with SSOUsernamePassword instead
|
com.fatwire.wem.sso.SSOValidator |
SSOSession.getTicketValidator()
Get the interface address for the ticket validator.
|
void |
SSOSession.invalidate(String ticket,
String service)
Given a validator interface address, invalidate the ticket for the related service.
|
boolean |
SSOSession.isProxyTickets()
Determines whether proxying feature is turned on or off.
|
boolean |
SSOSession.isUseMultiTickets()
Determines whether support for multi tickets is enabled.
|
SSOAssertion |
SSOSession.validate(com.fatwire.wem.sso.SSOValidator validator,
String ticket,
String service)
Given a validator interface address, validate the ticket for the related service.
|