@Override
public <T> T getConfiguration(Class<T> configClass) {
if (AuthenticationConfiguration.class == configClass) {
return (T) new OpenAuthenticationConfiguration();
} else if (AccessControlConfiguration.class == configClass) {
return (T) new OpenAccessControlConfiguration();
} else if (UserConfiguration.class == configClass) {
throw new UnsupportedOperationException();
} else if (PrincipalConfiguration.class == configClass) {
throw new UnsupportedOperationException();
} else if (PrivilegeConfiguration.class == configClass) {