public class UserHandler
extends java.lang.Object
Constructor and Description |
---|
UserHandler(PdkWsCommon handler) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(PdkMethodContext ctx) |
User |
changeUser(java.lang.String targetUser,
java.lang.String newUserName,
java.lang.String newPwd,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String organization)
Ændring af bruger-account med tilhørende person oplysninger
|
User |
createUser(java.lang.String targetUser,
java.lang.String targetPwd,
int areaNodeId,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String organization)
Tilføj ny bruger-account med tilhørende person oplysninger
|
User |
deleteUser(java.lang.String targetUser)
Nedlæg bruger-account og evt.
|
User |
getExistingUser(java.lang.String userName)
Indlæs en eksisterende bruger eksklusiv dennes person-oplysninger.
|
User |
getUser(int userID)
Indlæs en eksisterende bruger eksklusiv dennes person-oplysninger.
|
User |
getUser(java.lang.String userName,
java.lang.String password)
Indlæs en eksisterende bruger eksklusiv dennes person-oplysninger.
|
User |
getUserByPersonId(int personID)
Indlæs en eksisterende bruger eksklusiv dennes person-oplysninger.
|
User |
setUserPassword(java.lang.String targetUser,
java.lang.String targetPassword)
Skift password for en anden bruger
|
public UserHandler(PdkWsCommon handler)
public void authenticate(PdkMethodContext ctx) throws java.lang.Exception
java.lang.Exception
public User createUser(java.lang.String targetUser, java.lang.String targetPwd, int areaNodeId, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String organization) throws java.lang.Exception
java.lang.Exception
public User changeUser(java.lang.String targetUser, java.lang.String newUserName, java.lang.String newPwd, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String organization) throws java.lang.Exception
java.lang.Exception
public User deleteUser(java.lang.String targetUser) throws java.sql.SQLException, java.lang.Exception
java.sql.SQLException
java.lang.Exception
public User setUserPassword(java.lang.String targetUser, java.lang.String targetPassword) throws java.sql.SQLException, java.lang.Exception
java.sql.SQLException
java.lang.Exception
public User getExistingUser(java.lang.String userName) throws java.lang.Exception
java.lang.Exception
public User getUser(java.lang.String userName, java.lang.String password) throws java.lang.Exception
java.lang.Exception
public User getUser(int userID) throws java.lang.Exception
java.lang.Exception
public User getUserByPersonId(int personID) throws java.lang.Exception
java.lang.Exception