| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Return the ID of a given SSO implementation.
|
java.lang.String |
getInterface(java.lang.String ssoUrl)
Return the HTML snippet to use in the interface.
|
java.lang.String |
getLabel()
Return the on-screen label to describing this implementation.
|
java.util.List<java.lang.String> |
getRolesList(JsonSessionState session)
Get a list of roles possessed by the current user if the SSO provider
supports such.
|
com.googlecode.fascinator.api.authentication.User |
getUserObject(JsonSessionState session)
Get the current user details in a User object.
|
void |
logout(JsonSessionState session)
Logout the current user, if implementing providers do not support this
at least clear Fascinator session data regarding this user.
|
void |
ssoCheckUserDetails(JsonSessionState session)
Get user details and set them in the user session.
|
java.lang.String |
ssoGetRemoteLogonURL(JsonSessionState session)
Retrieve the login URL for redirection.
|
void |
ssoInit(JsonSessionState session,
javax.servlet.http.HttpServletRequest request)
Initialize the SSO Service
|
void |
ssoPrepareLogin(JsonSessionState session,
java.lang.String returnAddress,
java.lang.String server)
Prepare a login with the SSO provider
|
java.lang.String getId()
java.lang.String getLabel()
java.lang.String getInterface(java.lang.String ssoUrl)
ssoUrl - The basic ssoUrl for the server.java.util.List<java.lang.String> getRolesList(JsonSessionState session)
com.googlecode.fascinator.api.authentication.User getUserObject(JsonSessionState session)
void logout(JsonSessionState session)
void ssoInit(JsonSessionState session, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
session - The server session datarequest - The incoming servlet requestjava.lang.Exception - if any errors occurvoid ssoCheckUserDetails(JsonSessionState session)
java.lang.String ssoGetRemoteLogonURL(JsonSessionState session)
void ssoPrepareLogin(JsonSessionState session, java.lang.String returnAddress, java.lang.String server) throws java.lang.Exception
returnAddress - The return address after loginserver - The server domainjava.lang.Exception - if any errors occurCopyright © 2009-2019. All Rights Reserved.