Class KerberosAuthenticator
java.lang.Object
org.mule.extension.kerberos.internal.auth.KerberosAuthenticator
Kerberos authenticator using JAAS. This is a static utility class that relies on system krb5.conf for realm configuration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectauthenticateWithKeytab(String principal, String keytabPath, String realm) Authenticates with a keytab file.static SubjectauthenticateWithTicketCache(String principal, String realm, String ticketCachePath) Authenticates using the ticket cache.
-
Method Details
-
authenticateWithKeytab
public static Subject authenticateWithKeytab(String principal, String keytabPath, String realm) throws LoginException Authenticates with a keytab file.- Throws:
LoginException
-
authenticateWithTicketCache
public static Subject authenticateWithTicketCache(String principal, String realm, String ticketCachePath) throws LoginException Authenticates using the ticket cache.- Throws:
LoginException
-