Class KerberosSettings


  • public class KerberosSettings
    extends Object
    Kerberos settings for the SPNEGO authentication flow.
    • Constructor Detail

      • KerberosSettings

        public KerberosSettings()
        Constructor.
    • Method Detail

      • setLoginModuleClassName

        public void setLoginModuleClassName​(@Nonnull @NotEmpty
                                            String name)
        Set the name of the JAAS LoginModule to use to acquire Kerberos credentials.
        Parameters:
        name - name of login module class
      • getLoginModuleClassName

        @Nonnull
        @NotEmpty
        public String getLoginModuleClassName()
        Return name of the JAAS LoginModule to use to acquire Kerberos credentials.
        Returns:
        name of login module class
      • setRefreshKrb5Config

        public void setRefreshKrb5Config​(boolean flag)
        Set whether to refresh the Kerberos configuration before running.
        Parameters:
        flag - flag to set
      • getRefreshKrb5Config

        public boolean getRefreshKrb5Config()
        Return whether to refresh the Kerberos configuration before running.
        Returns:
        true if Kerberos configuration is to be refreshed