MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
AuthenticationService authService = (AuthenticationService)
MBeanProxy.get(AuthenticationService.class,new ObjectName("portal:service=Module,type=CASAuthenticationService"),mbeanServer);
//Perform this operation in the context of a UserTransaction
status = authService.authenticate(username, password);
return status;
}
catch(Exception e)
{