Package org.apache.jetspeed.administration

Examples of org.apache.jetspeed.administration.PortalAdministration


        user = userManager.getUser(userName);
      }
        catch (SecurityException e)
        {
        System.out.println("user: " + userName + " not in j2 db");
        PortalAdministration portalAdministration = (PortalAdministration)cm.getComponent("PortalAdministration");
        try {
          List roles = roleManager.getRoles("user");
          List groups = groupManager.getGroups("");
          portalAdministration.registerUser(userName, portalAdministration.generatePassword());
         
        } catch (RegistrationException e1) {
          // TODO Auto-generated catch block
          System.out.println("user: " + userName + " not created");
        } catch (SecurityException e1) {
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.administration.PortalAdministration

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.