|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.idm.provisioning.configuration.Configuration
public class Configuration
This class provides access to the provisioning configuration information. An object of this classs gets
Ex.
......
Configuration cfg = new Configuration ("us");
....
// Retrieve all enabled applications
Vector apps = cfg.getAllApplications();
| Constructor Summary | |
|---|---|
Configuration(java.lang.String realmName)Constructor to create a configuration object for a given realm. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getAllApplications(javax.naming.ldap.LdapContext lCtx)Get all enabled applications configured for this realm. |
java.util.Vector |
getAllApplications(javax.naming.ldap.LdapContext ctx, boolean force)Get all enabled applications configured for this realm. |
ConfigAttribute[] |
getAllBaseAttrConfig(javax.naming.ldap.LdapContext lCtx)Gets the configuration information pertaining to the "Base User" attributes. |
Application |
getApplication(javax.naming.ldap.LdapContext ctx, java.lang.String subType)Get the applications in the Given Directory |
Application |
getApplication(javax.naming.ldap.LdapContext ctx, java.lang.String appType, java.lang.String appName)Get a specific application configured for this realm using the given Ldap Context. |
java.util.Vector |
getInstalledApplications(javax.naming.ldap.LdapContext ctx)Gets all the registered applications in the infra structure. |
java.lang.String |
getRealmDN()Gets the Realm DN |
java.lang.String |
getRealmName()Gets the Realm Name. |
Subscriber |
getSubscriber(javax.naming.ldap.LdapContext lCtx)Gets the Subscriber object. |
java.util.List |
getUserSearchableAttributes(javax.naming.ldap.LdapContext ctx, java.util.Locale lc) |
static void |
main(java.lang.String[] args)Test Driver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configuration(java.lang.String realmName)
realmName - Realm Name . Ex "us" or "acme"| Method Detail |
|---|
public Subscriber getSubscriber(javax.naming.ldap.LdapContext lCtx)
throws java.lang.Exception
Subscriber object. The realm name specified during this object creation will be usedlCtx - reference to valid a Ldap Contextjava.lang.Exception
public java.util.Vector getInstalledApplications(javax.naming.ldap.LdapContext ctx)
throws java.lang.Exception
ctx - reference to a valid Ldap Contextjava.lang.Exception
public java.util.Vector getAllApplications(javax.naming.ldap.LdapContext lCtx)
throws java.lang.Exception
getInstalledApplications(LdapContext) but returns only the enabled applicationslCtx - reference to a valid Ldap ContextApplication object.java.lang.ExceptiongetInstalledApplications(LdapContext), getAllApplications(LdapContext, boolean)
public java.util.Vector getAllApplications(javax.naming.ldap.LdapContext ctx,
boolean force)
throws java.lang.Exception
getInstalledApplications(LdapContext) but returns only the enabled applicationsctx - reference to a valid Ldap Contextforce - true - read afresh into the cacheApplication object.java.lang.ExceptiongetInstalledApplications(LdapContext), getAllApplications(LdapContext)
public Application getApplication(javax.naming.ldap.LdapContext ctx,
java.lang.String appType,
java.lang.String appName)
throws java.lang.Exception
ctx - reference to a valid Ldap ContextappType - application typeappName - application namejava.lang.ExceptiongetInstalledApplications(LdapContext), getAllApplications(LdapContext)
public Application getApplication(javax.naming.ldap.LdapContext ctx,
java.lang.String subType)
throws java.lang.Exception
LDAPContext - Context to read the Directoryjava.lang.Exception
public ConfigAttribute[] getAllBaseAttrConfig(javax.naming.ldap.LdapContext lCtx)
throws java.lang.Exception
lCtx - reference to a valid Ldap Contextjava.lang.Exceptionpublic java.lang.String getRealmName()
public java.lang.String getRealmDN()
public java.util.List getUserSearchableAttributes(javax.naming.ldap.LdapContext ctx,
java.util.Locale lc)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||