SiteMinder
Java SDK r12.0 SP2


com.netegrity.sdk.dmsapi
Interface SmDmsApi

All Known Implementing Classes:
SmDmsApiImpl

public interface SmDmsApi

Directory interfaces for the Delegated Mangement Services API.

Since:
SDK 2.0

Field Summary
static int SMDMSAPI_VERSION_20
          Client-supplied constant indicating that DMS operations should comply with version 2.0 of the DMS API.
 
Method Summary
 SmApiResult getDirectoryContext(SmUserDirectory userDir, SmDmsConfig dmsConfig, SmDmsDirectoryContext dirContext)
          Creates a new user directory context.
 SmApiResult getDmsContext(SmRealm realm, SmDmsConfig dmsConfig, SmDmsContext dmsContext)
          Creates a new DMS context.
 int getVersion()
          Gets the DMS API version compliance level.
 

Field Detail

SMDMSAPI_VERSION_20

public static final int SMDMSAPI_VERSION_20
Client-supplied constant indicating that DMS operations should comply with version 2.0 of the DMS API.

See Also:
Constant Field Values
Method Detail

getDmsContext

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.

Parameters:
realm - The registration realm with a valid object identifier.
dmsConfig - DMS configuration object.
dmsContext - DMS context object that will be filled by this method.
Returns:
SmApiResult The result of the API request.
Throws:
SmApiException

getDirectoryContext

public SmApiResult getDirectoryContext(SmUserDirectory userDir,
                                       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.

Parameters:
userDir - User directory object with a valid name or object identifier.
dmsConfig - DMS configuration object.
dirContext - Directory context object that will be filled by this function.
Returns:
SmApiResult The result of the API request.
Throws:
SmApiException

getVersion

public int getVersion()

Gets the DMS API version compliance level.

Returns:
The DMS API version compliance level.

SiteMinder
Java SDK r12.0 SP2

Fri 11/06/2009

http://ca.com
Copyright (c) 2009 CA.