public interface PortalSecurityManager
| Modifier and Type | Method and Description |
|---|---|
com.googlecode.fascinator.api.access.AccessControlManager |
getAccessControlManager()
Return the Access Control Manager
|
com.googlecode.fascinator.api.authentication.AuthManager |
getAuthManager()
Return the Authentication Manager
|
com.googlecode.fascinator.api.roles.RolesManager |
getRoleManager()
Return the Role Manager
|
String[] |
getRolesList(JsonSessionState session,
com.googlecode.fascinator.api.authentication.User user)
Get the list of roles possessed by the current user.
|
com.googlecode.fascinator.api.authentication.User |
getUser(JsonSessionState session,
String username,
String source)
Retrieve the details of a user by username
|
void |
logout(JsonSessionState session,
com.googlecode.fascinator.api.authentication.User user)
Logout the provided user
|
boolean |
runSsoIntegration(JsonSessionState session,
FormData formData)
Wrapper method for other SSO methods provided by the security manager.
|
Map<String,Map<String,String>> |
ssoBuildLogonInterface(JsonSessionState session)
Build a Map of Maps of on-screen string values for each SSO provider.
|
boolean |
ssoCheckUserDetails(JsonSessionState session)
Get user details from SSO connection and set them in the user session.
|
String |
ssoGetRemoteLogonURL(JsonSessionState session,
String source)
Retrieve the login URL for redirection against a given provider.
|
String |
ssoGetRemoteLogoutURL(JsonSessionState session,
String source) |
String |
ssoInit(JsonSessionState session)
Initialize the SSO Service, prepare a login if required
|
boolean |
testForSso(JsonSessionState session,
String resource,
String uri)
Given the provided resource, test whether SSO should be 'aware' of this
resource.
|
boolean |
testTrustToken(JsonSessionState session,
String token)
Validate the provided trust token.
|
com.googlecode.fascinator.api.access.AccessControlManager getAccessControlManager()
com.googlecode.fascinator.api.authentication.AuthManager getAuthManager()
com.googlecode.fascinator.api.roles.RolesManager getRoleManager()
String[] getRolesList(JsonSessionState session, com.googlecode.fascinator.api.authentication.User user)
user - The user object of the current usercom.googlecode.fascinator.api.authentication.User getUser(JsonSessionState session, String username, String source) throws com.googlecode.fascinator.api.authentication.AuthenticationException
username - The username of a user to retrievesource - The authentication source if knowncom.googlecode.fascinator.api.authentication.AuthenticationException - if any errors occurvoid logout(JsonSessionState session, com.googlecode.fascinator.api.authentication.User user) throws com.googlecode.fascinator.api.authentication.AuthenticationException
com.googlecode.fascinator.api.authentication.AuthenticationExceptionboolean runSsoIntegration(JsonSessionState session, FormData formData)
session - : The session of the current requestformData - : FormData object for the current requestString ssoInit(JsonSessionState session) throws Exception
session - The server session dataException - if any errors occurString ssoGetRemoteLogonURL(JsonSessionState session, String source)
String - The SSO source to useString ssoGetRemoteLogoutURL(JsonSessionState session, String source)
boolean ssoCheckUserDetails(JsonSessionState session)
Map<String,Map<String,String>> ssoBuildLogonInterface(JsonSessionState session)
boolean testForSso(JsonSessionState session, String resource, String uri)
session - : The session for this requestresource - : The name of the resource being accesseduri - : The full URI of the resource if simple matches failboolean testTrustToken(JsonSessionState session, String token)
token - : The token to validateCopyright © 2009-2015. All Rights Reserved.