|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface defines the APIs for a security manager.
| Method Summary | |
void |
addRightsToRole(java.lang.String nameOfRole,
java.lang.String[] rights,
int id)
A security manager must defined a method to Add rights to a role. |
void |
addRightsToService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
A security manager must define a method to add rights to a service. |
void |
addRightsToUser(java.lang.String nameOfUser,
java.lang.String[] rights,
int id)
A security manager must define a method to add rights to a user. |
void |
addRightToRole(java.lang.String nameOfRole,
java.lang.String right,
int id)
A security manager must define a method to add a right to a role. |
void |
addRightToService(java.lang.String nameOfService,
java.lang.String right,
int id)
A security manager must define a method to add a right to a service. |
void |
addRightToUser(java.lang.String nameOfUser,
java.lang.String right,
int id)
A security manager must define a method to add a right to a user. |
void |
addRoleToUser(java.lang.String userId,
java.lang.String role,
int id)
A security manager must define a method to add a role to a user. |
void |
addSubGroup(java.lang.String superGroup,
java.lang.String subGroup,
int id)
A security manager must define a method to add a child group to a parent group. |
void |
addSubRole(java.lang.String superRole,
java.lang.String subRole,
int id)
A security manager must define a method to add a child role to a parent role. |
void |
addUserToGroup(java.lang.String nameOfGroup,
java.lang.String user,
int id)
A security manager must define a method to add a user to a group. |
void |
audit(java.lang.String message)
A security manager must defne a method to write a message to the audit log. |
boolean |
canLogOn(java.lang.String user,
java.lang.String password)
A security manager must define a method to check validity of user id and password. |
void |
changeOwnPassword(java.lang.String oldpassword,
java.lang.String newpassword,
int id)
A security manager must define a method to change a user's own password. |
void |
changePassword(java.lang.String userid,
java.lang.String password,
int id)
A security manager must define a method to change the password of a user. |
boolean |
checkAccess(java.lang.String nameOfService,
int id)
A security manager must define a method to check the accessability of a service by the current user. |
void |
createGroup(java.lang.String group,
int id)
A security manager must define a method to create a group. |
void |
createRight(java.lang.String right,
int id)
A security manager must define a method to create a right. |
void |
createRole(java.lang.String role,
int id)
A security manager must define a method to create a role. |
void |
createRole(java.lang.String role,
RoleHandlerInterface handler,
int id)
A security manager must define a method to create a role with an associated handler. |
void |
createRole(java.lang.String role,
java.lang.String handler,
int id)
A security manager must define a method to create a role with an associated handler. |
void |
createRoles(java.lang.String[] roles,
int id)
A security manager must define a method to create the roles named by the argument. |
void |
createRoles(java.lang.String[] roles,
RoleHandlerInterface[] handlers,
int id)
A security manager must define a method to create the roles named by the argument. |
void |
createRoles(java.lang.String[] roles,
java.lang.String[] handlers,
int id)
A security manager must define a method to create the roles named by the argument. |
void |
createService(java.lang.String service,
int id)
A security manager must define a method to create a service. |
void |
createUser(java.lang.String user,
java.lang.String password,
int id)
A security manager must create a method to create a user with the specified password. |
void |
exportSecurity(java.lang.String userId,
java.lang.String password,
java.lang.String fileName,
Dictionary options)
A security manager must define a method to export the specified security databases into a text file. |
void |
forcedSignOff(int signoffContext,
int callerContext)
A security manager must define a method to disable a context. |
void |
forcedSignOn(java.lang.String userId,
java.lang.String password,
int id)
A security manager must define a method to signon onto another user's context - raising an exception if it fails. |
java.lang.String |
get(java.lang.String key)
A security manager must define a method to return the value of the named configuration attribute. |
java.lang.Object[] |
getActivationIntervalForUser(java.lang.String userId,
int id)
A security manager must define a method to return the activation time, duration and enable flag for the specified user. |
Dictionary |
getAllDataFromContext(int queryContext,
int callerContext)
A security manager must define a method to return all data items from the specified context. |
Dictionary |
getAllDataFromGroup(java.lang.String nameOfGroup,
int id)
A security manager must define a method to return all data items from the specified group. |
Dictionary |
getAllDataFromRight(java.lang.String nameOfRight,
int id)
A security manager must define a method to return all data items from the specified right. |
Dictionary |
getAllDataFromRole(java.lang.String nameOfRole,
int id)
A security manager must define a method to return all data items from the specified role. |
Dictionary |
getAllDataFromService(java.lang.String nameOfService,
int id)
A security manager must define a method to return all data items from the specified service. |
Dictionary |
getAllDataFromUser(java.lang.String userId,
int id)
A security manager must define a method to return all data items from the specified user. |
Dictionary |
getAllInheritedDataFromUser(java.lang.String userId,
int id)
A security manager must define a method to return all Inherited data items from the specified user. |
java.lang.String[] |
getAllMembersOfGroup(java.lang.String nameOfGroup,
int id)
A security manager must define a method to return a list of all direct or indirect members (users) of the specified group. |
java.lang.String[] |
getAllRightsOfUser(java.lang.String userId,
int id)
A security manager must define a method to return the list of names of all rights assigned to this user either directly or indirectly via roles or subroles thereof. |
java.lang.String[] |
getAllSubgroups(java.lang.String nameOfGroup,
boolean include,
int id)
A security manager must define a method to return a list of all the subgroups (direct or indirect) of the specified group. |
Dictionary |
getAttributesOfUser(java.lang.String userId,
int id)
A security manager must define a method to return a list of the attributes of the specified user. |
boolean |
getAudit()
A security manager must define a method to get the audit control flag. |
java.lang.String[] |
getAvailableServices(int id)
A security manager must define a method to return the list of all services that the current user is authorized to access. |
java.lang.String[] |
getChildrenOfRole(java.lang.String nameOfRole,
int id)
A security manager must define a method to return the list of child roles of the specified role. |
Dictionary |
getConfiguration(int id)
A security manager must define a method to return a dictionary of the current state of the system configurations. |
Dictionary |
getConfigurationAttributes()
A security manager must define a method to return the table of all configuration attributes. |
Dictionary |
getContainerLmt(SecurityLimit aLimit)
Returns a copy of the container limit information of aLimit |
Dictionary |
getContainerLmt(java.lang.String userid,
java.lang.String curCode,
java.lang.String containerType,
java.lang.String containerSubType)
Returns a copy of the container limit information of the limit that matches the parameters request |
int[] |
getContexts(int id)
A security manager must define a method to return a list of the ids of the contexts. |
int[] |
getContexts(java.lang.String userId,
java.lang.String password,
int type)
A security manager must define a method to return the list of all the contexts. |
int[] |
getContextsOfUser(java.lang.String userId,
int type,
int id)
A security manager must define a method to return a list of the ids of the contexts (active or inactive or both) of the specified user. |
Dictionary[] |
getContextsWithAttributes(int id)
A security manager must define a method to return the list of attributes of all the contexts. |
Dictionary[] |
getContextsWithAttributes(int[] contexts,
int id)
A security manager must define a method to return the list of context attribute sets. |
java.lang.String[] |
getCreatedRights(int id)
A security manager must define a method to return a list of the names of the user created rights. |
java.lang.String |
getDataFromContext(int contextId,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified context. |
java.lang.String |
getDataFromGroup(java.lang.String nameOfGroup,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified group. |
Dictionary |
getDataFromLimit(SecurityLimit aLimit)
Returns the data item from the specified limit. |
java.lang.String |
getDataFromLimit(SecurityLimit aLimit,
java.lang.String dataName)
A security manager must define a method to return the named data item from the specified user. |
java.lang.String |
getDataFromRight(java.lang.String nameOfRight,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified right. |
java.lang.String |
getDataFromRole(java.lang.String nameOfRole,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified role. |
java.lang.String |
getDataFromService(java.lang.String nameOfService,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified service. |
java.lang.String |
getDataFromUser(java.lang.String userId,
java.lang.String dataName,
int id)
A security manager must define a method to return the named data item from the specified user. |
java.lang.String[] |
getGroups(int id)
A security manager must define a method to return a list of the names of the groups. |
Dictionary[] |
getGroupsWithAttributes(int id)
A security manager must define a method to return a list of attributes of all the groups. |
Dictionary[] |
getGroupsWithAttributes(java.lang.String[] groups,
int id)
A security manager must define a method to return a list of attributes of the specified groups. |
java.lang.String |
getHandler(java.lang.String nameOfRole,
int id)
A security manager must define a method to return the name of the handler class associated with the named role. |
java.lang.String |
getInheritedDataFromGroup(java.lang.String nameOfGroup,
java.lang.String dataName,
int id)
A security manager must define a method to return the value associated with specified name in the specified group or the closest supergroup. |
java.lang.String |
getInheritedDataFromUser(java.lang.String nameOfUser,
java.lang.String dataName,
int id)
A security manager must define a method to return the value associated with specified name in the specified user or the closest group. |
java.lang.String |
getJDBCDatabase()
A security manager must define a method to return the name of the JDBC database. |
java.lang.String |
getJDBCDriver()
A security manager must define a method to return the name of the JDBC driver. |
java.lang.String |
getJDBCURL()
A security manager must define a method to return the name of the JDBC URL. |
Array |
getLimitsOfUser(java.lang.String userid)
Returns all limits of the specified user. |
java.lang.String[] |
getMembersOfGroup(java.lang.String nameOfGroup,
int id)
A security manager must define a method to return the list of names of users that are direct members of the specified group. |
Dictionary[] |
getOwnAttributes(int id)
A security manager must define a method to return the attributes of the current user and the current context. |
java.lang.String[] |
getRights(int id)
A security manager must define a method to return a list of the names of the rights. |
java.lang.String[] |
getRightsOfRole(java.lang.String nameOfRole,
int id)
A security manager must define a method to return the list of names of rights of the specified role. |
java.lang.String[] |
getRightsOfService(java.lang.String nameOfService,
int id)
A security manager must define a method to return the list of names of rights of the specified service. |
java.lang.String[] |
getRightsOfUser(int id)
A security manager must define a method to return the list of names of rights of the specified user. |
java.lang.String[] |
getRightsOfUser(java.lang.String userId,
int id)
A security manager must define a method to return the list of names of rights of the specified user. |
Dictionary[] |
getRightsWithAttributes(int id)
A security manager must define a method to return the list of attributes of all the rights. |
Dictionary[] |
getRightsWithAttributes(java.lang.String[] rights,
int id)
A security manager must define a method to return the list of right attribute sets. |
java.lang.String[] |
getRoles(int id)
A security manager must define a method to return a list of the names of the roles. |
java.lang.String[] |
getRolesOfUser(int id)
A security manager must define a method to return the list of names of roles of the specified user. |
java.lang.String[] |
getRolesOfUser(java.lang.String userId,
int id)
A security manager must define a method to return the list of names of roles of the specified user. |
Dictionary[] |
getRolesWithAttributes(int id)
A security manager must define a method to return the list of attributes of all the roles. |
Dictionary[] |
getRolesWithAttributes(java.lang.String[] roles,
int id)
A security manager must define a method to return the list of role attribute sets. |
java.lang.String[] |
getServices(int id)
A security manager must define a method to return a list of the names of the services. |
Dictionary[] |
getServicesWithAttributes(int id)
A security manager must define a method to return the list of attributes of all the services. |
Dictionary[] |
getServicesWithAttributes(java.lang.String[] services,
int id)
A security manager must define a method to return the list of service attribute sets. |
int |
getStatusOfContextId(int id)
A security manager must define a method to return the status of the specified context. |
java.lang.String[] |
getSubGroups(java.lang.String nameOfGroup,
int id)
A security manager must define a method to return the list of subgroups of the specified group. |
java.lang.String[] |
getSystemRoles(int id)
A security manager must define a method to return the names of the system-wide roles. |
boolean |
getTrace()
A security manager must define a method to return the value of the trace flag. |
Dictionary |
getTransactionLmt(SecurityLimit aLimit)
Returns a copy of the transaction limit information of aLimit |
Dictionary |
getTransactionLmt(java.lang.String userid,
java.lang.String curCode,
java.lang.String transType)
Returns a copy of the transaction limit information of the limit that matches the parameters request |
java.lang.String |
getUser(int id)
A security manager must define a method to return the login user id. |
java.lang.String[] |
getUsers(int id)
A security manager must define a method to return a list of the ids of the configured users. |
Dictionary[] |
getUsersWithAttributes(int id)
A security manager must define a method to return the list of attributes of all the users. |
Dictionary[] |
getUsersWithAttributes(java.lang.String[] users,
int id)
A security manager must define a method to return the list of user attribute sets. |
boolean |
hasRight(java.lang.String right,
int id)
A security manager must define a method to check if current user has the specified right (directly or indirectly) and that its active. |
boolean |
hasRight(java.lang.String userid,
java.lang.String right,
int id)
A security manager must define a method to check if the specified user has the specified right (directly or indirectly) and that its active. |
boolean |
hasRight(java.lang.String userid,
java.lang.String password,
java.lang.String right,
int id)
A security manager must define a method to check if the specified user has the specified right (directly or indirectly) and that its active. |
boolean |
hasSubgroup(java.lang.String supergroup,
java.lang.String subgroup,
int id)
A security manager must define a method to check if 'supergroup' has 'subgroup' as a subgroup. |
void |
importSecurity(java.lang.String userId,
java.lang.String password,
java.lang.String fileName,
Dictionary options)
A security manager must define a method to import the specified security databases from a text file. |
void |
initialize(Dictionary dictionary)
A security manager must define a method to initialize the security manager. |
boolean |
isMemberOfGroup(java.lang.String nameOfGroup,
java.lang.String userID,
boolean direct,
int id)
A security manager must define a method to check if the specified user is a direct or indirect member of the specified group. |
void |
lock(java.lang.String userid,
int id)
A security manager must define a method to lockout the specified user. |
void |
logOff(int id)
A security manager must define a method to log off the specified user. |
void |
logOff(java.lang.String userid,
java.lang.String password,
int options,
int[] contexts)
A security manager must define a method to logoff the specified contexts of the specified user. |
int |
logOn(java.lang.String user,
java.lang.String password)
A security manager must define a method to perform a logon. |
int |
logOn(java.lang.String userId,
java.lang.String password,
java.lang.Object object)
A security manager must define a method to perform a logon. |
boolean |
queryForcedSignOff(int id)
A security manager must define a method to return forced sign off status of the current context. |
boolean |
queryLock(java.lang.String userid,
int id)
A security manager must define a method to query the lock status of the specified user. |
void |
removeGroup(java.lang.String group,
int id)
A security manager must define a method to remove a group. |
void |
removeRight(java.lang.String right,
int id)
A security manager must define a method to remove a right. |
void |
removeRightFromRole(java.lang.String nameOfRole,
java.lang.String right,
int id)
A security manager must define a method to remove a right from a role. |
void |
removeRightFromService(java.lang.String nameOfService,
java.lang.String right,
int id)
A security manager must define a method to remove a right from a service. |
void |
removeRightFromUser(java.lang.String nameOfUser,
java.lang.String right,
int id)
A security manager must define a method to remove the specified right from the user. |
void |
removeRightsFromRole(java.lang.String nameOfRole,
java.lang.String[] rights,
int id)
A security manager must define a method to remove rights from a role. |
void |
removeRightsFromService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
A security manager must define a method to remove rights from a service. |
void |
removeRightsFromUser(java.lang.String nameOfUser,
java.lang.String[] rights,
int id)
A security manager must define a method to remove the specified rights from the user. |
void |
removeRole(java.lang.String role,
int id)
A security manager must define a method to remove a role. |
void |
removeRoleFromUser(java.lang.String userId,
java.lang.String role,
int id)
A security manager must define a method to remove the specified role from the user. |
boolean |
removeRoles(java.lang.String[] rolesToDelete,
java.lang.String[] options,
int id)
A security manager must define a method to delete the named roles subject to the specified options. |
void |
removeService(java.lang.String service,
int id)
A security manager must define a method to remove a service. |
void |
removeSubGroup(java.lang.String superGroup,
java.lang.String subGroup,
int id)
A security manager must define a method to remove a child group from a parent group. |
void |
removeSubRole(java.lang.String superRole,
java.lang.String subRole,
int id)
A security manager must define a method to remove a child role from a parent role. |
void |
removeUser(java.lang.String user,
int id)
A security manager must define a method to remove a user. |
void |
removeUserFromGroup(java.lang.String nameOfGroup,
java.lang.String user,
int id)
A security manager must define a method to remove a user from a group. |
void |
save(boolean[] list,
int id)
A security manager must define a method to force a save of selected databases even if persistence is disabled. |
void |
setActivationIntervalForUser(java.lang.String userId,
long startTime,
long duration,
boolean limit,
int id)
A security manager must define a method to set the activation time, duration and enable flag for the specified user. |
void |
setAllDataForContext(int contextId,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the context. |
void |
setAllDataForGroup(java.lang.String nameOfGroup,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the specified group. |
void |
setAllDataForRight(java.lang.String nameOfRight,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the specified right. |
void |
setAllDataForRole(java.lang.String nameOfRole,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the specified role. |
void |
setAllDataForService(java.lang.String nameOfService,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the specified service. |
void |
setAllDataForUser(java.lang.String userId,
Dictionary dictionary,
int id)
A security manager must define a method to set all data items for the specified user. |
void |
setAttributesOfUser(java.lang.String userId,
Dictionary attributes,
boolean set,
int id)
A security manager must define a method to set the attributes of the specified user. |
void |
setAudit(boolean auditFlag)
A security manager must define a method to set the audit control flag. |
void |
setConfiguration(Dictionary configurations,
int id)
A security manager must define a method to set the specified system configurations to the specified values. |
void |
setDataForContext(int contextId,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified context. |
void |
setDataForGroup(java.lang.String nameOfGroup,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified group. |
void |
setDataForRight(java.lang.String nameOfRight,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified right. |
void |
setDataForRole(java.lang.String nameOfRole,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified role. |
void |
setDataForService(java.lang.String nameOfService,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified service. |
void |
setDataForUser(java.lang.String userid,
java.lang.String key,
java.lang.String value,
int id)
A security manager must define a method to add, change or remove the named data item for the specified user. |
void |
setExpiryForRights(java.lang.String userid,
java.lang.String[] rights,
long start,
long duration,
int id)
A security manager must define a method to define the lifetime of a set of rights associated with a user. |
void |
setExpiryForRoles(java.lang.String userid,
java.lang.String[] roles,
long start,
long duration,
int id)
A security manager must define a method to define the lifetime of a set of roles associated with a user. |
void |
setHandler(java.lang.String nameOfRole,
java.lang.String handler,
int id)
A security manager must define a method to set the handler for the named role. |
void |
setRightsForService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
A security manager must define a method to set the required rights for a service. |
void |
setRightsForUser(java.lang.String userid,
java.lang.String[] rights,
int id)
A security manager must define a method to set the rights for a user. |
void |
setRolesForUser(java.lang.String userid,
java.lang.String[] roles,
int id)
A security manager must define a method to set the roles for a user. |
void |
setSystemRoles(java.lang.String[] roles,
int id)
A security manager must define a method to set the names of the system-wide roles. |
void |
setTrace(boolean tracing)
A security manager must define a method to enable or disable tracing. |
void |
shutdown(int id)
A security manager must define a method to shutdown the security component. |
void |
signOff(int id)
A security manager must define a method to disable the user's current context. |
int |
signOn(java.lang.String userId,
java.lang.String password)
A security manager must define a method to signon the user - raising an exception if it fails. |
void |
signOn(java.lang.String userId,
java.lang.String password,
int id)
A security manager must define a method to signon the user - raising an exception if it fails. |
java.lang.Object |
test(int cmd,
Dictionary options,
int id)
A security manager must define a method to perform a test command. |
void |
unlock(java.lang.String userid,
int id)
A security manager must define a method to unlock the specified user. |
void |
verify(int id)
A security manager must define a method to verify all security databases for consistency. |
| Method Detail |
public void addRightsToRole(java.lang.String nameOfRole,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to modify.rights - String[] - the list of names of rights that are to be added to the role.id - int - the context id of the requestor.
public void addRightsToService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to modify.rights - String[] - the list of names of rights that are to be added to the service.id - int - the context id of the requestor.
public void addRightsToUser(java.lang.String nameOfUser,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfUser - String - the name of the user that is to receive the new rights.rights - String[] - the list of names of rights that are to be added to the user.id - int - the context id of the requestor.
public void addRightToRole(java.lang.String nameOfRole,
java.lang.String right,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to modify.right - String - the name of the right to add to the role.id - int - the context id of the requestor.
public void addRightToService(java.lang.String nameOfService,
java.lang.String right,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to modify.right - String - the name of the right to add to the service.id - int - the context id of the requestor.
public void addRightToUser(java.lang.String nameOfUser,
java.lang.String right,
int id)
throws DSESecurityException
nameOfUser - String - the name of the user that is to receive the new right.right - String - the name of the right that is to be added to the user.id - int - the context id of the requestor.
public void addRoleToUser(java.lang.String userId,
java.lang.String role,
int id)
throws DSESecurityException
userId - String - the name of the user that is to receive the new role.role - String - the name of the role.id - int - the context id of the requestor.
public void addSubGroup(java.lang.String superGroup,
java.lang.String subGroup,
int id)
throws DSESecurityException
superGroup - String - the name of the parent group.subGroup - String - the name of the child group.id - int - the context id of the requestor.
public void addSubRole(java.lang.String superRole,
java.lang.String subRole,
int id)
throws DSESecurityException
superRole - String - the name of the parent role.subRole - String - the name of the child role.id - int - the context id of the requestor.
public void addUserToGroup(java.lang.String nameOfGroup,
java.lang.String user,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group that is to receive the new user.user - String - the name of the user.id - int - the context id of the requestor.public void audit(java.lang.String message)
message - String - the message to log.
public boolean canLogOn(java.lang.String user,
java.lang.String password)
throws DSESecurityException
user - String - the user id.password - String - the password.
public void changeOwnPassword(java.lang.String oldpassword,
java.lang.String newpassword,
int id)
throws DSESecurityException
oldpassword - String - the old password.newpassword - String - the new password.id - int - the context id of the requestor.
public void changePassword(java.lang.String userid,
java.lang.String password,
int id)
throws DSESecurityException
userid - String - the name of the user.password - String - the new password to associate with the user.id - int - the context id of the requestor.
public boolean checkAccess(java.lang.String nameOfService,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to check.id - int - the context id of the requestor.
public void createGroup(java.lang.String group,
int id)
throws DSESecurityException
group - String - the name of the group to create.id - int - the context id of the requestor.
public void createRight(java.lang.String right,
int id)
throws DSESecurityException
right - String - the name of the right to create.id - int - the context id of the requestor.
public void createRole(java.lang.String role,
int id)
throws DSESecurityException
role - String - the name of the role to create.id - int - the context id of the requestor.
public void createRole(java.lang.String role,
RoleHandlerInterface handler,
int id)
throws DSESecurityException
role - String - the name of the role to create.handler - RoleHandlerInterface - the role handler.id - int - the context id of the requestor.
public void createRole(java.lang.String role,
java.lang.String handler,
int id)
throws DSESecurityException
role - String - the name of the role to create.handler - String - the name of the class of the role handler.id - int - the context id of the requestor.
public void createRoles(java.lang.String[] roles,
RoleHandlerInterface[] handlers,
int id)
throws DSESecurityException
roles - String[] - the names of the roles to create.handlers - RoleHandlerInterface[] - the role handlers or null if you don't want to associate handlers with the roles.id - int - the context id of the requestor.
public void createRoles(java.lang.String[] roles,
java.lang.String[] handlers,
int id)
throws DSESecurityException
roles - String[] - the names of the roles to create.handlers - String[] - the role handlers or null if you don't want to associate handlers with the roles.id - int - the context id of the requestor.
public void createRoles(java.lang.String[] roles,
int id)
throws DSESecurityException
roles - String[] - the names of the roles to create.id - int - the context id of the requestor.
public void createService(java.lang.String service,
int id)
throws DSESecurityException
service - String - the name of the service to create.id - int - the context id of the requestor.
public void createUser(java.lang.String user,
java.lang.String password,
int id)
throws DSESecurityException
user - String - the name of the user to create.password - String - the password to associate with the user.id - int - the context id of the requestor.
public void exportSecurity(java.lang.String userId,
java.lang.String password,
java.lang.String fileName,
Dictionary options)
throws DSESecurityException
userId - String - the user id of the requestor.password - String - the password of the requestor.fileName - String - the name of the text file.options - Dictionary - the list of options for this operation.
public void forcedSignOff(int signoffContext,
int callerContext)
throws DSESecurityException
signoffContext - int - the id of the context to sign off.callerContext - int - the id of the context of the caller.
public void forcedSignOn(java.lang.String userId,
java.lang.String password,
int id)
throws DSESecurityException
userId - String - your user id.password - String - your password.id - int - the context id of the other user.public java.lang.String get(java.lang.String key)
key - String - the name of the configuration attribute.
public java.lang.Object[] getActivationIntervalForUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public Dictionary getAllDataFromContext(int queryContext,
int callerContext)
throws DSESecurityException
queryContext - int - the context id to query.callerContext - int - the context id of the requestor.
public Dictionary getAllDataFromGroup(java.lang.String nameOfGroup,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.id - int - the context id of the requestor.
public Dictionary getAllDataFromRight(java.lang.String nameOfRight,
int id)
throws DSESecurityException
nameOfRight - String - the name of the right to access.id - int - the context id of the requestor.
public Dictionary getAllDataFromRole(java.lang.String nameOfRole,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.id - int - the context id of the requestor.
public Dictionary getAllDataFromService(java.lang.String nameOfService,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to access.id - int - the context id of the requestor.
public Dictionary getAllDataFromUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public Dictionary getAllInheritedDataFromUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public java.lang.String[] getAllMembersOfGroup(java.lang.String nameOfGroup,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.id - int - the context id of the requestor.
public java.lang.String[] getAllRightsOfUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public java.lang.String[] getAllSubgroups(java.lang.String nameOfGroup,
boolean include,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.include - boolean - true or false to include or exclude the specified group respectively.id - int - the context id of the requestor.
public Dictionary getAttributesOfUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the user who's attributes are to be queried.id - int - the context id of the requestor.public boolean getAudit()
auditFlag - boolean - the audit flag.
public java.lang.String[] getAvailableServices(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getChildrenOfRole(java.lang.String nameOfRole,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.id - int - the context id of the requestor.
public Dictionary getConfiguration(int id)
throws DSESecurityException
id - int - the context id of the requestor.public Dictionary getConfigurationAttributes()
public Dictionary getContainerLmt(SecurityLimit aLimit)
throws DSESecurityException
aLimit - SecurityLimit - The limit to take container information from.
public Dictionary getContainerLmt(java.lang.String userid,
java.lang.String curCode,
java.lang.String containerType,
java.lang.String containerSubType)
throws DSESecurityException
userid - java.lang.String - The user the limit belongs to.curCode - java.lang.String - The currency Code of the limit.containerType - java.lang.String - The containerType of the limitcontainerSubType - java.lang.String - The containerSubType of the limit
public int[] getContexts(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public int[] getContexts(java.lang.String userId,
java.lang.String password,
int type)
throws DSESecurityException
userId - String - the user id.password - String - the password.type - int - the type of contexts to query.
public int[] getContextsOfUser(java.lang.String userId,
int type,
int id)
throws DSESecurityException
userId - String - the name of the user to query.type - int - type of query: SecurityConstants.AllContexts, SecurityConstants.ActiveContexts or SecurityConstants.InactiveContexts.id - int - the context id of the requestor.
public Dictionary[] getContextsWithAttributes(int[] contexts,
int id)
throws DSESecurityException
contexts - int[] - the list of contexts to interrogate.id - int - the context id of the requestor.
public Dictionary[] getContextsWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getCreatedRights(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String getDataFromContext(int contextId,
java.lang.String dataName,
int id)
throws DSESecurityException
contextId - int - the id of the context to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String getDataFromGroup(java.lang.String nameOfGroup,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public Dictionary getDataFromLimit(SecurityLimit aLimit)
throws DSESecurityException
aLimit - SecurityLimit- the limit to retrieve information from.
public java.lang.String getDataFromLimit(SecurityLimit aLimit,
java.lang.String dataName)
throws DSESecurityException
aLimit - SecurityLimit - the limit to retrieve information from .dataName - String - the name of the data item.
public java.lang.String getDataFromRight(java.lang.String nameOfRight,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfRight - String - the name of the right to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String getDataFromRole(java.lang.String nameOfRole,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String getDataFromService(java.lang.String nameOfService,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String getDataFromUser(java.lang.String userId,
java.lang.String dataName,
int id)
throws DSESecurityException
userId - String - the name of the user to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String[] getGroups(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public Dictionary[] getGroupsWithAttributes(java.lang.String[] groups,
int id)
throws DSESecurityException
groups - String[] - the list of groups to interrogate.id - int - the context id of the requestor.
public Dictionary[] getGroupsWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String getHandler(java.lang.String nameOfRole,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.id - int - the context id of the requestor.
public java.lang.String getInheritedDataFromGroup(java.lang.String nameOfGroup,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.dataName - String - the name of the data item.id - int - the context id of the requestor.
public java.lang.String getInheritedDataFromUser(java.lang.String nameOfUser,
java.lang.String dataName,
int id)
throws DSESecurityException
nameOfUser - String - the name of the user to access.dataName - String - the name of the data item.id - int - the context id of the requestor.public java.lang.String getJDBCDatabase()
public java.lang.String getJDBCDriver()
public java.lang.String getJDBCURL()
public Array getLimitsOfUser(java.lang.String userid)
throws DSESecurityException
userid - java.lang.String - the userid the limits belong to
public java.lang.String[] getMembersOfGroup(java.lang.String nameOfGroup,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.id - int - the context id of the requestor.
public Dictionary[] getOwnAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRights(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRightsOfRole(java.lang.String nameOfRole,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.id - int - the context id of the requestor.
public java.lang.String[] getRightsOfService(java.lang.String nameOfService,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to access.id - int - the context id of the requestor.
public java.lang.String[] getRightsOfUser(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRightsOfUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public Dictionary[] getRightsWithAttributes(java.lang.String[] rights,
int id)
throws DSESecurityException
rights - String[] - the list of rights to interrogate.id - int - the context id of the requestor.
public Dictionary[] getRightsWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRoles(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRolesOfUser(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getRolesOfUser(java.lang.String userId,
int id)
throws DSESecurityException
userId - String - the name of the user to access.id - int - the context id of the requestor.
public Dictionary[] getRolesWithAttributes(java.lang.String[] roles,
int id)
throws DSESecurityException
roles - String[] - the list of roles to interrogate.id - int - the context id of the requestor.
public Dictionary[] getRolesWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getServices(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public Dictionary[] getServicesWithAttributes(java.lang.String[] services,
int id)
throws DSESecurityException
services - String[] - the list of services to interrogate.id - int - the context id of the requestor.
public Dictionary[] getServicesWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public int getStatusOfContextId(int id)
throws DSESecurityException
id - int - the context id to check.
public java.lang.String[] getSubGroups(java.lang.String nameOfGroup,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.id - int - the context id of the requestor.
public java.lang.String[] getSystemRoles(int id)
throws DSESecurityException
id - int - the context id of the requestor.public boolean getTrace()
public Dictionary getTransactionLmt(SecurityLimit aLimit)
throws DSESecurityException
aLimit - SecurityLimit - The limit to take transaction information from.
public Dictionary getTransactionLmt(java.lang.String userid,
java.lang.String curCode,
java.lang.String transType)
throws DSESecurityException
userid - java.lang.String - The user the limit belongs to.curCode - java.lang.String - The currency Code of the limit.transactionType - java.lang.String - The transactionType of the limit
public java.lang.String getUser(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public java.lang.String[] getUsers(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public Dictionary[] getUsersWithAttributes(java.lang.String[] users,
int id)
throws DSESecurityException
users - String[] - the list of users to interrogate.id - int - the context id of the requestor.
public Dictionary[] getUsersWithAttributes(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public boolean hasRight(java.lang.String right,
int id)
throws DSESecurityException
right - String - the name of the right to check.id - int - the context id of the requestor.
public boolean hasRight(java.lang.String userid,
java.lang.String right,
int id)
throws DSESecurityException
userid - String - the name of the user to check.right - String - the name of the right to check.id - int - the context id of the requestor.
public boolean hasRight(java.lang.String userid,
java.lang.String password,
java.lang.String right,
int id)
throws DSESecurityException
userid - String - the name of the user to check.password - String - the password for the specified user.right - String - the name of the right to check.id - int - the context id of the requestor.
public boolean hasSubgroup(java.lang.String supergroup,
java.lang.String subgroup,
int id)
throws DSESecurityException
supergroup - String - the name of the supergroup.subgroup - String - the name of the subgroup.id - int - the context id of the requestor.
public void importSecurity(java.lang.String userId,
java.lang.String password,
java.lang.String fileName,
Dictionary options)
throws DSESecurityException
userId - String - the user id of the requestor.password - String - the password of the requestor.fileName - String - the name of the text file.options - Dictionary - the list of options for this operation.
public void initialize(Dictionary dictionary)
throws DSESecurityException
dictionary - Dictionary - the configuration parameters.
public boolean isMemberOfGroup(java.lang.String nameOfGroup,
java.lang.String userID,
boolean direct,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group.userID - String - the name of the user.direct - boolean - if true then check only direct membership, if false then check direct/indirect membership.id - int - the context id of the requestor.
public void lock(java.lang.String userid,
int id)
throws DSESecurityException
userid - String - the name of the user to lock.id - int - the context id of the requestor.
public void logOff(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public void logOff(java.lang.String userid,
java.lang.String password,
int options,
int[] contexts)
throws DSESecurityException
userid - String - the user to be affected.password - String - the password of the specified user.options - int - the type of contexts to logoff.contexts - int[] - the list of specified contexts to logoff.
public int logOn(java.lang.String user,
java.lang.String password)
throws DSESecurityException
user - String - the name of the user to logon.password - String - the password.
public int logOn(java.lang.String userId,
java.lang.String password,
java.lang.Object object)
throws DSESecurityException
userId - String - the name of the user to logon.password - String - the password.object - Object - an arbitrary object which is passed on to the role handlers. The default code ignores it.
public boolean queryForcedSignOff(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public boolean queryLock(java.lang.String userid,
int id)
throws DSESecurityException
userid - String - the name of the user to query.id - int - the context id of the requestor.
public void removeGroup(java.lang.String group,
int id)
throws DSESecurityException
group - String - the name of the group to remove.id - int - the context id of the requestor.
public void removeRight(java.lang.String right,
int id)
throws DSESecurityException
right - String - the name of the right to remove.id - int - the context id of the requestor.
public void removeRightFromRole(java.lang.String nameOfRole,
java.lang.String right,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to modify.right - String - the name of the right to remove from the role.id - int - the context id of the requestor.
public void removeRightFromService(java.lang.String nameOfService,
java.lang.String right,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to modify.right - String - the name of the right to remove from the service.id - int - the context id of the requestor.
public void removeRightFromUser(java.lang.String nameOfUser,
java.lang.String right,
int id)
throws DSESecurityException
nameOfUser - String - the name of the user to change.right - String - the name of the right to remove.id - int - the context id of the requestor.
public void removeRightsFromRole(java.lang.String nameOfRole,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to modify.rights - String[] - the list of names of rights that are to be removed from the role.id - int - the context id of the requestor.
public void removeRightsFromService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to modify.rights - String[] - the list of names of rights that are to be removed from the service.id - int - the context id of the requestor.
public void removeRightsFromUser(java.lang.String nameOfUser,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfUser - String - the name of the user to change.rights - String[] - the list of names of rights to remove.id - int - the context id of the requestor.
public void removeRole(java.lang.String role,
int id)
throws DSESecurityException
role - String - the name of the role to remove.id - int - the context id of the requestor.
public void removeRoleFromUser(java.lang.String userId,
java.lang.String role,
int id)
throws DSESecurityException
userId - String - the name of the user to change.role - String - the name of the role to remove.id - int - the context id of the requestor.
public boolean removeRoles(java.lang.String[] rolesToDelete,
java.lang.String[] options,
int id)
throws DSESecurityException
rolesToDelete - String[] - the names of the roles to delete.options - String[] - the options for this command.id - int - the context id of the requestor.
public void removeService(java.lang.String service,
int id)
throws DSESecurityException
service - String - the name of the service to remove.id - int - the context id of the requestor.
public void removeSubGroup(java.lang.String superGroup,
java.lang.String subGroup,
int id)
throws DSESecurityException
superGroup - String - the name of the parent group.subGroup - String - the name of the child group.id - int - the context id of the requestor.
public void removeSubRole(java.lang.String superRole,
java.lang.String subRole,
int id)
throws DSESecurityException
superRole - String - the name of the role to modify.subRole - String - the name of the role to be removed.id - int - the context id of the requestor.
public void removeUser(java.lang.String user,
int id)
throws DSESecurityException
user - String - the name of the user to remove.id - int - the context id of the requestor.
public void removeUserFromGroup(java.lang.String nameOfGroup,
java.lang.String user,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group.user - String - the name of the user.id - int - the context id of the requestor.
public void save(boolean[] list,
int id)
throws DSESecurityException
list - boolean[] - for each true - force a save of the corresponding database.id - int - the context id of the requestor.
public void setActivationIntervalForUser(java.lang.String userId,
long startTime,
long duration,
boolean limit,
int id)
throws DSESecurityException
userId - String - the name of the user to access.startTime - long - this user's activation time as milliseconds since January 1, 1970, 00:00:00 GMT.duration - long - this user's duration of activation in milliseconds.limit - boolean - if true then temporary user else permanent user.id - int - the context id of the requestor.
public void setAllDataForContext(int contextId,
Dictionary dictionary,
int id)
throws DSESecurityException
contextId - int - the id of the context to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAllDataForGroup(java.lang.String nameOfGroup,
Dictionary dictionary,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAllDataForRight(java.lang.String nameOfRight,
Dictionary dictionary,
int id)
throws DSESecurityException
nameOfRight - String - the name of the right to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAllDataForRole(java.lang.String nameOfRole,
Dictionary dictionary,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAllDataForService(java.lang.String nameOfService,
Dictionary dictionary,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAllDataForUser(java.lang.String userId,
Dictionary dictionary,
int id)
throws DSESecurityException
userId - String - the name of the user to access.dictionary - Dictionary - the data dictionary.id - int - the context id of the requestor.
public void setAttributesOfUser(java.lang.String userId,
Dictionary attributes,
boolean set,
int id)
throws DSESecurityException
userId - String - the user who's attributes are to be changed.attributes - Dictionary - the new attributes.set - boolean - if true then set all the attributes else change the specified attributes only.id - int - the context id of the requestor.public void setAudit(boolean auditFlag)
auditFlag - boolean - the audit flag.
public void setConfiguration(Dictionary configurations,
int id)
throws DSESecurityException
configurations - Dictionary - the configuration dictionary.id - int - the context id of the requestor.
public void setDataForContext(int contextId,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
contextId - int - the id of the context to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setDataForGroup(java.lang.String nameOfGroup,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
nameOfGroup - String - the name of the group to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setDataForRight(java.lang.String nameOfRight,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
nameOfRight - String - the name of the right to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setDataForRole(java.lang.String nameOfRole,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setDataForService(java.lang.String nameOfService,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setDataForUser(java.lang.String userid,
java.lang.String key,
java.lang.String value,
int id)
throws DSESecurityException
userid - String - the name of the user to access.key - String - the name of the data item.value - String - the data item (null removes the item).id - int - the context id of the requestor.
public void setExpiryForRights(java.lang.String userid,
java.lang.String[] rights,
long start,
long duration,
int id)
throws DSESecurityException
userid - String - the name of the user to change.rights - String[] - the set of names of rights to affect.start - long - the enable time for the rights (milliseconds since epoch).duration - long - the duration of validity for the rights (in milliseconds).id - int - the context id of the requestor.
public void setExpiryForRoles(java.lang.String userid,
java.lang.String[] roles,
long start,
long duration,
int id)
throws DSESecurityException
userid - String - the name of the user to change.roles - String[] - the set of names of roles to affect.start - long - the enable time for the roles (milliseconds since epoch).duration - long - the duration of validity for the roles (in milliseconds).id - int - the context id of the requestor.
public void setHandler(java.lang.String nameOfRole,
java.lang.String handler,
int id)
throws DSESecurityException
nameOfRole - String - the name of the role to modify.handler - String - the name of the class of the handler.id - int - the context id of the requestor.
public void setRightsForService(java.lang.String nameOfService,
java.lang.String[] rights,
int id)
throws DSESecurityException
nameOfService - String - the name of the service to change.rights - String[] - the list of names of rights to set.id - int - the context id of the requestor.
public void setRightsForUser(java.lang.String userid,
java.lang.String[] rights,
int id)
throws DSESecurityException
userid - String - the name of the user that is to receive the new rights.rights - String[] - the list of names of rights that the user is now to have.id - int - the context id of the requestor.
public void setRolesForUser(java.lang.String userid,
java.lang.String[] roles,
int id)
throws DSESecurityException
userid - String - the name of the user that is to receive the new roles.roles - String[] - the list of names of roles that the user is now to have.id - int - the context id of the requestor.
public void setSystemRoles(java.lang.String[] roles,
int id)
throws DSESecurityException
roles - String[] - the names of the system-wide roles.id - int - the context id of the requestor.public void setTrace(boolean tracing)
tracing - boolean - if true then enable tracing, if false then disable tracing.
public void shutdown(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public void signOff(int id)
throws DSESecurityException
id - int - the context id of the requestor.
public int signOn(java.lang.String userId,
java.lang.String password)
throws DSESecurityException
userId - String - the user id.password - String - the password.
public void signOn(java.lang.String userId,
java.lang.String password,
int id)
throws DSESecurityException
userId - String - the user id.password - String - the password.id - int - the id of the context to signon.
public java.lang.Object test(int cmd,
Dictionary options,
int id)
throws DSESecurityException
cmd - int - the command id.options - Dictionary - the options to the command.id - int - the context id of the requestor.
public void unlock(java.lang.String userid,
int id)
throws DSESecurityException
userid - String - the name of the user to unlock.id - int - the context id of the requestor.
public void verify(int id)
throws DSESecurityException
id - int - the context id of the requestor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||