Class KerberosIdentityAssertionPlugin

java.lang.Object
org.forgerock.openig.assertion.plugin.kerberos.KerberosIdentityAssertionPlugin
All Implemented Interfaces:
IdentityAssertionPlugin

public final class KerberosIdentityAssertionPlugin extends Object implements IdentityAssertionPlugin
Provides support for validating a user's Kerberos token, works as an IdentityAssertionPlugin for the IdentityAssertionHandler. Loosely based on the AM Kerberos Node code found in openam-auth-trees/auth-nodes/src/main/java/org/forgerock/openam/auth/nodes/KerberosNode.java.

NTLM (NT Lan Manager) tokens are not supported by this plugin.

For more context around the APIs used in this class:

 {
      "type": "KerberosIdentityAssertionPlugin",
      "config": {
          "serviceLogin"             : ref to ServiceLogin      [REQUIRED - The {@link ServiceLogin } implementation
                                                                            to use.]
          "trustedRealms"            : expression               [OPTIONAL - Specifies a list of trusted realms for the
                                                                            user Kerberos tickets. If a list of
                                                                            trusted realms are configured, then
                                                                            Kerberos tokens are only accepted if the
                                                                            realm part of the user principal, from the
                                                                            user’s Kerberos token, matches a trusted
                                                                            realm from the list. Defaults to an empty
                                                                            list and all realms being trusted.]
      }
    }
 
 
Example usage:
 {
         "type": "KerberosIdentityAssertionPlugin",
         "config": {
             "serviceLogin": "MyKeytabServiceLogin",
             "trustedKerberosRealms": ["EXAMPLE.COM"]
         }
     }