Package com.avanza.astrix.gs.security
Interface GsSecurityProvider
-
- All Known Implementing Classes:
DefaultGsSecurityProvider
public interface GsSecurityProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceGsSecurityProvider.GsServerAuthenticator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.gigaspaces.security.directory.CredentialsProvidergetGsClientCredentialsProvider(String spaceName)Provides client credentials when making connections to a secured GigaSpaces space.GsSecurityProvider.GsServerAuthenticatorgetGsServerAuthenticator()Provides a server-side authentication validator for credentials that the server has received.
-
-
-
Method Detail
-
getGsClientCredentialsProvider
com.gigaspaces.security.directory.CredentialsProvider getGsClientCredentialsProvider(String spaceName)
Provides client credentials when making connections to a secured GigaSpaces space. This method will be invoked when a new connection is being established to a remote space. If the space does not require authentication, this method will not be called.- Parameters:
spaceName- the name of the space that a client intends to connect to- Returns:
CredentialsProvider
-
getGsServerAuthenticator
GsSecurityProvider.GsServerAuthenticator getGsServerAuthenticator()
Provides a server-side authentication validator for credentials that the server has received. This method will be invoked when the GigaSpaces component is starting up (when the service is starting), regardless of whether security is enabled or not. However, the methods onGsSecurityProvider.GsServerAuthenticatorwill only be invoked for secured spaces when the server has received client credentials.
-
-