|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSOInterface
An interface defining what methods SSO implementations should expose to The Fascinator. Modeled off (and valid for) OpenID and USQSSO.
| Method Summary | |
|---|---|
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. |
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 |
| Method Detail |
|---|
String getId()
String getLabel()
String getInterface(String ssoUrl)
ssoUrl - The basic ssoUrl for the server.
List<String> getRolesList(JsonSessionState session)
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 request
Exception - 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 domain
Exception - if any errors occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||