portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongkunan (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-1062) how manage jetspeed2 add user and userattributes by extends project
Date Thu, 10 Sep 2009 09:54:57 GMT
how manage  jetspeed2 add user and userattributes by extends project

                 Key: JS2-1062
                 URL: https://issues.apache.org/jira/browse/JS2-1062
             Project: Jetspeed 2
          Issue Type: Improvement
    Affects Versions: 2.2.0
         Environment: Version: jetspeed2.2.0
            Reporter: hongkunan

how can i add user and userattributes by extends project?

i can add user's id,i can't add user's other attributes,who can help me? thanks!

UserManager userManager=(UserManager)Jetspeed.getComponentManager().getComponent("org.apache.jetspeed.security.UserManager");

public boolean createUser(UserDTO user) throws ServiceException {
			throw new ServiceException("USER IS NULL...");
		boolean flag=false;
		User entity;
		try {
			entity = userManager.addUser(user.getUid());
		} catch (SecurityException e) {
			// TODO Auto-generated catch block
		return flag;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message