|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.dmsapi.SmDmsApiImpl
public class SmDmsApiImpl
This is the implementation class of the interface SmDmsApi. Use this
class as the starting point for the Delegated Management API. For background information about Delegated
Management, see the Programming Guide for Java.
This class lets you determine how you want to access the information in the
SmDmsDirectory object.
You can do so by providing either of two kinds of information:
getDirectoryContext().
getDmsContext().
SmApiSession object.
| Field Summary |
|---|
| Fields inherited from interface com.netegrity.sdk.dmsapi.SmDmsApi |
|---|
SMDMSAPI_VERSION_20 |
| Constructor Summary | |
|---|---|
SmDmsApiImpl(SmApiSession apiSession)
Creates an SmDmsApiImpl object with a
valid session (SmApiSession). |
|
SmDmsApiImpl(SmApiSession apiSession,
int version)
Creates an SmDmsApiImpl object with a
valid session (SmApiSession) and a specified
DMS API version compliance level. |
|
| Method Summary | |
|---|---|
SmApiResult |
getDirectoryContext(SmUserDirectory userDirectory,
SmDmsConfig dmsConfig,
SmDmsDirectoryContext dirContext)
Creates a new user directory context. |
SmApiResult |
getDmsContext(SmRealm realm,
SmDmsConfig dmsConfig,
SmDmsContext dmsContext)
Creates a new DMS context. |
SmApiResult |
getDmsContextNoAdminCheck(SmRealm realm,
SmDmsConfig dmsConfig,
SmDmsContext dmsContext)
|
int |
getVersion()
Gets the DMS API version compliance level. |
void |
setApiSession(SmApiSession apiSession)
Sets the API session object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmDmsApiImpl(SmApiSession apiSession)
Creates an SmDmsApiImpl object with a
valid session (SmApiSession).
SMDMSAPI_VERSION_20.
apiSession - Valid SiteMinder API session object.
public SmDmsApiImpl(SmApiSession apiSession,
int version)
Creates an SmDmsApiImpl object with a
valid session (SmApiSession) and a specified
DMS API version compliance level.
apiSession - Valid SiteMinder API session object.version - The client's DMS API version compliance level.
Valid DMS API compliance level constants are defined in
the SmDmsApi interface. These constants are
prefixed with SMDMSAPI_VERSION_.| Method Detail |
|---|
public void setApiSession(SmApiSession apiSession)
Sets the API session object.
apiSession - Valid SiteMinder API session object.
public SmApiResult getDmsContext(SmRealm realm,
SmDmsConfig dmsConfig,
SmDmsContext dmsContext)
throws SmApiException
Creates a new DMS context.
To create a new DMS context, you need to know the realm object identifier.
getDmsContext in interface SmDmsApirealm - The registration realm with a valid object identifier.dmsConfig - DMS configuration object.dmsContext - DMS context object that will be filled by this method.
SmApiException
public SmApiResult getDmsContextNoAdminCheck(SmRealm realm,
SmDmsConfig dmsConfig,
SmDmsContext dmsContext)
throws SmApiException
getDmsContextNoAdminCheck in interface SmDmsApiSmApiException
public SmApiResult getDirectoryContext(SmUserDirectory userDirectory,
SmDmsConfig dmsConfig,
SmDmsDirectoryContext dirContext)
throws SmApiException
Creates a new user directory context.
To create a directory context, you need to know the name or object identifier of the directory where you will be operating.
getDirectoryContext in interface SmDmsApiuserDirectory - User directory object with a valid name or object
identifier.dmsConfig - DMS configuration object.dirContext - Directory context object that will be filled by this method.
SmApiExceptionpublic int getVersion()
Gets the DMS API version compliance level.
getVersion in interface SmDmsApi
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||