|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.portal.sso.OpenID
public class OpenID
Fascinator and OpenID integration.
| Constructor Summary | |
|---|---|
OpenID()
|
|
| Method Summary | |
|---|---|
String |
getId()
Return the OpenID 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. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenID()
| Method Detail |
|---|
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 User getUserObject(JsonSessionState session)
getUserObject in interface SSOInterfacepublic void logout(JsonSessionState session)
logout in interface SSOInterface
public void ssoInit(JsonSessionState session,
javax.servlet.http.HttpServletRequest request)
throws Exception
ssoInit in interface SSOInterfacesession - The server session datarequest - The incoming servlet request
Exception - if any errors occur
public 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 domain
Exception - 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 SSOInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||