Class Krb5AuthzDataDumpingActiveDirectoryRealm

All Implemented Interfaces:
MBeanRegistration, Contained, JmxEnabled, Lifecycle, Realm

public class Krb5AuthzDataDumpingActiveDirectoryRealm extends ActiveDirectoryRealmBase
A realm which extracts and dumps Kerberos AuthorizationData and always returns a null. Use the CombinedRealm to authenticate against this one first and then against the actual one next.

This realm requires your JVM to provide an ExtendedGSSContext implementation. It will use InquireType.KRB5_GET_AUTHZ_DATA to extract AuthorizationData according to RFC 4120, section 5.2.6 from an established security context, dump to {catalina.base}/work/KRB5_AUTHZ_DATA/{gssName}/{yyyyMMdd'T'HHmmss.SSS}{#n?} and continue as described.

Note: Use this realm for testing/analysis purposes only along with the Krb5AuthzDataDumpPrinter.