org.apache.jetspeed.services
Class JetspeedUserManagement

java.lang.Object
  extended byorg.apache.jetspeed.services.JetspeedUserManagement

public abstract class JetspeedUserManagement
extends java.lang.Object

Static accessor for the PortalAccessController service

Version:
$Id: JetspeedUserManagement.java,v 1.4 2004/02/23 04:00:57 jford Exp $
Author:
David Sean Taylor

Constructor Summary
JetspeedUserManagement()
           
 
Method Summary
static void addUser(JetspeedUser user)
           
static void changePassword(JetspeedUser user, java.lang.String oldPassword, java.lang.String newPassword)
           
static java.lang.String encryptPassword(java.lang.String password)
           
static void forcePassword(JetspeedUser user, java.lang.String password)
           
protected static UserManagement getService()
           
static JetspeedUser getUser(java.security.Principal principal)
           
static java.util.Iterator getUsers()
           
static java.util.Iterator getUsers(java.lang.String filter)
           
static void removeUser(java.security.Principal principal)
           
static void saveUser(JetspeedUser user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedUserManagement

public JetspeedUserManagement()
Method Detail

getService

protected static UserManagement getService()

getUser

public static JetspeedUser getUser(java.security.Principal principal)
                            throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.getUser(java.security.Principal)

getUsers

public static java.util.Iterator getUsers()
                                   throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.getUsers()

getUsers

public static java.util.Iterator getUsers(java.lang.String filter)
                                   throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.getUsers()

saveUser

public static void saveUser(JetspeedUser user)
                     throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.saveUser(org.apache.jetspeed.om.security.JetspeedUser)

addUser

public static void addUser(JetspeedUser user)
                    throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.addUser(org.apache.jetspeed.om.security.JetspeedUser)

removeUser

public static void removeUser(java.security.Principal principal)
                       throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
UserManagement.removeUser(java.security.Principal)

changePassword

public static void changePassword(JetspeedUser user,
                                  java.lang.String oldPassword,
                                  java.lang.String newPassword)
                           throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
CredentialsManagement.changePassword(org.apache.jetspeed.om.security.JetspeedUser, java.lang.String, java.lang.String)

forcePassword

public static void forcePassword(JetspeedUser user,
                                 java.lang.String password)
                          throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
CredentialsManagement.forcePassword(org.apache.jetspeed.om.security.JetspeedUser, java.lang.String)

encryptPassword

public static java.lang.String encryptPassword(java.lang.String password)
                                        throws JetspeedSecurityException
Throws:
JetspeedSecurityException
See Also:
CredentialsManagement.encryptPassword(java.lang.String)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.