in geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/impl/ConfigProviderImpl.java [223:230]
static ServerAuthContext newServerAuthContext(ServerAuthContextType serverAuthContextType, CallbackHandler callbackHandler) throws AuthException {
List<ServerAuthModule> serverAuthModules = new ArrayList<ServerAuthModule>();
for (AuthModuleType<ServerAuthModule> serverAuthModuleType: serverAuthContextType.getServerAuthModule()) {
ServerAuthModule instance = newAuthModule(serverAuthModuleType, callbackHandler);
serverAuthModules.add(instance);
}
return new ServerAuthContextImpl(serverAuthModules);
}