com.waveset.adapter
Class SiteminderUtil

java.lang.Object
  extended bycom.waveset.adapter.SiteminderUtil

public class SiteminderUtil
extends java.lang.Object


Field Summary
protected  com.netegrity.sdk.policyapi.SmPolicyApi _policyapi
           
protected  com.netegrity.sdk.apiutil.SmApiSession _session
           
protected static Trace _trace
           
static java.lang.String code_id
           
static java.lang.String DISABLE_ACTION
           
static java.lang.String ENABLE_ACTION
           
static java.lang.String EXPIRE_PWD
           
static java.lang.String PWD_EXP_DISABLE_FLAG
           
static java.lang.String PWD_EXP_ENABLE_FLAG
           
static java.lang.String PWD_EXPIRE_ACTION
           
static java.lang.String PWD_UNEXP_DISABLE_FLAG
           
static java.lang.String PWD_UNEXP_ENABLE_FLAG
           
static java.lang.String PWD_UNEXPIRE_ACTION
           
static java.lang.String RA_ACCOUNTING_PORT
          Resource attribute name for the SM Authorization server port.
static java.lang.String RA_AUTHENT_PORT
          Resource attribute name for the SM Authentication server port.
static java.lang.String RA_AUTHOR_PORT
          Resource attribute name for the SM Authorization server port.
static java.lang.String RA_CONMAX
          Resource attribute name for the SM Connection Max.
static java.lang.String RA_CONMIN
          Resource attribute name for the SM Connection Min.
static java.lang.String RA_CONSTEP
          Resource attribute name for the SM Connection Step.
static java.lang.String RA_CUSTOM_AGENT
          Resource attribute name for the SM Authorization server port.
static java.lang.String RA_CUSTOM_AGENT_SHARED_SECRET
          Resource attribute name for the SM Authentication server port.
static java.lang.String RA_POL_SERVER
          Resource attribute name for SM policy server ip.
static java.lang.String RA_SMADMIN
          Resource attribute name for admin account.
static java.lang.String RA_SMPASSWORD
          Resource attribute name for the admin password.
static java.lang.String RA_TIMEOUT
          Resource attribute name for the SM Authentication server port.
protected  java.util.Map schemaMap
           
static java.lang.String SITE_MINDER_USER
           
 
Constructor Summary
SiteminderUtil()
           
 
Method Summary
protected  void handleSiteminderResult(com.netegrity.sdk.apiutil.SmApiResult smResult)
           
protected  java.util.List listSmObjects(java.lang.String objectType, java.util.Map options, Resource _resource)
           
protected  java.util.List listSmObjects(java.lang.String objectType, Resource _resource)
           
protected  java.lang.String lookupNameByOid(com.netegrity.sdk.policyapi.SmObjId Oid, com.netegrity.sdk.policyapi.SmObject smObj)
           
protected  java.lang.String setDisableFlag(java.lang.String value, java.lang.String action)
           
 WavesetResult smAuthenticate(java.util.HashMap loginInfo, Resource _resource)
           
protected  void startSmConnection(Resource _resource)
           
protected  void stopSmConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

_trace

protected static final Trace _trace

SITE_MINDER_USER

public static final java.lang.String SITE_MINDER_USER
See Also:
Constant Field Values

RA_SMADMIN

public static final java.lang.String RA_SMADMIN
Resource attribute name for admin account.

See Also:
Constant Field Values

RA_SMPASSWORD

public static final java.lang.String RA_SMPASSWORD
Resource attribute name for the admin password.

See Also:
Constant Field Values

RA_POL_SERVER

public static final java.lang.String RA_POL_SERVER
Resource attribute name for SM policy server ip.

See Also:
Constant Field Values

RA_AUTHOR_PORT

public static final java.lang.String RA_AUTHOR_PORT
Resource attribute name for the SM Authorization server port.

See Also:
Constant Field Values

RA_AUTHENT_PORT

public static final java.lang.String RA_AUTHENT_PORT
Resource attribute name for the SM Authentication server port.

See Also:
Constant Field Values

RA_ACCOUNTING_PORT

public static final java.lang.String RA_ACCOUNTING_PORT
Resource attribute name for the SM Authorization server port.

See Also:
Constant Field Values

RA_TIMEOUT

public static final java.lang.String RA_TIMEOUT
Resource attribute name for the SM Authentication server port.

See Also:
Constant Field Values

RA_CUSTOM_AGENT

public static final java.lang.String RA_CUSTOM_AGENT
Resource attribute name for the SM Authorization server port.

See Also:
Constant Field Values

RA_CUSTOM_AGENT_SHARED_SECRET

public static final java.lang.String RA_CUSTOM_AGENT_SHARED_SECRET
Resource attribute name for the SM Authentication server port.

See Also:
Constant Field Values

RA_CONMIN

public static final java.lang.String RA_CONMIN
Resource attribute name for the SM Connection Min.

See Also:
Constant Field Values

RA_CONMAX

public static final java.lang.String RA_CONMAX
Resource attribute name for the SM Connection Max.

See Also:
Constant Field Values

RA_CONSTEP

public static final java.lang.String RA_CONSTEP
Resource attribute name for the SM Connection Step.

See Also:
Constant Field Values

DISABLE_ACTION

public static final java.lang.String DISABLE_ACTION
See Also:
Constant Field Values

ENABLE_ACTION

public static final java.lang.String ENABLE_ACTION
See Also:
Constant Field Values

PWD_EXPIRE_ACTION

public static final java.lang.String PWD_EXPIRE_ACTION
See Also:
Constant Field Values

PWD_UNEXPIRE_ACTION

public static final java.lang.String PWD_UNEXPIRE_ACTION
See Also:
Constant Field Values

PWD_UNEXP_ENABLE_FLAG

public static final java.lang.String PWD_UNEXP_ENABLE_FLAG

PWD_UNEXP_DISABLE_FLAG

public static final java.lang.String PWD_UNEXP_DISABLE_FLAG

PWD_EXP_DISABLE_FLAG

public static final java.lang.String PWD_EXP_DISABLE_FLAG

PWD_EXP_ENABLE_FLAG

public static final java.lang.String PWD_EXP_ENABLE_FLAG

EXPIRE_PWD

public static final java.lang.String EXPIRE_PWD
See Also:
Constant Field Values

_policyapi

protected com.netegrity.sdk.policyapi.SmPolicyApi _policyapi

_session

protected com.netegrity.sdk.apiutil.SmApiSession _session

schemaMap

protected java.util.Map schemaMap
Constructor Detail

SiteminderUtil

public SiteminderUtil()
Method Detail

smAuthenticate

public WavesetResult smAuthenticate(java.util.HashMap loginInfo,
                                    Resource _resource)
                             throws WavesetException
Throws:
WavesetException

startSmConnection

protected void startSmConnection(Resource _resource)
                          throws WavesetException
Throws:
WavesetException

stopSmConnection

protected void stopSmConnection()
                         throws WavesetException
Throws:
WavesetException

lookupNameByOid

protected java.lang.String lookupNameByOid(com.netegrity.sdk.policyapi.SmObjId Oid,
                                           com.netegrity.sdk.policyapi.SmObject smObj)
                                    throws WavesetException
Throws:
WavesetException

listSmObjects

protected java.util.List listSmObjects(java.lang.String objectType,
                                       java.util.Map options,
                                       Resource _resource)
                                throws WavesetException
Throws:
WavesetException

listSmObjects

protected java.util.List listSmObjects(java.lang.String objectType,
                                       Resource _resource)
                                throws WavesetException
Throws:
WavesetException

setDisableFlag

protected java.lang.String setDisableFlag(java.lang.String value,
                                          java.lang.String action)

handleSiteminderResult

protected void handleSiteminderResult(com.netegrity.sdk.apiutil.SmApiResult smResult)
                               throws WavesetException
Throws:
WavesetException