Package org.jboss.portal.identity

Examples of org.jboss.portal.identity.IdentityServiceController


      {

         try
         {
            MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
            IdentityServiceController identityService = (IdentityServiceController)MBeanProxy.get(
               IdentityServiceController.class, new ObjectName("portal:service=Module,type=IdentityServiceController"), mbeanServer);

            eventBroadcaster = (IdentityEventBroadcaster)identityService.getIdentityContext().getObject(IdentityContext.TYPE_IDENTITY_EVENT_BROADCASTER);
         }
         catch (Exception e)
         {
            log.error("Failed to obtain IdentityEventBroadcaster. RoleUpdatedEvent won't be broadcasted");
         }
View Full Code Here

TOP

Related Classes of org.jboss.portal.identity.IdentityServiceController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.