Package com.j_spaces.core.client
Class SpaceProxySecurityManager
java.lang.Object
com.j_spaces.core.client.SpaceProxySecurityManager
- All Implemented Interfaces:
IProxySecurityManager
Secured proxy manager implementation for a secured space using the new security model.
- Since:
- 7.0
- Author:
- Moran Avigdor
-
Field Summary
Fields inherited from interface com.j_spaces.core.client.IProxySecurityManager
SUPPORT_TRANSACTION_AUTHENTICATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAcquire context with the provided credentials without caching the result at the proxy.voidinitialize(CredentialsProvider credentialsProvider) login(CredentialsProvider credentialsProvider)
-
Constructor Details
-
SpaceProxySecurityManager
-
-
Method Details
-
getCredentialsProvider
- Specified by:
getCredentialsProviderin interfaceIProxySecurityManager
-
initialize
- Specified by:
initializein interfaceIProxySecurityManager
-
login
- Specified by:
loginin interfaceIProxySecurityManager- Throws:
RemoteException
-
acquireContext
- Specified by:
acquireContextin interfaceIProxySecurityManager- Throws:
RemoteException
-
acquireContext
Acquire context with the provided credentials without caching the result at the proxy. The usage resembles a session which needs to be passed explicitly on each remote API call.- Specified by:
acquireContextin interfaceIProxySecurityManager- Parameters:
rs- Remote Space proxycp- Credentials Provider- Returns:
- a Space Context holding a Security Context propagated after login with the credentials
- Throws:
RemoteException
-
getThreadSpaceContext
- Specified by:
getThreadSpaceContextin interfaceIProxySecurityManager
-
setThreadSpaceContext
- Specified by:
setThreadSpaceContextin interfaceIProxySecurityManager
-