ComponentManager manager)
throws ProcessingException {
AuthenticationManager authManager = null;
try {
authManager = (AuthenticationManager)manager.lookup(AuthenticationManager.ROLE);
Handler handler = authManager.getHandler();
this.name = contextName;
this.authContext = context;
this.handlerName = handlerName;
this.applicationName = applicationName;
this.authLoadResource = handler.getLoadResource();
this.authSaveResource = handler.getSaveResource();
this.authLoadResourceParameters = handler.getLoadResourceParameters();
this.authSaveResourceParameters = handler.getSaveResourceParameters();
if (this.applicationName != null) {
ApplicationHandler appHandler = (ApplicationHandler)handler.getApplications().get(this.applicationName);
this.loadResource = appHandler.getLoadResource();
this.saveResource = appHandler.getSaveResource();
this.loadResourceParameters = appHandler.getLoadResourceParameters();
this.saveResourceParameters = appHandler.getSaveResourceParameters();
}