Package org.jboss.portal.identity.sso

Examples of org.jboss.portal.identity.sso.AuthenticationService


        
         String username = credentials.getUsername();
         String password = credentials.getPassword();        
        
         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)
      {
View Full Code Here

TOP

Related Classes of org.jboss.portal.identity.sso.AuthenticationService

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.