Modifier and Type | Field and Description |
---|---|
protected AdminManager |
m_Main |
Constructor and Description |
---|
DirectoryServiceAdmin(AdminManager main)
The only constructor that is being used.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkUserExists(LibrarySession sess,
String credentialManagerName,
String distinguishedName)
check for existence of a user
|
protected void |
createUser(LibrarySession sess,
ParameterTable params)
Section variant of Create User
|
String |
createUser(LibrarySession sess,
String credentialManagerName,
String distinguishedName,
String password)
inline variant of Create User
Creates a new user entry in the underlying Directory Service.
|
protected void |
deleteUser(LibrarySession sess,
ParameterTable params)
Section variant of Create User
|
void |
deleteUser(LibrarySession sess,
String credentialManagerName,
String distinguishedName)
inline variant of Delete User
Deletes a user entry from the underlying Directory Service.
|
Vector |
listAllUserObjects(LibrarySession sess,
String credentialManagerName)
Lists all Distinguished names in the underlying Directory Service.
|
protected void |
showUser(LibrarySession sess,
ParameterTable params)
Section variant of showUser
|
void |
showUser(LibrarySession sess,
String credentialManagerName,
String distinguishedName)
inline variant of showUser
Check to see if user exists in underlying directory
store.
|
protected void |
showUsers(LibrarySession sess,
ParameterTable params)
Section variant of showUsers
|
void |
showUsers(LibrarySession sess,
String credentialManagerName)
Lists all Distinguished names in the underlying Directory Service.
|
protected void |
updatePassword(LibrarySession sess,
ParameterTable params)
Section variant of UpdatePassword User
|
void |
updatePassword(LibrarySession sess,
String credentialManagerName,
String distinguishedName,
String password)
inline variant of UpdatePassword
Updates a new user password entry in the underlying Directory Service.
|
void |
verifyUserExists(LibrarySession sess,
String credentialManager,
String distinguishedName)
verify user exists; else throw an exception
|
protected AdminManager m_Main
public DirectoryServiceAdmin(AdminManager main)
main
- Reference to AdminManager which invokes this.protected void createUser(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public String createUser(LibrarySession sess, String credentialManagerName, String distinguishedName, String password) throws IfsException
sess
- current sessioncredentialManagerName
- the name of the CredentialManagerdistinguishedName
- new user's logonpassword
- new user's passwordIfsException
- if operation fails.protected void deleteUser(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteUser(LibrarySession sess, String credentialManagerName, String distinguishedName) throws IfsException
sess
- current sessioncredentialManagerName
- the name of the CredentialManagerdistinguishedName
- new user's logonIfsException
- if operation fails.protected void updatePassword(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void updatePassword(LibrarySession sess, String credentialManagerName, String distinguishedName, String password) throws IfsException
sess
- current sessioncredentialManagerName
- the name of the CredentialManagerdistinguishedName
- new user's logonpassword
- new user's passwordIfsException
- if operation fails.protected void showUser(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showUser(LibrarySession sess, String credentialManagerName, String distinguishedName) throws IfsException
sess
- current sessioncredentialManagerName
- the name of the CredentialManagerdistinguishedName
- new user's logonIfsException
- if operation fails.public boolean checkUserExists(LibrarySession sess, String credentialManagerName, String distinguishedName) throws IfsException
IfsException
public void verifyUserExists(LibrarySession sess, String credentialManager, String distinguishedName) throws IfsException
IfsException
protected void showUsers(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showUsers(LibrarySession sess, String credentialManagerName) throws IfsException
sess
- current sessioncredentialManagerName
- the credential manager nameIfsException
- if operation fails.public Vector listAllUserObjects(LibrarySession sess, String credentialManagerName) throws IfsException
sess
- current sessioncredentialManagerName
- current sessionIfsException
- if operation fails.Copyright © 2023. All rights reserved.