Package com.hazelcast.config.security
Class AbstractClusterLoginConfig<T extends AbstractClusterLoginConfig<T>>
- java.lang.Object
-
- com.hazelcast.config.security.AbstractClusterLoginConfig<T>
-
- Type Parameters:
T
- self type used in the fluent API
- All Implemented Interfaces:
AuthenticationConfig
- Direct Known Subclasses:
KerberosAuthenticationConfig
,LdapAuthenticationConfig
,SimpleAuthenticationConfig
,TlsAuthenticationConfig
public abstract class AbstractClusterLoginConfig<T extends AbstractClusterLoginConfig<T>> extends java.lang.Object implements AuthenticationConfig
Common configuration shared by authentication modules provided out-of-the box in Hazelcast.
-
-
Constructor Summary
Constructors Constructor Description AbstractClusterLoginConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Boolean
getSkipEndpoint()
java.lang.Boolean
getSkipIdentity()
java.lang.Boolean
getSkipRole()
int
hashCode()
protected java.util.Properties
initLoginModuleProperties()
protected abstract T
self()
protected void
setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.Enum<?> value)
protected void
setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.Object value)
protected void
setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.String value)
T
setSkipEndpoint(java.lang.Boolean skipEndpoint)
Allows skipping address assignment of authenticated user/service.T
setSkipIdentity(java.lang.Boolean skipIdentity)
Allows skipping identity (name) assignment during the authentication.T
setSkipRole(java.lang.Boolean skipRole)
Allows skipping role assignment during authentication.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hazelcast.config.security.AuthenticationConfig
asLoginModuleConfigs
-
-
-
-
Method Detail
-
getSkipIdentity
public java.lang.Boolean getSkipIdentity()
-
setSkipIdentity
public T setSkipIdentity(java.lang.Boolean skipIdentity)
Allows skipping identity (name) assignment during the authentication.
-
getSkipEndpoint
public java.lang.Boolean getSkipEndpoint()
-
setSkipEndpoint
public T setSkipEndpoint(java.lang.Boolean skipEndpoint)
Allows skipping address assignment of authenticated user/service.
-
getSkipRole
public java.lang.Boolean getSkipRole()
-
setSkipRole
public T setSkipRole(java.lang.Boolean skipRole)
Allows skipping role assignment during authentication. Setting this value totrue
might speed-up authentication between cluster members (member-to-member). The roles only need to be assigned in client-to-member authentications.
-
initLoginModuleProperties
protected java.util.Properties initLoginModuleProperties()
-
setIfConfigured
protected void setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.String value)
-
setIfConfigured
protected void setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.Object value)
-
setIfConfigured
protected void setIfConfigured(java.util.Properties props, java.lang.String propertyName, java.lang.Enum<?> value)
-
self
protected abstract T self()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-