public interface SecuredService
Modifier and Type | Method and Description |
---|---|
boolean |
isServiceSecured()
If a security model is defined will return
true . |
SecurityContext |
login(CredentialsProvider credentialsProvider)
Login to a secured service using the provided
credentialsProvider . |
boolean isServiceSecured() throws RemoteException
true
.true
if secured; false
otherwise.RemoteException
- communication-related exceptions that may occur during the execution
of a remote method call.SecurityContext login(CredentialsProvider credentialsProvider) throws SecurityException, RemoteException
credentialsProvider
.credentialsProvider
- provides credentials to be used for authentication.RemoteException
- communication-related exceptions that may occur during the
execution of a remote method call.SecurityException
- if authentication failed for any reason.Copyright © GigaSpaces.