// we treat this as an error and instead of throwing exception return false;
return null;
}
final Map<String,Property> props = adminFileAuthRealm.childrenMap(Property.class);
final Property keyfileProp = props.get("file");
if ( keyfileProp == null ) {
throw new IllegalStateException( "Cannot find property 'file'" );
}
//System.out.println( "############### keyFileProp: " + keyfileProp.getName() + " = " + keyfileProp.getValue() );
final String keyFile = keyfileProp.resolveAttribute( "Value" );
//System.out.println( "############### keyFile: " + keyfileProp.getValue() + " ===> " + keyFile);
if (keyFile == null) {
throw new IllegalStateException( "Cannot find key file" );
}