};
//?? TODO is context.getPath() the context root?
String appContext = "server " + geronimoContext.getPath();
AuthConfigProvider authConfigProvider = authConfigFactory.getConfigProvider(MESSAGE_LAYER, appContext, listener);
ServerAuthConfig serverAuthConfig = null;
JaspicCallbackHandler callbackHandler = null;
if (authConfigProvider != null) {
callbackHandler = new JaspicCallbackHandler(loginService);
try {
serverAuthConfig = authConfigProvider.getServerAuthConfig(MESSAGE_LAYER, appContext, callbackHandler);
} catch (AuthException e) {
//TODO log exception? rethrow????
}