Class KerberosConfiguration


  • public class KerberosConfiguration
    extends Configuration
    This class KerberosConfiguration represents Kerberos Configuration for web service clients and web service providers.
    • Constructor Detail

      • KerberosConfiguration

        public KerberosConfiguration​(Configuration config)
        Constructor
        Parameters:
        config -
    • Method Detail

      • setPrincipalName

        public void setPrincipalName​(String principalName)
        Sets principal name.
        Parameters:
        principalName -
      • setKeyTab

        public void setKeyTab​(String keytabFile)
        Sets key tab file.
        Parameters:
        keytabFile -
      • setRefreshConfig

        public void setRefreshConfig​(String refresh)
        Sets a boolean value to refresh the configuration.
        Parameters:
        refresh -
      • setTicketCacheDir

        public void setTicketCacheDir​(String dirName)
        Sets kerberos ticket cache dir. Typically this is users home directory where the user's kerberos ticket is stored.
        Parameters:
        dirName - the dierectory where the ticket cache is stored.
      • getAppConfigurationEntry

        public AppConfigurationEntry[] getAppConfigurationEntry​(String appName)
        Returns AppConfigurationEntry array for the application using Kerberos module.
        Specified by:
        getAppConfigurationEntry in class Configuration
        Parameters:
        appName - the configuration name.
        Returns:
        Array of AppConfigurationEntry