com.waveset.adapter
Class SecurIdUnixResourceAdapter

java.lang.Object
  extended bycom.waveset.adapter.ResourceAdapterBase
      extended bycom.waveset.adapter.GenericScriptResourceAdapter
          extended bycom.waveset.adapter.UnixResourceAdapter
              extended bycom.waveset.adapter.SVIDResourceAdapter
                  extended bycom.waveset.adapter.SecurIdUnixResourceAdapter
All Implemented Interfaces:
ResourceAdapter, ResourcePolicyTimeouts

public class SecurIdUnixResourceAdapter
extends SVIDResourceAdapter

Resource adapter used to manage SecureId when the ACE server is installed on a unix platform. This adapter is similiar to the other unix adapter in the form of using either a Telnet or SSH conneciton to connect to the resource and sending management commands in the form of scripts. The main difference is the final scripts manage users within the SecureId system rather than user's within Unix server.

The adapter leverages a Tcl API provided by SecurId. There is documentation for the API installed on every SecurID Ace server. In paticular the file named "cust_admin.pdf" details all of the SecurID API calls utilized by this adapter.


Nested Class Summary
protected  class SecurIdUnixResourceAdapter.AcctIter
          AccountIterator implementation that can be built by construction from the output of the account iterator script.
 
Nested classes inherited from class com.waveset.adapter.SVIDResourceAdapter
SVIDResourceAdapter.BlockAcctIter
 
Nested classes inherited from class com.waveset.adapter.ResourceAdapterBase
ResourceAdapterBase.SimpleAccountIterator
 
Nested classes inherited from class com.waveset.adapter.ResourceAdapter
ResourceAdapter.ActionResult, ResourceAdapter.Features, ResourceAdapter.ObjectType
 
Field Summary
static java.util.Set _fixedAttrNameSet
           
static java.lang.String CLASS_NAME
           
static java.lang.String code_id
           
static java.lang.String EITHER_PIN_MODE
           
static java.lang.String LOCAL_USER
           
static java.lang.String LTBF_COMPARE_TYPE
           
static java.lang.String LTBF_FIELD
           
static java.lang.String LTBF_VALUE
           
static ScriptToken procListTokensByField
           
static java.lang.String RA_ACE_AUTH_RESOURCE
           
static java.lang.String RA_ACE_INSTALL_DIR
           
static java.lang.String RA_ACE_LOGIN
           
static java.lang.String RA_ACE_PASSWORD
           
static java.lang.String RA_TOK_LOST_DIGITS
           
static java.lang.String RA_TOK_LOST_LIFETIME
           
static java.lang.String RA_TOK_LOST_NUMBER
           
static java.lang.String REMOTE_USER
           
static java.lang.String RESOURCE_ACCOUNTS
           
static java.lang.String RESOURCE_CLIENTS
           
static java.lang.String RESOURCE_GROUPS
           
static java.lang.String RESOURCE_LIST_TOKENS_BY_FIELD
           
static java.lang.String RESOURCE_LOGIN_MODULE
           
static java.lang.String RESOURCE_NAME
           
static java.lang.String RESOURCE_TOKENS
           
static java.lang.String RESOURCE_UNASSIGNED_TOKENS
           
static java.lang.String RESOURCE_USER_FORM
           
static java.lang.String RESOURCE_USERS
           
protected static ScriptToken SECURID_CAPTURE
          Deprecated. use new ScriptToken.Capture(SECURID_TCL_PROMPT, getCapture().getTimeout()) instead
protected static ScriptToken SECURID_DEFAULT_PROMPT
          Deprecated. use new ScriptToken.WaitFor("% ", SECURID_ERRORS, getWaitFor().getTimeout()) instead
protected static java.lang.String[] SECURID_ERRORS
           
static java.lang.String SECURID_LHS_ADMIN_GROUP
           
static java.lang.String SECURID_LHS_ADMIN_LEVEL
           
static java.lang.String SECURID_LHS_ADMIN_SITE
           
static java.lang.String SECURID_LHS_ADMIN_TASK_LIST
           
static java.lang.String SECURID_LHS_ADMIN_TASK_LIST_TASKS
           
static java.lang.String SECURID_RA_LHS_FORCE_NEW_PIN_MODE
           
static java.lang.String SECURID_RA_RHS_FORCE_NEW_PIN_MODE
           
static java.lang.String SECURID_RHS_ADMIN_GROUP
           
static java.lang.String SECURID_RHS_ADMIN_LEVEL
           
static java.lang.String SECURID_RHS_ADMIN_SITE
           
static java.lang.String SECURID_RHS_ADMIN_TASK_LIST
           
static java.lang.String SECURID_RHS_ADMIN_TASK_LIST_TASKS
           
static java.lang.String SECURID_RHS_ALLOWED_TO_CREATE_PIN
           
static java.lang.String SECURID_RHS_CLIENTS
           
static java.lang.String SECURID_RHS_DEFAULT_LOGIN
           
static java.lang.String SECURID_RHS_DEFAULT_SHELL
           
static java.lang.String SECURID_RHS_FIRST_NAME
           
static java.lang.String SECURID_RHS_GROUPS
           
static java.lang.String SECURID_RHS_LASTNAME
           
static java.lang.String SECURID_RHS_REMOTE_ALIAS
           
static java.lang.String SECURID_RHS_REMOTE_REALM
           
static java.lang.String SECURID_RHS_REQUIRED_TO_CREATE_PIN
           
static java.lang.String SECURID_RHS_TEMP_END_DATE
           
static java.lang.String SECURID_RHS_TEMP_END_HOUR
           
static java.lang.String SECURID_RHS_TEMP_START_DATE
           
static java.lang.String SECURID_RHS_TEMP_START_HOUR
           
static java.lang.String SECURID_RHS_TEMP_USER
           
static java.lang.String[] SECURID_RHS_TOKEN_CLEAR_PIN
           
static java.lang.String[] SECURID_RHS_TOKEN_DISABLED
           
static java.lang.String[] SECURID_RHS_TOKEN_FIRST_SEQUENCE
           
static java.lang.String[] SECURID_RHS_TOKEN_LOST
           
static java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_DATE
           
static java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_HOUR
           
static java.lang.String[] SECURID_RHS_TOKEN_LOST_LIFE_TIME
           
static java.lang.String[] SECURID_RHS_TOKEN_LOST_PASSWORD
           
static java.lang.String[] SECURID_RHS_TOKEN_NEW_PIN_MODE
           
static java.lang.String[] SECURID_RHS_TOKEN_NEXT_SEQUENCE
           
static java.lang.String[] SECURID_RHS_TOKEN_PIN
           
static java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC
           
static java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC_SEQUENCE
           
static java.lang.String[] SECURID_RHS_TOKEN_RESYNC
           
static java.lang.String[] SECURID_RHS_TOKEN_SERIAL_NUMBER
           
static java.lang.String[] SECURID_RHS_TOKEN_UNASSIGN
           
static java.lang.String SECURID_RHS_USER_TYPE
           
protected static java.lang.String SECURID_TCL_PROMPT
           
protected static ScriptToken SECURID_WAIT
          Deprecated. use new ScriptToken.WaitFor(SECURID_TCL_PROMPT, SECURID_ERRORS, getWaitFor().getTimeout()) instead
protected static ScriptToken sendRedefinePrompt
           
static java.lang.String SYSTEM_PIN_MODE
           
static int TOKEN_DEPTH
           
static java.lang.String USER_PIN_MODE
           
 
Fields inherited from class com.waveset.adapter.SVIDResourceAdapter
AA_LAST_LOGIN_TIME, allowedNISAttributes, DISPLAY_PASSWORD, DISPLAY_USER, grpMutexFile, grpPidFile, LOGIN_PASSWORD, LOGIN_USER, paramToFlagMap, PASSWD_CLEAR, PASSWD_FORCE_CHANGE, PASSWD_LOCK, PASSWD_MAX, PASSWD_MIN, PASSWD_WARN, pwdMutexFile, pwdPidFile, RA_LOGIN_SHELL_PROMPT, RA_MAKE_DIR, RA_NISSHADOW, RA_ROOT_PASSWORD, RA_ROOT_SHELL_PROMPT, RA_ROOT_USER, RA_SKEL_DIR, RESTYPE_DISPLAY_NAME, tmpGrpMutexFile, tmpPwdMutexFile, USER_AUTHORIZATION, USER_COMMENT, USER_DIR, USER_EXPIRE, USER_GROUP, USER_INACTIVE, USER_NEW_LOGNAME, USER_PROFILE, USER_ROLE, USER_SECONDARY_GROUP, USER_SHELL, USER_TIME_LAST_LOGIN, USER_UID
 
Fields inherited from class com.waveset.adapter.UnixResourceAdapter
CMD_AWK, CMD_CAT, CMD_CHMOD, CMD_CHOWN, CMD_CP, CMD_CUT, CMD_DIFF, CMD_ECHO, CMD_GREP, CMD_GROUPADD, CMD_GROUPDEL, CMD_GROUPMOD, CMD_LAST, CMD_LISTUSERS, CMD_LOGINS, CMD_LS, CMD_MAKE, CMD_MV, CMD_PASSWD, CMD_RM, CMD_SED, CMD_SLEEP, CMD_SORT, CMD_SUDO, CMD_TAIL, CMD_TOUCH, CMD_USERADD, CMD_USERDEL, CMD_USERMOD, CMD_WHICH, CMD_YPCAT, CMD_YPMATCH, CMD_YPPASSWD, loginPass, loginShellPrompt, loginUser, ONE_TAIL, RA_ALT_ROOT_SHELL_PROMPT, RA_DEL_HOME_DIR, RA_HOME_BASEDIR, RA_NISDIR, RA_NISPWDDIR, RA_NISSRCDIR, RA_SUDO_AUTH, RA_SYS_DB_TYPE, removeAction, rootPass, rootPromptCaptureToken, rootPromptCaptureTokenOrig, rootPromptWaitToken, rootPromptWaitTokenOrig, rootShellPrompt, rootShellPromptOrig, rootUser, sudoResetCmd, sudoResetToken, sudoStartCmd, sudoStartToken, wavesetRootPrompt, wavesetRootPromptCaptureToken, wavesetRootPromptWaitToken
 
Fields inherited from class com.waveset.adapter.GenericScriptResourceAdapter
conn, RA_BLOCK_FETCH_TIMEOUT, RA_CONN_MAX, RA_CONN_TIMEOUT, RA_CONN_TYPE, RA_HOST, RA_LOGIN_PASSWORD, RA_LOGIN_USER, RA_PORT, RA_TERM
 
Fields inherited from class com.waveset.adapter.ResourceAdapterBase
_cache, _context, _excludedAccountsRule, _excludedAccountsRuleInited, _listAllObjectsAttrParse, _listAllObjectsAttrParseName, _listUserAttrParse, _listUserAttrParseName, _listUserGroupsAttrParse, _listUserGroupsAttrParseName, _resource, _thread, _trace, displayInfoCode, RA_BLOCKCOUNT, RA_LOGIN_ACTION, RA_LOGOFF_ACTION, RA_MULTI_VALUED_ATTRS, RA_TEST_MODE
 
Fields inherited from interface com.waveset.adapter.ResourceAdapter
CHANGE_PASSWORD_LOCATION, DISABLE, ENABLE, EXPIRE_PASSWORD, GUID, IGNORE_ATTR, NEW_ACCOUNT_ID, OP_DAYS_INACTIVE, OP_DISABLED, OP_DORMANT, OP_EXPIRED, OP_EXPIREDPWD, OP_INACTIVE, OP_LOCKED, OP_NO_PASSWORD_SET, OP_NOOWNERSHIP, OP_NOPASSWORDREQ, OP_NUMINACTIVEDAYS, OP_NUMPWDAYS, OP_PWNUMDAYS, RA_BASE_CTX, RA_DISPLAY_NAME_ATTR, RA_NEW_OBJECT_ID, RA_NEW_OBJECT_NAME, RA_OBJECT_ATTRIBUTES, RA_OBJECT_CLASS, RA_OBJECT_ID, RA_OBJECT_TYPE, RA_OP_TYPE, RA_RENAME_OP, RA_REQUESTOR, RA_SAVEAS_OP, RA_SEARCH_ATTRIBUTE_NAMES, RA_SEARCH_ATTRS_TO_GET, RA_SEARCH_CONTEXT, RA_SEARCH_FILTER, RA_SEARCH_RUN_AS_PASSWORD, RA_SEARCH_RUN_AS_USER, RA_SEARCH_SCOPE, RA_SEARCH_SCOPE_OBJECT, RA_SEARCH_SCOPE_ONE_LEVEL, RA_SEARCH_SCOPE_SUBTREE, RA_SEARCH_TIME_LIMIT, RESET_PASSWORD, SYSTEM_ATTRIBUTES, UNLOCK, WS_USER_PASSWORD
 
Constructor Summary
SecurIdUnixResourceAdapter()
          No argument constructor.
SecurIdUnixResourceAdapter(Resource res, ObjectCache cache)
          Constructor.
 
Method Summary
protected  void addTokenInformation(int tokenNumber, java.lang.String tokenData, WSUser user)
          Adds information about a given token to the user object.
protected  void addTokenInformation(java.lang.String tokenNumber, java.lang.String tokenData, WSUser user)
          Adds information about a given token to the user object.
 WavesetResult authenticate(java.util.HashMap loginInfo)
          Authenticates the user represented in the loginInfo.
static java.lang.String charSetToString(byte[] array, int start, int end)
           
protected  WSUser constructUser(java.lang.String encodedLine, WSUser targetUser)
           
protected  java.lang.String constructUserAttributeParameter(java.lang.String key, java.lang.String value)
          Builds up a single user attribute value suitable for shell commands, given the parameter key and value.
 Resource createPrototypeResource()
           
static int dumbConvert(byte[] array, int start, int end)
           
static int dumbConvert(java.lang.String s)
           
protected  java.lang.String fetchAttrFromStringTokenizer(java.lang.String rhs, java.util.StringTokenizer token, WSUser user)
           
static java.lang.String[] genTokenNames(java.lang.String name)
           
protected  AccountIterator getAccountIteratorResult(CaptureList captureList)
          Generates an account iterator from the capture list that was built from running the getAccountIteratorScript generated script through the ScriptedConnection.
protected  Script getAccountIteratorScript()
          Returns a script that can be run on an opened and logged in ScriptedConnection to pull a list of users out of the system.
protected  Script getAccountIteratorScript(long timeout)
           
protected  Script getAccountIteratorScript(long timeout, boolean hasTimeout)
          Returns a script that can be run on an opened and logged in ScriptedConnection to pull a list of users out of the system.
protected  java.lang.String getAttributeForScript(WSUser user, java.lang.String attribName)
           
protected  Script getAuthenticateScript(java.util.HashMap loginInfo)
          Generates a script for authenticating a user on the resource using the username and password in the loginInfo HashMap.
protected  WavesetResult getConnectionTestResult(CaptureList captureList)
          Evaluates capture list from execution of generic test connection script.
protected  Script getConnectionTestScript()
          Creates a script to test the connection, does NOT login or logout.
protected  Script getCreateUserScript(WSUser user)
          Generates a script that will create an account for the passed user on the resource.
protected  void getDeleteUserResult(CaptureList captureList)
          Analyzes the capture list generated by executing the delete user script on the scripted connection.
protected  Script getDeleteUserScript(WSUser user)
          Generates a script that will delete the account of the passed user on the resource.
protected  boolean getDisableUserResult(CaptureList captureList)
          Evaluate the results of the disable script.
protected  Script getDisableUserScript(WSUser user, java.lang.String password)
          Generates a script that will disable an account for the passed user on the resource.
protected  boolean getEnableUserResult(CaptureList captureList)
          Analyzes the capture list generated by executing the enable user script on the scripted connection.
protected  Script getEnableUserScript(WSUser user, java.lang.String password)
          Generates a script that will enable an account for the passed user on the resource.
 GenericObject getFeatures()
          Expose features supported by the Resource Adapter.
protected  java.util.ArrayList getListAllObjectsResult(CaptureList captureList)
          Analyzes the captrure list generated by executing the listAllObjects script on the scripted connection.
protected  Script getListAllObjectsScript(java.lang.String resObjType, java.util.Map options, java.lang.String runAsUser, EncryptedData runAsPassword)
          Returns a script which will return a list of objects of a specified type from the scriptedConnection.
 java.lang.String getLoginPasswordAttrName()
           
protected  Script getLoginScript()
          Returns a script that will log the administrative user into the system and set up the shell if necessary.
 java.lang.String getLoginUserAttrName()
           
protected  Script getLogoutScript()
          Returns a script that will log the administrative user out of the resource.
protected  java.util.ArrayList getReadOnlyTestCmds()
          Dynamic list of commands to test for permissions to execute.
protected  java.util.ArrayList getRequiredCmds()
          Creates a list of required commands for the resource.
protected  java.lang.String getResourceAttributeValue(java.lang.String name, java.lang.String defaultValue)
           
protected  ScriptedConnection getScriptedConnection()
          Creates and returns a ScriptedConnection to the resource.
protected  java.lang.String getTclshPath()
           
protected  WavesetResult getTestConfigurationResult(CaptureList captureList)
          Evaluates capture list from execution of generic test connection script.
protected  Script getTestConfigurationScript()
          Creates a script to test the connection, does NOT login or logout.
protected  WavesetResult getTestConnectionResult(CaptureList captureList)
          Evaluates capture list from execution of generic test connection script.
protected  void getUpdateUserResult(WSUser user, CaptureList captureList, WavesetResult result)
          Analyzes the capture list generated by executing the update user script on the scripted connection.
protected  Script getUpdateUserScript(WSUser user, java.lang.String password)
          Generates a script that will create an account for the passed user on the resource.
protected  WSUser getUserResult(CaptureList captureList, WSUser targetUser)
          Analyzes the capture list generated by executing the get user script on the scripted connection.
protected  Script getUserScript(WSUser user)
          Returns a script that sends commands to check for existence of the passed user on the resource.
protected  boolean includesReject(java.lang.String s)
           
protected  boolean isAllowableUserAttribute(java.lang.String name)
          Reports whether a given attribute name is legal on the resource.
static Resource staticCreatePrototypeResource()
          Create prototype resource

We start with the generic SVID prototype XML and modify it to be specific to Solaris (if you change something here, you probably need to make the change in the other classes that extend SVIDResourceAdapter.

 boolean supportsAccountDisable()
          Whether we support account enable and disable through the resource.
static java.lang.String tclEscapeQuote(java.lang.String data)
           
 
Methods inherited from class com.waveset.adapter.SVIDResourceAdapter
addAttributeIfMapped, addLastLogin, addNISMake, addNISPasswordUpdate, addNISShellUpdate, buildUser, buildUser, buildUser, changeGroupMembers, constructNISUserAttributeParameters, constructUseraddParameters, constructUserPasswordParameters, createAcctAttrType, getAuthenticateResult, getBlockAccountIteratorScript, getCheckCreateAccountResult, getCheckCreateAccountScript, getCheckDeleteAccountResult, getCheckDeleteAccountScript, getCheckUpdateAccountResult, getCheckUpdateAccountScript, getConnectionType, getCreateGroupResult, getCreateNativeGroupScript, getCreateNativeUserScript, getCreateNISGroupScript, getCreateNISUserScript, getCreateUserResult, getDeleteNativeGroupScript, getDeleteNativeUserScript, getDeleteNISGroupScript, getDeleteNISUserScript, getGetGroupResult, getGetGroupScript, getListAllObjectsResult, getMutexAcquireScript, getMutexReleaseScript, getNativeUserScript, getNISDir, getNISNewGidScript, getNISNewUidScript, getNISPwddir, getNISUserResult, getNISUserScript, getRemoveGroupTmpFiles, getRemovePwdTmpFiles, getRenameGroupResult, getRenameGroupScript, getScanningResult, getScanningScript, getTestConnectionScript, getUpdateGroupResult, getUpdateNativeGroupScript, getUpdateNativeUserScript, getUpdateNISGroupScript, getUpdateNISUserScript, getUpdateUserScript, isNISShadow, startConnection, staticCreatePrototypeResource, supportsResourceAccount
 
Methods inherited from class com.waveset.adapter.UnixResourceAdapter
addActionScript, addResultItem, addScriptArguments, addSudoReset, addSudoStart, createResourceAttr, divideString, escape, getAccountActionResult, getAccountActionScript, getAccountIterator, getAccountIterator, getActionResult, getActionScript, getCaptureItem, getCreateGroupScript, getCreateObjectResult, getCreateObjectScript, getCreateUserResult, getCreateUserScript, getDefaultShellsList, getDeleteGroupScript, getDeleteObjectScript, getDeleteUserScript, getGetObjectResult, getGetObjectScript, getGetUserResult, getGetUserScript, getListObjectsResult, getListObjectsScript, getReadOnlyNISTestCmds, getRenameObjectResult, getRenameObjectScript, getRenameUserResult, getRenameUserScript, getRequiredFileCmds, getRequiredGroupCmds, getRequiredNISCmds, getRequiredUserCmds, getResourceAccounts, getShellsScript, getUpdateGroupScript, getUpdateObjectResult, getUpdateObjectScript, getUpdateUserResult, getUpdateUserScript, getWhichScript, init, isNIS, quoteString, replaceSpaces, setWavesetPrompt, stopConnection, stopConnection, sudoAuthorization, supportsActions, supportsCaseInsensitiveAccountIds, supportsExcludedAccounts, testConnection
 
Methods inherited from class com.waveset.adapter.GenericScriptResourceAdapter
checkCreateAccount, checkDeleteAccount, checkUpdateAccount, constructUserAttributeParameters, constructUserAttributeParameters, createObject, deleteObject, getAccountAttributeFromMapName, getAccountAttributes, getCapture, getDeleteObjectResult, getObject, getUpdateUserResult, getUser, getWaitFor, getWaitForIgnoreCase, listAllObjects, listObjects, lookupAndRunAction, realCreate, realDelete, realDisable, realEnable, realUpdate, renameObject, reverseMapAttr, reverseMapAttr, reverseMapMultiAttr, run, runAction, runAction, runAfterAction, runBeforeAction, scan, testConfiguration, updateObject, updateResourceAccount, wellFormedUserAttributeName
 
Methods inherited from class com.waveset.adapter.ResourceAdapterBase
checkForNoPasswordInSchema, checkSyntax, createAccount, createAccounts, createIdentity, deleteAccount, deleteAccount, deleteAccounts, disableAccount, disableAccounts, dnsEqual, dnsEqual, enableAccount, enableAccounts, executeResourceAttributeJavascriptAction, fillInResourceInfo, fillInResourceInfo, getAccountIterator, getAction, getActionNotFoundErrorMessage, getActionNotFoundMessage, getActionRunAsPassword, getActionRunAsUser, getActionTimeout, getActionType, getAdapter, getAdapter, getAdapter, getAdapterProxy, getAdapterProxy, getAllAccounts, getAttrNameFromMapName, getAttrNameFromMapName, getAttrParse, getAttrTypeFromMapName, getAttrTypeFromMapName, getAUserName, getBaseContextAttrName, getBaseContextObject, getBaseContexts, getBlockSize, getContext, getExcludedAccountsRule, getIdentity, getListAllObjectsAttrParse, getListUserAttrParse, getListUserGroupsAttrParse, getOptionalBooleanResAttrVal, getOptionalBooleanResAttrVal, getOptionalEncryptedResAttrVal, getOptionalResAttrVal, getOptionalStringResAttrVal, getRequiredResAttr, getRequiredResAttr, getRequiredResAttrVal, getRequiredResAttrVal, getRequiredResAttrVals, getRequiredUserAttributeNames, getResAttrValActionOnUser, getResAttrVals, getResource, getResourceInfo, getResourceObjectAttrValNameAttr, getResourceObjectClassAttr, getResourceObjectTypePrefix, getSchemaMap, getUser, getWSAttrByMapName, getWSAttrByMapName, getWSAttrFromMap, handleActionResult, handleJavascriptActionResult, isAccountAttributeSecret, isExcludedAccount, isExcludedAccount, isFeatureEnabled, isSupported, isTestMode, listAllObjects, listObjects, listObjectsOfType, lookupAction, lookupAction, lookupActions, namesEqual, objectClassesMatchType, println, restoreResourceObjectClassAttr, run, runResourceAttributeJavascriptAction, setCache, setContext, setDisabled, setFromResource, setResource, setResourceObjectClassAttr, setResourceOptionAttrs, startConnectionWrapper, supportsAccountActions, supportsContainerObjectTypes, supportsScanning, updateAccount, updateAccounts, updateResourceIdentity, vmStoreBoot, vmStoreGet, vmStoreInit, vmStoreLatch, vmStorePut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.waveset.adapter.ResourceAdapter
checkCreateAccount, checkDeleteAccount, checkUpdateAccount, createAccount, createAccounts, createIdentity, createObject, deleteAccount, deleteAccount, deleteAccounts, deleteObject, disableAccount, disableAccounts, enableAccount, enableAccounts, getAccountAttributes, getAccountIterator, getAllAccounts, getBaseContextAttrName, getBaseContextObject, getBaseContexts, getObject, getResource, getUser, getUser, isSupported, listAllObjects, listAllObjects, listObjects, listObjects, listObjectsOfType, namesEqual, run, run, scan, setCache, setContext, setResource, setResourceObjectClassAttr, supportsContainerObjectTypes, supportsScanning, testConfiguration, updateAccount, updateAccounts, updateObject, updateResourceAccount
 

Field Detail

code_id

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

CLASS_NAME

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

RESOURCE_NAME

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

RA_ACE_LOGIN

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

RA_ACE_PASSWORD

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

RA_ACE_INSTALL_DIR

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

RA_TOK_LOST_NUMBER

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

RA_TOK_LOST_LIFETIME

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

RA_TOK_LOST_DIGITS

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

RA_ACE_AUTH_RESOURCE

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

RESOURCE_USER_FORM

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

RESOURCE_LOGIN_MODULE

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

RESOURCE_ACCOUNTS

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

RESOURCE_USERS

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

RESOURCE_CLIENTS

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

RESOURCE_GROUPS

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

RESOURCE_TOKENS

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

RESOURCE_UNASSIGNED_TOKENS

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

RESOURCE_LIST_TOKENS_BY_FIELD

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

REMOTE_USER

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

LOCAL_USER

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

EITHER_PIN_MODE

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

USER_PIN_MODE

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

SYSTEM_PIN_MODE

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

SECURID_ERRORS

protected static final java.lang.String[] SECURID_ERRORS

SECURID_TCL_PROMPT

protected static final java.lang.String SECURID_TCL_PROMPT
See Also:
Constant Field Values

SECURID_WAIT

protected static final ScriptToken SECURID_WAIT
Deprecated. use new ScriptToken.WaitFor(SECURID_TCL_PROMPT, SECURID_ERRORS, getWaitFor().getTimeout()) instead


SECURID_CAPTURE

protected static final ScriptToken SECURID_CAPTURE
Deprecated. use new ScriptToken.Capture(SECURID_TCL_PROMPT, getCapture().getTimeout()) instead


SECURID_RA_LHS_FORCE_NEW_PIN_MODE

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

SECURID_RA_RHS_FORCE_NEW_PIN_MODE

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

TOKEN_DEPTH

public static final int TOKEN_DEPTH
See Also:
Constant Field Values

SECURID_RHS_TOKEN_PIN

public static final java.lang.String[] SECURID_RHS_TOKEN_PIN

SECURID_RHS_TOKEN_SERIAL_NUMBER

public static final java.lang.String[] SECURID_RHS_TOKEN_SERIAL_NUMBER

SECURID_RHS_TOKEN_RESYNC

public static final java.lang.String[] SECURID_RHS_TOKEN_RESYNC

SECURID_RHS_TOKEN_FIRST_SEQUENCE

public static final java.lang.String[] SECURID_RHS_TOKEN_FIRST_SEQUENCE

SECURID_RHS_TOKEN_NEXT_SEQUENCE

public static final java.lang.String[] SECURID_RHS_TOKEN_NEXT_SEQUENCE

SECURID_RHS_TOKEN_DISABLED

public static final java.lang.String[] SECURID_RHS_TOKEN_DISABLED

SECURID_RHS_TOKEN_LOST

public static final java.lang.String[] SECURID_RHS_TOKEN_LOST

SECURID_RHS_TOKEN_LOST_PASSWORD

public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_PASSWORD

SECURID_RHS_TOKEN_LOST_EXPIRE_DATE

public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_DATE

SECURID_RHS_TOKEN_LOST_EXPIRE_HOUR

public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_HOUR

SECURID_RHS_TOKEN_LOST_LIFE_TIME

public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_LIFE_TIME

SECURID_RHS_TOKEN_NEW_PIN_MODE

public static final java.lang.String[] SECURID_RHS_TOKEN_NEW_PIN_MODE

SECURID_RHS_TOKEN_CLEAR_PIN

public static final java.lang.String[] SECURID_RHS_TOKEN_CLEAR_PIN

SECURID_RHS_TOKEN_UNASSIGN

public static final java.lang.String[] SECURID_RHS_TOKEN_UNASSIGN

SECURID_RHS_TOKEN_PIN_TO_NTC

public static final java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC

SECURID_RHS_TOKEN_PIN_TO_NTC_SEQUENCE

public static final java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC_SEQUENCE

SECURID_RHS_DEFAULT_LOGIN

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

SECURID_RHS_FIRST_NAME

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

SECURID_RHS_LASTNAME

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

SECURID_RHS_DEFAULT_SHELL

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

SECURID_RHS_GROUPS

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

SECURID_RHS_CLIENTS

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

SECURID_RHS_ALLOWED_TO_CREATE_PIN

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

SECURID_RHS_REQUIRED_TO_CREATE_PIN

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

SECURID_RHS_USER_TYPE

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

SECURID_RHS_REMOTE_REALM

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

SECURID_RHS_REMOTE_ALIAS

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

SECURID_RHS_TEMP_USER

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

SECURID_RHS_TEMP_START_DATE

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

SECURID_RHS_TEMP_START_HOUR

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

SECURID_RHS_TEMP_END_DATE

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

SECURID_RHS_TEMP_END_HOUR

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

SECURID_LHS_ADMIN_LEVEL

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

SECURID_LHS_ADMIN_TASK_LIST

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

SECURID_LHS_ADMIN_TASK_LIST_TASKS

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

SECURID_LHS_ADMIN_GROUP

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

SECURID_LHS_ADMIN_SITE

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

SECURID_RHS_ADMIN_LEVEL

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

SECURID_RHS_ADMIN_TASK_LIST

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

SECURID_RHS_ADMIN_TASK_LIST_TASKS

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

SECURID_RHS_ADMIN_GROUP

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

SECURID_RHS_ADMIN_SITE

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

_fixedAttrNameSet

public static final java.util.Set _fixedAttrNameSet

procListTokensByField

public static ScriptToken procListTokensByField

SECURID_DEFAULT_PROMPT

protected static final ScriptToken SECURID_DEFAULT_PROMPT
Deprecated. use new ScriptToken.WaitFor("% ", SECURID_ERRORS, getWaitFor().getTimeout()) instead


sendRedefinePrompt

protected static final ScriptToken sendRedefinePrompt

LTBF_FIELD

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

LTBF_COMPARE_TYPE

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

LTBF_VALUE

public static final java.lang.String LTBF_VALUE
See Also:
Constant Field Values
Constructor Detail

SecurIdUnixResourceAdapter

public SecurIdUnixResourceAdapter()
No argument constructor.


SecurIdUnixResourceAdapter

public SecurIdUnixResourceAdapter(Resource res,
                                  ObjectCache cache)
Constructor.

Method Detail

genTokenNames

public static java.lang.String[] genTokenNames(java.lang.String name)

staticCreatePrototypeResource

public static Resource staticCreatePrototypeResource()
                                              throws WavesetException
Create prototype resource

We start with the generic SVID prototype XML and modify it to be specific to Solaris (if you change something here, you probably need to make the change in the other classes that extend SVIDResourceAdapter.

Throws:
WavesetException

createPrototypeResource

public Resource createPrototypeResource()
                                 throws WavesetException
Specified by:
createPrototypeResource in interface ResourceAdapter
Specified by:
createPrototypeResource in class SVIDResourceAdapter
Throws:
WavesetException

getFeatures

public GenericObject getFeatures()
Expose features supported by the Resource Adapter. Note: ActiveSync is considered a facet, not a feature.

Specified by:
getFeatures in interface ResourceAdapter
Overrides:
getFeatures in class SVIDResourceAdapter
Returns:
GenericObject containing Features, as both key and value, which are supported by this resource adapter.
See Also:
ResourceAdapter.Features

getLoginUserAttrName

public java.lang.String getLoginUserAttrName()
Specified by:
getLoginUserAttrName in class SVIDResourceAdapter

getLoginPasswordAttrName

public java.lang.String getLoginPasswordAttrName()
Specified by:
getLoginPasswordAttrName in class SVIDResourceAdapter

constructUserAttributeParameter

protected java.lang.String constructUserAttributeParameter(java.lang.String key,
                                                           java.lang.String value)
Builds up a single user attribute value suitable for shell commands, given the parameter key and value.

Overrides:
constructUserAttributeParameter in class SVIDResourceAdapter

getConnectionTestResult

protected WavesetResult getConnectionTestResult(CaptureList captureList)
                                         throws WavesetException
Evaluates capture list from execution of generic test connection script.

Overrides:
getConnectionTestResult in class SVIDResourceAdapter
Throws:
WavesetException

getConnectionTestScript

protected Script getConnectionTestScript()
                                  throws WavesetException
Description copied from class: SVIDResourceAdapter
Creates a script to test the connection, does NOT login or logout.

Overrides:
getConnectionTestScript in class SVIDResourceAdapter
Throws:
WavesetException

getLoginScript

protected Script getLoginScript()
                         throws WavesetException
Returns a script that will log the administrative user into the system and set up the shell if necessary.

Overrides:
getLoginScript in class SVIDResourceAdapter
Throws:
WavesetException

getTclshPath

protected java.lang.String getTclshPath()

getLogoutScript

protected Script getLogoutScript()
                          throws WavesetException
Returns a script that will log the administrative user out of the resource.

Overrides:
getLogoutScript in class SVIDResourceAdapter
Throws:
WavesetException

getTestConnectionResult

protected WavesetResult getTestConnectionResult(CaptureList captureList)
                                         throws WavesetException
Evaluates capture list from execution of generic test connection script.

Overrides:
getTestConnectionResult in class SVIDResourceAdapter
Throws:
WavesetException

getTestConfigurationResult

protected WavesetResult getTestConfigurationResult(CaptureList captureList)
                                            throws WavesetException
Evaluates capture list from execution of generic test connection script.

Overrides:
getTestConfigurationResult in class UnixResourceAdapter
Throws:
WavesetException

getTestConfigurationScript

protected Script getTestConfigurationScript()
                                     throws WavesetException
Creates a script to test the connection, does NOT login or logout.

Overrides:
getTestConfigurationScript in class UnixResourceAdapter
Throws:
WavesetException

authenticate

public WavesetResult authenticate(java.util.HashMap loginInfo)
                           throws WavesetException
Description copied from class: UnixResourceAdapter
Authenticates the user represented in the loginInfo. Throws if the user is not authenticated. Uses the abstract methods getAuthenticateScript and getAuthenticateResult for the resource specific logic. Releases the connection as it is unuseable to root afterwards.

Specified by:
authenticate in interface ResourceAdapter
Overrides:
authenticate in class UnixResourceAdapter
Throws:
WavesetException

getAuthenticateScript

protected Script getAuthenticateScript(java.util.HashMap loginInfo)
                                throws WavesetException
Generates a script for authenticating a user on the resource using the username and password in the loginInfo HashMap. Should NOT login or logout.

This should never be reached as this resource has an authenticate method that does not call a script (unlike the super does).

Overrides:
getAuthenticateScript in class SVIDResourceAdapter
Throws:
WavesetException

getAccountIteratorResult

protected AccountIterator getAccountIteratorResult(CaptureList captureList)
Generates an account iterator from the capture list that was built from running the getAccountIteratorScript generated script through the ScriptedConnection.

Overrides:
getAccountIteratorResult in class SVIDResourceAdapter

getAccountIteratorScript

protected Script getAccountIteratorScript(long timeout,
                                          boolean hasTimeout)
Returns a script that can be run on an opened and logged in ScriptedConnection to pull a list of users out of the system.

Overrides:
getAccountIteratorScript in class SVIDResourceAdapter

getAccountIteratorScript

protected Script getAccountIteratorScript()
Description copied from class: GenericScriptResourceAdapter
Returns a script that can be run on an opened and logged in ScriptedConnection to pull a list of users out of the system. Needs to be defined in the derived class to send a command that will cause a list of users to be emitted, and to capture that list for parsing in getAccountIteratorResult. Should NOT send login or logout commands.

Overrides:
getAccountIteratorScript in class SVIDResourceAdapter

getAccountIteratorScript

protected Script getAccountIteratorScript(long timeout)
Overrides:
getAccountIteratorScript in class SVIDResourceAdapter

getCreateUserScript

protected Script getCreateUserScript(WSUser user)
                              throws WavesetException
Generates a script that will create an account for the passed user on the resource. The script can be executed on a ScriptedConnection. Should NOT login or logout.

Overrides:
getCreateUserScript in class UnixResourceAdapter
Throws:
WavesetException

getDeleteUserScript

protected Script getDeleteUserScript(WSUser user)
                              throws WavesetException
Generates a script that will delete the account of the passed user on the resource. The script can be executed on a ScriptedConnection. Should NOT login or logout.

Overrides:
getDeleteUserScript in class UnixResourceAdapter
Throws:
WavesetException

getDeleteUserResult

protected void getDeleteUserResult(CaptureList captureList)
                            throws WavesetException
Analyzes the capture list generated by executing the delete user script on the scripted connection. Throws if the capture list indicates failure. The executing script may throw on failure also.

Overrides:
getDeleteUserResult in class SVIDResourceAdapter
Throws:
WavesetException

getDisableUserScript

protected Script getDisableUserScript(WSUser user,
                                      java.lang.String password)
                               throws WavesetException
Generates a script that will disable an account for the passed user on the resource. The script can be executed on a ScriptedConnection. Should NOT login or logout.

Overrides:
getDisableUserScript in class SVIDResourceAdapter
Throws:
WavesetException

getDisableUserResult

protected boolean getDisableUserResult(CaptureList captureList)
                                throws WavesetException
Evaluate the results of the disable script.

Overrides:
getDisableUserResult in class SVIDResourceAdapter
Throws:
WavesetException

getEnableUserScript

protected Script getEnableUserScript(WSUser user,
                                     java.lang.String password)
                              throws WavesetException
Generates a script that will enable an account for the passed user on the resource. The script can be executed on a ScriptedConnection. Should NOT login or logout.

Overrides:
getEnableUserScript in class SVIDResourceAdapter
Throws:
WavesetException

getEnableUserResult

protected boolean getEnableUserResult(CaptureList captureList)
                               throws WavesetException
Analyzes the capture list generated by executing the enable user script on the scripted connection. Throws if the capture list indicates failure. The executing script may throw on failure also.

Overrides:
getEnableUserResult in class SVIDResourceAdapter
Throws:
WavesetException

getUpdateUserResult

protected void getUpdateUserResult(WSUser user,
                                   CaptureList captureList,
                                   WavesetResult result)
                            throws WavesetException
Analyzes the capture list generated by executing the update user script on the scripted connection. Throws if the capture list indicates failure. The executing script may throw on failure also.

Overrides:
getUpdateUserResult in class SVIDResourceAdapter
Throws:
WavesetException

getUpdateUserScript

protected Script getUpdateUserScript(WSUser user,
                                     java.lang.String password)
                              throws WavesetException
Generates a script that will create an account for the passed user on the resource. The script can be executed on a ScriptedConnection. Should NOT login or logout.

If the userID is passed in, the update will fail if the Id is in use by another user, but will succeed if the userId is the same or is a new value. Changing the user's ID will not change the files owned by that user.

If you make changes here, check to see if the changes should be applied to implementations in subclasses (eg HPUXResourceAdapter)

Overrides:
getUpdateUserScript in class UnixResourceAdapter
Throws:
WavesetException

getScriptedConnection

protected ScriptedConnection getScriptedConnection()
                                            throws WavesetException
Description copied from class: UnixResourceAdapter
Creates and returns a ScriptedConnection to the resource.

Overrides:
getScriptedConnection in class UnixResourceAdapter
Throws:
WavesetException

getUserResult

protected WSUser getUserResult(CaptureList captureList,
                               WSUser targetUser)
                        throws WavesetException
Analyzes the capture list generated by executing the get user script on the scripted connection. Returns null if the capture list indicates failure. Otherwise returns the new user. Should probably be called getGetUserResult for consistency, but that would look funny.

Overrides:
getUserResult in class SVIDResourceAdapter
Throws:
WavesetException

dumbConvert

public static int dumbConvert(java.lang.String s)

charSetToString

public static java.lang.String charSetToString(byte[] array,
                                               int start,
                                               int end)

dumbConvert

public static int dumbConvert(byte[] array,
                              int start,
                              int end)

constructUser

protected WSUser constructUser(java.lang.String encodedLine,
                               WSUser targetUser)
                        throws WavesetException
Throws:
WavesetException

addTokenInformation

protected void addTokenInformation(java.lang.String tokenNumber,
                                   java.lang.String tokenData,
                                   WSUser user)
                            throws WavesetException
Adds information about a given token to the user object.

Throws:
WavesetException

addTokenInformation

protected void addTokenInformation(int tokenNumber,
                                   java.lang.String tokenData,
                                   WSUser user)
                            throws WavesetException
Adds information about a given token to the user object.

Throws:
WavesetException

getUserScript

protected Script getUserScript(WSUser user)
                        throws WavesetException
Returns a script that sends commands to check for existence of the passed user on the resource. Upon execution, captures necessary text for analysis by getUserResult method.

Overrides:
getUserScript in class SVIDResourceAdapter
Throws:
WavesetException

isAllowableUserAttribute

protected boolean isAllowableUserAttribute(java.lang.String name)
Reports whether a given attribute name is legal on the resource.

Overrides:
isAllowableUserAttribute in class SVIDResourceAdapter

fetchAttrFromStringTokenizer

protected java.lang.String fetchAttrFromStringTokenizer(java.lang.String rhs,
                                                        java.util.StringTokenizer token,
                                                        WSUser user)

supportsAccountDisable

public boolean supportsAccountDisable()
Description copied from class: SVIDResourceAdapter
Whether we support account enable and disable through the resource. SVID systems implement disabling the user account by changing the password to *LK*. To enable the account, the password must be reset. Since this is similar to the way the provisioning engine supports resources that do not have a disable, it was decided best to not support account enable/disable on this resource.

Specified by:
supportsAccountDisable in interface ResourceAdapter
Overrides:
supportsAccountDisable in class SVIDResourceAdapter

getListAllObjectsScript

protected Script getListAllObjectsScript(java.lang.String resObjType,
                                         java.util.Map options,
                                         java.lang.String runAsUser,
                                         EncryptedData runAsPassword)
                                  throws WavesetException
Returns a script which will return a list of objects of a specified type from the scriptedConnection. This script should login as the username and password, if specified, or login as the authoritative account.

Overrides:
getListAllObjectsScript in class SVIDResourceAdapter
Throws:
WavesetException

getListAllObjectsResult

protected java.util.ArrayList getListAllObjectsResult(CaptureList captureList)
                                               throws WavesetException
Analyzes the captrure list generated by executing the listAllObjects script on the scripted connection. Throws if the capture list indicates failure. The executing script may throw on failure also.

Throws:
WavesetException

tclEscapeQuote

public static java.lang.String tclEscapeQuote(java.lang.String data)

includesReject

protected boolean includesReject(java.lang.String s)

getAttributeForScript

protected java.lang.String getAttributeForScript(WSUser user,
                                                 java.lang.String attribName)

getResourceAttributeValue

protected java.lang.String getResourceAttributeValue(java.lang.String name,
                                                     java.lang.String defaultValue)

getReadOnlyTestCmds

protected java.util.ArrayList getReadOnlyTestCmds()
Description copied from class: UnixResourceAdapter
Dynamic list of commands to test for permissions to execute.

Overrides:
getReadOnlyTestCmds in class UnixResourceAdapter

getRequiredCmds

protected java.util.ArrayList getRequiredCmds()
Description copied from class: UnixResourceAdapter
Creates a list of required commands for the resource.

Overrides:
getRequiredCmds in class UnixResourceAdapter
Returns:
Returns a list of all required commands for the resource including user, group, and file commands.