|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.security.Registry
public class Registry
The Registry class is used by the Server API to parse the User Registry file and hold all the user identities with their corresponding permissions. After initialization of the Registry the Identites are accessed through the getIdentity(String aUserID) method. From TDI 7.0 this method also returns Identities for userIDs which are members of groups specified in the registry.
Constructor Summary | |
---|---|
Registry()
|
Method Summary | |
---|---|
Identity |
getIdentity(java.lang.String aUserID)
The method searches for Identities with userId corresponding to the supplied parameter. |
void |
initialize(java.lang.String aRegistryFileName,
RS.ConfigInstanceNamingPolicy configInstanceNamingPolicy)
Parses the User Registry file and creates a vector with all Identities found in it with their corresponding permissions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Registry()
Method Detail |
---|
public void initialize(java.lang.String aRegistryFileName, RS.ConfigInstanceNamingPolicy configInstanceNamingPolicy) throws DIException
aRegistryFileName
- the full path to the user registry file nameconfigInstanceNamingPolicy
- this policy is used when parsing the tags that define which
configurations the user is authorized access to
DIException
- if an Exception occurs during the reading, decrypting or
parsing the filepublic Identity getIdentity(java.lang.String aUserID)
aUserID
- String object containing the authenticating user or the user
and the users' groups each one separated by ";" by the others.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |