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
|
java.lang.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,
java.lang.String username,
java.lang.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.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.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.
|
java.lang.String |
ssoGetRemoteLogonURL(JsonSessionState session,
java.lang.String source)
Retrieve the login URL for redirection against a given provider.
|
java.lang.String |
ssoGetRemoteLogoutURL(JsonSessionState session,
java.lang.String source) |
java.lang.String |
ssoInit(JsonSessionState session)
Initialize the SSO Service, prepare a login if required
|
boolean |
testForSso(JsonSessionState session,
java.lang.String resource,
java.lang.String uri)
Given the provided resource, test whether SSO should be 'aware' of this
resource.
|
boolean |
testTrustToken(JsonSessionState session,
java.lang.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()
java.lang.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, java.lang.String username, java.lang.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 requestjava.lang.String ssoInit(JsonSessionState session) throws java.lang.Exception
session - The server session datajava.lang.Exception - if any errors occurjava.lang.String ssoGetRemoteLogonURL(JsonSessionState session, java.lang.String source)
String - The SSO source to usejava.lang.String ssoGetRemoteLogoutURL(JsonSessionState session, java.lang.String source)
boolean ssoCheckUserDetails(JsonSessionState session)
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> ssoBuildLogonInterface(JsonSessionState session)
boolean testForSso(JsonSessionState session, java.lang.String resource, java.lang.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, java.lang.String token)
token - : The token to validateCopyright © 2009-2019. All Rights Reserved.