SiteMinder
Java SDK r12.51


com.netegrity.sdk.policyapi
Class SmImportAttr

java.lang.Object
  extended by com.netegrity.sdk.policyapi.SmImportAttr

public class SmImportAttr
extends java.lang.Object

This class provides set and get methods to write and read attributes required for policy data import using SmPolicyApi.doImport().


Constructor Summary
SmImportAttr()
          Default Constructor
 
Method Summary
 java.lang.String getFileName()
          Gets the .smdif file name.
 int getFlags()
          Gets the import flag settings.
 void set4xFileFormat()
          Sets a flag to indicate that the input file is in SiteMinder 4.x format.
 void setFileName(java.lang.String szFileName)
          Specifies the path and filename of the input .smdif file name.
 void setImportAgentKeys()
          Sets a flag to import Agent keys.
 void setImportVariables()
          Sets a flag to import variables only.
 void setIMSObjectsOnly()
          Sets a flag to import IdentityMinder objects only.
 void setOverWriteExistingDatabaseRecords()
          Sets a flag to allow overwriting of existing database records.
 void setRenameOff()
          Sets a flag to turn off automatic renaming of objects.
 void setSensitiveDataUnencrypted()
          Sets a flag to indicate that sensitive data will be imported unencrypted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmImportAttr

public SmImportAttr()
Default Constructor

Method Detail

setSensitiveDataUnencrypted

public void setSensitiveDataUnencrypted()

Sets a flag to indicate that sensitive data will be imported unencrypted.

Note: To use this flag, your tunnel connection must be established using the credentials of a SiteMinder administrator who can manage all SiteMinder domain objects.


setFileName

public void setFileName(java.lang.String szFileName)

Specifies the path and filename of the input .smdif file name.

The .cfg file, which contains additional configuration information, is also be read from the same location as the .smdif file.

This method is required.

Parameters:
szFileName - The .smdif file name.

setOverWriteExistingDatabaseRecords

public void setOverWriteExistingDatabaseRecords()
Sets a flag to allow overwriting of existing database records.


setImportAgentKeys

public void setImportAgentKeys()
Sets a flag to import Agent keys.


setIMSObjectsOnly

public void setIMSObjectsOnly()
Sets a flag to import IdentityMinder objects only.


setImportVariables

public void setImportVariables()
Sets a flag to import variables only.


setRenameOff

public void setRenameOff()

Sets a flag to turn off automatic renaming of objects.

By default, when importing an object with a name that already exists in the target policy store, doImport() creates a duplicate object with a name of , where is the name of the object, and is the object ID of the new duplicate object.

If you set this flag to turn off the automatic renaming feature, doImport() returns errors messages for any objects that could not be created because of naming conflicts.


set4xFileFormat

public void set4xFileFormat()
Sets a flag to indicate that the input file is in SiteMinder 4.x format.


getFlags

public int getFlags()
Gets the import flag settings.

Returns:
the import flag settings.

getFileName

public java.lang.String getFileName()
Gets the .smdif file name.

Returns:
the smdif file name.

SiteMinder
Java SDK r12.51

Mon 04/08/2013

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