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 Object implements AuthenticationConfig
Common configuration shared by authentication modules provided out-of-the box in Hazelcast.
  • Constructor Details

    • AbstractClusterLoginConfig

      public AbstractClusterLoginConfig()
  • Method Details

    • getSkipIdentity

      public Boolean getSkipIdentity()
    • setSkipIdentity

      public T setSkipIdentity(Boolean skipIdentity)
      Allows skipping identity (name) assignment during the authentication.
    • getSkipEndpoint

      public Boolean getSkipEndpoint()
    • setSkipEndpoint

      public T setSkipEndpoint(Boolean skipEndpoint)
      Allows skipping address assignment of authenticated user/service.
    • getSkipRole

      public Boolean getSkipRole()
    • setSkipRole

      public T setSkipRole(Boolean skipRole)
      Allows skipping role assignment during authentication. Setting this value to true might speed-up authentication between cluster members (member-to-member). The roles only need to be assigned in client-to-member authentications.
    • initLoginModuleProperties

      protected Properties initLoginModuleProperties()
    • setIfConfigured

      protected void setIfConfigured(Properties props, String propertyName, String value)
    • setIfConfigured

      protected void setIfConfigured(Properties props, String propertyName, Object value)
    • setIfConfigured

      protected void setIfConfigured(Properties props, String propertyName, Enum<?> value)
    • self

      protected abstract T self()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object