|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.security.external.saml.sp.SamlSpSingleUser
public class SamlSpSingleUser
| Constructor Summary | |
|---|---|
SamlSpSingleUser()
|
|
| Method Summary | |
|---|---|
SamlSpSession |
getSession()
Gets the current session (login). |
void |
globalLogout(HttpServletResponse response)
Globally logs out the user. |
void |
localLogout()
Locally logs out the user. |
void |
login(String idpEntityId,
HttpServletResponse response)
Sends the user agent to the site of the given identity provider, where the user can be authenticated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SamlSpSingleUser()
| Method Detail |
|---|
public void login(String idpEntityId,
HttpServletResponse response)
SamlServiceProviderApiSamlSingleUserServiceProviderSpi#loginSucceeded(OpenIdSession) or
SamlSingleUserServiceProviderSpi#loginFailed(OpenIdSession). If
the method is called within a dialogue, that same dialogue will be active
when the SPI method is called. Thus, the dialogue can be used to store API
client state that needs to survive the sign on process.
login in interface SamlServiceProviderApiresponse - the HTTP servlet responsepublic void localLogout()
SamlServiceProviderApiLocally logs out the user. This use case is considered out of scope by the SAML spec (see the SAMLv2 Profiles document, section 4.4). The local logout means that the session established by the SAML SP is not used any more by the application. So when the SAML SP will receive a logout request for this session in the future, it won't pass that on to the application.
This method doesn't write the HTTP response.
localLogout in interface SamlServiceProviderApipublic void globalLogout(HttpServletResponse response)
SamlServiceProviderApiSamlSingleUserServiceProviderSpi#globalLogoutSucceeded() and
SamlSingleUserServiceProviderSpi#singleLogoutFailed(). If this
method is called with an active dialogue scope, the same dialogue will be
active when the SPI method is called. This allows the API client to store
state information in the dialogue.
globalLogout in interface SamlServiceProviderApiresponse - the HTTP servlet responsepublic SamlSpSession getSession()
SamlServiceProviderApi
getSession in interface SamlServiceProviderApi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||