public class JaasConfiguration extends Configuration
Configuration.Parameters| Constructor and Description | 
|---|
| JaasConfiguration(String entryName,
                 String principal,
                 String keytab)Add an entry to the jaas configuration with the passed in name,
 principal, and keytab. | 
| Modifier and Type | Method and Description | 
|---|---|
| AppConfigurationEntry[] | getAppConfigurationEntry(String name) | 
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, refresh, setConfigurationpublic JaasConfiguration(String entryName, String principal, String keytab)
entryName - The name of the entry (e.g. "Client")principal - The principal of the userkeytab - The location of the keytabpublic AppConfigurationEntry[] getAppConfigurationEntry(String name)
getAppConfigurationEntry in class ConfigurationCopyright © 2008–2023 Apache Software Foundation. All rights reserved.