Package eu.planets_project.ifr.core.security.api.services

Examples of eu.planets_project.ifr.core.security.api.services.RoleManager$RoleNotFoundException


   * @return A UserManager, as discovered via JNDI.
   */
  public static RoleManager getPlanetsRoleManager() {
    try{
      Context jndiContext = new javax.naming.InitialContext();
      RoleManager rm = (RoleManager) PortableRemoteObject.narrow(
          jndiContext.lookup("planets-project.eu/RoleManager/remote"), RoleManager.class);
      return rm;
    }catch (NamingException e) {
      log.severe("Failure during lookup of the UserManager PortableRemoteObject: "+e.toString());
      return null;
View Full Code Here

TOP

Related Classes of eu.planets_project.ifr.core.security.api.services.RoleManager$RoleNotFoundException

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.