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 Type
    Method
    Description
    boolean
    If a security model is defined will return true.
    login(CredentialsProvider credentialsProvider)
    Login to a secured service using the provided credentialsProvider.
  • Method Details

    • isServiceSecured

      boolean isServiceSecured() throws RemoteException
      If a security model is defined will return true.
      Returns:
      true if secured; false otherwise.
      Throws:
      RemoteException - communication-related exceptions that may occur during the execution of a remote method call.
    • login

      Login to a secured service using the provided credentialsProvider.
      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.