Package com.gigaspaces.security.service
Interface SecuredService
- All Known Subinterfaces:
IDirectSpaceProxy,ISpaceProxy
- All Known Implementing Classes:
AbstractDirectSpaceProxy,AbstractSpaceCacheContainer,AbstractSpaceProxy,LocalCacheContainer,LocalViewContainer,SpaceProxyImpl
public interface SecuredService
An interface indicating the service is secured.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf a security model is defined will returntrue.login(CredentialsProvider credentialsProvider) Login to a secured service using the providedcredentialsProvider.
-
Method Details
-
isServiceSecured
If a security model is defined will returntrue.- Returns:
trueif secured;falseotherwise.- Throws:
RemoteException- communication-related exceptions that may occur during the execution of a remote method call.
-
login
SecurityContext login(CredentialsProvider credentialsProvider) throws SecurityException, RemoteException Login to a secured service using the providedcredentialsProvider.- Parameters:
credentialsProvider- provides credentials to be used for authentication.- Throws:
RemoteException- communication-related exceptions that may occur during the execution of a remote method call.SecurityException- if authentication failed for any reason.
-