|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceAdapterBase
com.waveset.adapter.GenericScriptResourceAdapter
com.waveset.adapter.UnixResourceAdapter
com.waveset.adapter.SVIDResourceAdapter
com.waveset.adapter.SecurIdUnixResourceAdapter
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.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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String CLASS_NAME
public static final java.lang.String RESOURCE_NAME
public static final java.lang.String RA_ACE_LOGIN
public static final java.lang.String RA_ACE_PASSWORD
public static final java.lang.String RA_ACE_INSTALL_DIR
public static final java.lang.String RA_TOK_LOST_NUMBER
public static final java.lang.String RA_TOK_LOST_LIFETIME
public static final java.lang.String RA_TOK_LOST_DIGITS
public static final java.lang.String RA_ACE_AUTH_RESOURCE
public static final java.lang.String RESOURCE_USER_FORM
public static final java.lang.String RESOURCE_LOGIN_MODULE
public static final java.lang.String RESOURCE_ACCOUNTS
public static final java.lang.String RESOURCE_USERS
public static final java.lang.String RESOURCE_CLIENTS
public static final java.lang.String RESOURCE_GROUPS
public static final java.lang.String RESOURCE_TOKENS
public static final java.lang.String RESOURCE_UNASSIGNED_TOKENS
public static final java.lang.String RESOURCE_LIST_TOKENS_BY_FIELD
public static final java.lang.String REMOTE_USER
public static final java.lang.String LOCAL_USER
public static final java.lang.String EITHER_PIN_MODE
public static final java.lang.String USER_PIN_MODE
public static final java.lang.String SYSTEM_PIN_MODE
protected static final java.lang.String[] SECURID_ERRORS
protected static final java.lang.String SECURID_TCL_PROMPT
protected static final ScriptToken SECURID_WAIT
protected static final ScriptToken SECURID_CAPTURE
public static final java.lang.String SECURID_RA_LHS_FORCE_NEW_PIN_MODE
public static final java.lang.String SECURID_RA_RHS_FORCE_NEW_PIN_MODE
public static final int TOKEN_DEPTH
public static final java.lang.String[] SECURID_RHS_TOKEN_PIN
public static final java.lang.String[] SECURID_RHS_TOKEN_SERIAL_NUMBER
public static final java.lang.String[] SECURID_RHS_TOKEN_RESYNC
public static final java.lang.String[] SECURID_RHS_TOKEN_FIRST_SEQUENCE
public static final java.lang.String[] SECURID_RHS_TOKEN_NEXT_SEQUENCE
public static final java.lang.String[] SECURID_RHS_TOKEN_DISABLED
public static final java.lang.String[] SECURID_RHS_TOKEN_LOST
public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_PASSWORD
public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_DATE
public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_EXPIRE_HOUR
public static final java.lang.String[] SECURID_RHS_TOKEN_LOST_LIFE_TIME
public static final java.lang.String[] SECURID_RHS_TOKEN_NEW_PIN_MODE
public static final java.lang.String[] SECURID_RHS_TOKEN_CLEAR_PIN
public static final java.lang.String[] SECURID_RHS_TOKEN_UNASSIGN
public static final java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC
public static final java.lang.String[] SECURID_RHS_TOKEN_PIN_TO_NTC_SEQUENCE
public static final java.lang.String SECURID_RHS_DEFAULT_LOGIN
public static final java.lang.String SECURID_RHS_FIRST_NAME
public static final java.lang.String SECURID_RHS_LASTNAME
public static final java.lang.String SECURID_RHS_DEFAULT_SHELL
public static final java.lang.String SECURID_RHS_GROUPS
public static final java.lang.String SECURID_RHS_CLIENTS
public static final java.lang.String SECURID_RHS_ALLOWED_TO_CREATE_PIN
public static final java.lang.String SECURID_RHS_REQUIRED_TO_CREATE_PIN
public static final java.lang.String SECURID_RHS_USER_TYPE
public static final java.lang.String SECURID_RHS_REMOTE_REALM
public static final java.lang.String SECURID_RHS_REMOTE_ALIAS
public static final java.lang.String SECURID_RHS_TEMP_USER
public static final java.lang.String SECURID_RHS_TEMP_START_DATE
public static final java.lang.String SECURID_RHS_TEMP_START_HOUR
public static final java.lang.String SECURID_RHS_TEMP_END_DATE
public static final java.lang.String SECURID_RHS_TEMP_END_HOUR
public static final java.lang.String SECURID_LHS_ADMIN_LEVEL
public static final java.lang.String SECURID_LHS_ADMIN_TASK_LIST
public static final java.lang.String SECURID_LHS_ADMIN_TASK_LIST_TASKS
public static final java.lang.String SECURID_LHS_ADMIN_GROUP
public static final java.lang.String SECURID_LHS_ADMIN_SITE
public static final java.lang.String SECURID_RHS_ADMIN_LEVEL
public static final java.lang.String SECURID_RHS_ADMIN_TASK_LIST
public static final java.lang.String SECURID_RHS_ADMIN_TASK_LIST_TASKS
public static final java.lang.String SECURID_RHS_ADMIN_GROUP
public static final java.lang.String SECURID_RHS_ADMIN_SITE
public static final java.util.Set _fixedAttrNameSet
public static ScriptToken procListTokensByField
protected static final ScriptToken SECURID_DEFAULT_PROMPT
protected static final ScriptToken sendRedefinePrompt
public static final java.lang.String LTBF_FIELD
public static final java.lang.String LTBF_COMPARE_TYPE
public static final java.lang.String LTBF_VALUE
Constructor Detail |
public SecurIdUnixResourceAdapter()
public SecurIdUnixResourceAdapter(Resource res, ObjectCache cache)
Method Detail |
public static java.lang.String[] genTokenNames(java.lang.String name)
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class SVIDResourceAdapter
WavesetException
public GenericObject getFeatures()
getFeatures
in interface ResourceAdapter
getFeatures
in class SVIDResourceAdapter
ResourceAdapter.Features
public java.lang.String getLoginUserAttrName()
getLoginUserAttrName
in class SVIDResourceAdapter
public java.lang.String getLoginPasswordAttrName()
getLoginPasswordAttrName
in class SVIDResourceAdapter
protected java.lang.String constructUserAttributeParameter(java.lang.String key, java.lang.String value)
constructUserAttributeParameter
in class SVIDResourceAdapter
protected WavesetResult getConnectionTestResult(CaptureList captureList) throws WavesetException
getConnectionTestResult
in class SVIDResourceAdapter
WavesetException
protected Script getConnectionTestScript() throws WavesetException
SVIDResourceAdapter
getConnectionTestScript
in class SVIDResourceAdapter
WavesetException
protected Script getLoginScript() throws WavesetException
getLoginScript
in class SVIDResourceAdapter
WavesetException
protected java.lang.String getTclshPath()
protected Script getLogoutScript() throws WavesetException
getLogoutScript
in class SVIDResourceAdapter
WavesetException
protected WavesetResult getTestConnectionResult(CaptureList captureList) throws WavesetException
getTestConnectionResult
in class SVIDResourceAdapter
WavesetException
protected WavesetResult getTestConfigurationResult(CaptureList captureList) throws WavesetException
getTestConfigurationResult
in class UnixResourceAdapter
WavesetException
protected Script getTestConfigurationScript() throws WavesetException
getTestConfigurationScript
in class UnixResourceAdapter
WavesetException
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
UnixResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class UnixResourceAdapter
WavesetException
protected Script getAuthenticateScript(java.util.HashMap loginInfo) throws WavesetException
getAuthenticateScript
in class SVIDResourceAdapter
WavesetException
protected AccountIterator getAccountIteratorResult(CaptureList captureList)
getAccountIteratorResult
in class SVIDResourceAdapter
protected Script getAccountIteratorScript(long timeout, boolean hasTimeout)
getAccountIteratorScript
in class SVIDResourceAdapter
protected Script getAccountIteratorScript()
GenericScriptResourceAdapter
getAccountIteratorScript
in class SVIDResourceAdapter
protected Script getAccountIteratorScript(long timeout)
getAccountIteratorScript
in class SVIDResourceAdapter
protected Script getCreateUserScript(WSUser user) throws WavesetException
getCreateUserScript
in class UnixResourceAdapter
WavesetException
protected Script getDeleteUserScript(WSUser user) throws WavesetException
getDeleteUserScript
in class UnixResourceAdapter
WavesetException
protected void getDeleteUserResult(CaptureList captureList) throws WavesetException
getDeleteUserResult
in class SVIDResourceAdapter
WavesetException
protected Script getDisableUserScript(WSUser user, java.lang.String password) throws WavesetException
getDisableUserScript
in class SVIDResourceAdapter
WavesetException
protected boolean getDisableUserResult(CaptureList captureList) throws WavesetException
getDisableUserResult
in class SVIDResourceAdapter
WavesetException
protected Script getEnableUserScript(WSUser user, java.lang.String password) throws WavesetException
getEnableUserScript
in class SVIDResourceAdapter
WavesetException
protected boolean getEnableUserResult(CaptureList captureList) throws WavesetException
getEnableUserResult
in class SVIDResourceAdapter
WavesetException
protected void getUpdateUserResult(WSUser user, CaptureList captureList, WavesetResult result) throws WavesetException
getUpdateUserResult
in class SVIDResourceAdapter
WavesetException
protected Script getUpdateUserScript(WSUser user, java.lang.String password) throws WavesetException
getUpdateUserScript
in class UnixResourceAdapter
WavesetException
protected ScriptedConnection getScriptedConnection() throws WavesetException
UnixResourceAdapter
getScriptedConnection
in class UnixResourceAdapter
WavesetException
protected WSUser getUserResult(CaptureList captureList, WSUser targetUser) throws WavesetException
getUserResult
in class SVIDResourceAdapter
WavesetException
public static int dumbConvert(java.lang.String s)
public static java.lang.String charSetToString(byte[] array, int start, int end)
public static int dumbConvert(byte[] array, int start, int end)
protected WSUser constructUser(java.lang.String encodedLine, WSUser targetUser) throws WavesetException
WavesetException
protected void addTokenInformation(java.lang.String tokenNumber, java.lang.String tokenData, WSUser user) throws WavesetException
WavesetException
protected void addTokenInformation(int tokenNumber, java.lang.String tokenData, WSUser user) throws WavesetException
WavesetException
protected Script getUserScript(WSUser user) throws WavesetException
getUserScript
in class SVIDResourceAdapter
WavesetException
protected boolean isAllowableUserAttribute(java.lang.String name)
isAllowableUserAttribute
in class SVIDResourceAdapter
protected java.lang.String fetchAttrFromStringTokenizer(java.lang.String rhs, java.util.StringTokenizer token, WSUser user)
public boolean supportsAccountDisable()
SVIDResourceAdapter
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class SVIDResourceAdapter
protected Script getListAllObjectsScript(java.lang.String resObjType, java.util.Map options, java.lang.String runAsUser, EncryptedData runAsPassword) throws WavesetException
getListAllObjectsScript
in class SVIDResourceAdapter
WavesetException
protected java.util.ArrayList getListAllObjectsResult(CaptureList captureList) throws WavesetException
WavesetException
public static java.lang.String tclEscapeQuote(java.lang.String data)
protected boolean includesReject(java.lang.String s)
protected java.lang.String getAttributeForScript(WSUser user, java.lang.String attribName)
protected java.lang.String getResourceAttributeValue(java.lang.String name, java.lang.String defaultValue)
protected java.util.ArrayList getReadOnlyTestCmds()
UnixResourceAdapter
getReadOnlyTestCmds
in class UnixResourceAdapter
protected java.util.ArrayList getRequiredCmds()
UnixResourceAdapter
getRequiredCmds
in class UnixResourceAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |