| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Return the ID of a given SSO implementation.
|
String |
getInterface(String ssoUrl)
Return the HTML snippet to use in the interface.
|
String |
getLabel()
Return the on-screen label to describing this implementation.
|
List<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.
|
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,
String returnAddress,
String server)
Prepare a login with the SSO provider
|
String getId()
String getLabel()
String getInterface(String ssoUrl)
ssoUrl - The basic ssoUrl for the server.List<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 Exception
session - The server session datarequest - The incoming servlet requestException - if any errors occurvoid ssoCheckUserDetails(JsonSessionState session)
String ssoGetRemoteLogonURL(JsonSessionState session)
void ssoPrepareLogin(JsonSessionState session, String returnAddress, String server) throws Exception
returnAddress - The return address after loginserver - The server domainException - if any errors occurCopyright © 2009-2016. All Rights Reserved.