public class USQSSO extends Object implements SSOInterface
| Constructor and Description |
|---|
USQSSO() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Return the USQSSO ID.
|
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 from the SSO Service.
|
com.googlecode.fascinator.api.authentication.User |
getUserObject(JsonSessionState session)
Get the current user details in a User object.
|
void |
logout(JsonSessionState session)
We cannot log the user out of UConnect, but we can clear Fascinator
session data regarding this user.
|
void |
ssoCheckUserDetails(JsonSessionState session)
Get user details from the SSO Service 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 the SSO Service to receive a login from the user
|
public String getId()
getId in interface SSOInterfacepublic String getLabel()
getLabel in interface SSOInterfacepublic String getInterface(String ssoUrl)
getInterface in interface SSOInterfacessoUrl - The basic ssoUrl for the server.public com.googlecode.fascinator.api.authentication.User getUserObject(JsonSessionState session)
getUserObject in interface SSOInterfacepublic void logout(JsonSessionState session)
logout in interface SSOInterfacepublic void ssoInit(JsonSessionState session, javax.servlet.http.HttpServletRequest request) throws Exception
ssoInit in interface SSOInterfacesession - The server session datarequest - The incoming servlet requestException - if any errors occurpublic void ssoPrepareLogin(JsonSessionState session, String returnAddress, String server) throws Exception
ssoPrepareLogin in interface SSOInterfacereturnAddress - The address to come back to after the loginserver - The server domainException - if any errors occurpublic String ssoGetRemoteLogonURL(JsonSessionState session)
ssoGetRemoteLogonURL in interface SSOInterfacepublic void ssoCheckUserDetails(JsonSessionState session)
ssoCheckUserDetails in interface SSOInterfacepublic List<String> getRolesList(JsonSessionState session)
getRolesList in interface SSOInterfaceCopyright © 2009-2015. All Rights Reserved.