if ( cfg.isEnableKerberos() )
{
try
{
KdcConfiguration kdcConfiguration = new KdcConfiguration( env, LoadStrategy.PROPS );
PrincipalStore kdcStore = new JndiPrincipalStoreImpl( kdcConfiguration, this );
kdcServer = new KerberosServer( kdcConfiguration, minaRegistry, kdcStore );
}
catch ( Throwable t )
{