|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CustomRegistry interface provides an API that supports the following registry entry types:
Implementation of this interface must provide implementations for:
Method Summary | |
---|---|
java.lang.String |
checkPassword(java.lang.String userId,
java.lang.String password)
Deprecated. As of WAS 5.0, replaced by UserRegistry checkPassword(String, String). |
java.lang.String |
getGroupDisplayName(java.lang.String groupName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getGroupDisplayName(String). |
java.util.List |
getGroups()
Deprecated. As of WAS 5.0, replaced by UserRegistry getGroups(String, int). |
java.util.List |
getGroups(java.lang.String pattern)
Deprecated. As of WAS 5.0, replaced by UserRegistry getGroups(String, int). |
java.lang.String |
getGroupSecurityName(java.lang.String uniqueGroupId)
Deprecated. As of WAS 5.0, replaced by UserRegistry getGroupSecurityName(String). |
java.util.List |
getGroupsForUser(java.lang.String userName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getGroupsForUser(String). |
java.lang.String |
getRealm()
Deprecated. As of WAS 5.0, replaced by UserRegistry getRealm(). |
java.lang.String |
getUniqueGroupId(java.lang.String groupName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUniqueGroupId(String). |
java.util.List |
getUniqueGroupIds(java.lang.String uniqueUserId)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUniqueGroupIds(String). |
java.lang.String |
getUniqueUserId(java.lang.String userName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUniqueUserId(String). |
java.util.List |
getUniqueUserIds(java.lang.String uniqueGroupId)
Deprecated. As of WAS 5.0, UserRegistry has no corresponding function. |
java.lang.String |
getUserDisplayName(java.lang.String userName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUserDisplayName(String). |
java.util.List |
getUsers()
Deprecated. As of WAS 5.0, replaced by UserRegistry getUsers(String, int). |
java.util.List |
getUsers(java.lang.String pattern)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUsers(String, int). |
java.lang.String |
getUserSecurityName(java.lang.String uniqueUserId)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUserSecurityName(String). |
java.util.List |
getUsersForGroup(java.lang.String groupName)
Deprecated. As of WAS 5.0, replaced by UserRegistry getUsersForGroup(String, int). |
void |
initialize(java.util.Properties props)
Deprecated. As of WAS 5.0, replaced by UserRegistry initialize(java.util.Properties). |
boolean |
isValidGroup(java.lang.String groupName)
Deprecated. As of WAS 5.0, replaced by UserRegistry isValidGroup(String). |
boolean |
isValidUser(java.lang.String userName)
Deprecated. As of WAS 5.0, replaced by UserRegistry isValidUser(String). |
java.lang.String |
mapCertificate(java.security.cert.X509Certificate cert)
Deprecated. As of WAS 5.0, replaced by UserRegistry mapCertificate(X509Certificate[]). |
Method Detail |
public void initialize(java.util.Properties props) throws CustomRegistryException
props
- the registry-specific properties with which to initialize the
registry object.CustomRegistryException
- if there is any problem.public java.lang.String checkPassword(java.lang.String userId, java.lang.String password) throws PasswordCheckFailedException, CustomRegistryException
userId
- the username whose password needs to be checked.password
- the password of the userId.CheckPasswordFailedException
- if userId/password
combination does not exist in the registry.CustomRegistryException
- if there is any other problem.public java.lang.String mapCertificate(java.security.cert.X509Certificate cert) throws CertificateMapNotSupportedException, CertificateMapFailedException, CustomRegistryException
cert
- the certificate that needs to be mapped.CertificateMapNotSupportedException
- if the particular
certificate is not supported.CertificateMapFailedException
- if the mapping of the
certificate fails.CustomRegistryException
- if there is any other problem.public java.lang.String getRealm() throws CustomRegistryException
CustomRegistryException
- if there is any problem.public java.util.List getUsers() throws CustomRegistryException
CustomRegistryException
- if there is any problem.public java.util.List getUsers(java.lang.String pattern) throws CustomRegistryException
pattern
- the pattern to match. (For e.g., a* will match all
userNames starting with a)CustomRegistryException
- if there is any problem.public java.util.List getUsersForGroup(java.lang.String groupName) throws EntryNotFoundException, CustomRegistryException
groupName
- the name of the group.EntryNotFoundException
- if groupName does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getUserDisplayName(java.lang.String userName) throws EntryNotFoundException, CustomRegistryException
userName
- the name of the user.EntryNotFoundException
- if userName does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getUniqueUserId(java.lang.String userName) throws EntryNotFoundException, CustomRegistryException
userName
- the name of the user.EntryNotFoundException
- if userName does not exist.CustomRegistryException
- if there is any other problem.public java.util.List getUniqueUserIds(java.lang.String uniqueGroupId) throws EntryNotFoundException, CustomRegistryException
uniqueGroupId
- the uniqueId of the group.EntryNotFoundException
- if uniqueGroupId does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getUserSecurityName(java.lang.String uniqueUserId) throws EntryNotFoundException, CustomRegistryException
uniqueUserId
- the UniqueId of the user.EntryNotFoundException
- if the uniqueUserId does not exist.CustomRegistryException
- if there is any other problem.public boolean isValidUser(java.lang.String userName) throws CustomRegistryException
userName
- the name of the user.CustomRegistryException
- if there is any problem.public java.util.List getGroups() throws CustomRegistryException
CustomRegistryException
- if there is any problem.public java.util.List getGroups(java.lang.String pattern) throws CustomRegistryException
pattern
- the pattern to match.CustomRegistryException
- if there is any problem.public java.util.List getGroupsForUser(java.lang.String userName) throws EntryNotFoundException, CustomRegistryException
userName
- the username of the user.EntryNotFoundException
- if userName does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getGroupDisplayName(java.lang.String groupName) throws EntryNotFoundException, CustomRegistryException
groupName
- the name of the group.EntryNotFoundException
- if the groupName does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getUniqueGroupId(java.lang.String groupName) throws EntryNotFoundException, CustomRegistryException
groupName
- the name of the group.EntryNotFoundException
- if groupName does not exist.CustomRegistryException
- if there is any other problem.public java.util.List getUniqueGroupIds(java.lang.String uniqueUserId) throws EntryNotFoundException, CustomRegistryException
uniqueUserId
- the uniqueId of the user.EntryNotFoundException
- if uniqueUserId does not exist.CustomRegistryException
- if there is any other problem.public java.lang.String getGroupSecurityName(java.lang.String uniqueGroupId) throws EntryNotFoundException, CustomRegistryException
uniqueGroupId
- the UniqueId of the group.EntryNotFoundException
- if the uniqueGroupId does not exist.CustomRegistryException
- if there is any other problem.public boolean isValidGroup(java.lang.String groupName) throws CustomRegistryException
groupName
- the name of the group.CustomRegistryException
- if there is any problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |