Interface SecurityService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateGroup(GroupSpecification groupSpec)This method is useful to developers when creating a custom bean.voidcreateUser(UserSpecification userSpec)This method is useful to developers when creating a custom bean.voiddeleteGroup(GroupSpecification groupSpec)This method is useful to developers when creating a custom bean.voiddeleteGroup(java.lang.String groupid)This method is useful to developers when creating a custom bean.voiddeleteUser(UserSpecification userSpec)This method is useful to developers when creating a custom bean.voiddeleteUser(java.lang.String userid)This method is useful to developers when creating a custom bean.booleanisCurrentUserAdmin()This method is useful to developers when creating a custom bean.-
Methods inherited from interface com.installshield.wizard.service.Service
cancelOperation, getName, getOperationProgress, getServiceImplementorType, isNoopMode, isOperationCanceled, isOperationEnded, isOperationSuspended, resumeOperation, setNoopMode, suspendOperation
-
-
-
-
Method Detail
-
isCurrentUserAdmin
boolean isCurrentUserAdmin() throws ServiceExceptionThis method is useful to developers when creating a custom bean. Checks if the current user has admin privileges.- Returns:
- "True" if the user is "admin" ("root" in UNIX). Also "True" if the user is an Administrator in Windows.
- Throws:
ServiceException
-
createUser
void createUser(UserSpecification userSpec) throws ServiceException
This method is useful to developers when creating a custom bean. Creates a new user according to the specifications.- Parameters:
userSpec- UserSpecification for defining a new user.- Throws:
ServiceException
-
deleteUser
void deleteUser(UserSpecification userSpec) throws ServiceException
This method is useful to developers when creating a custom bean. Deletes the user defined by the specification.- Parameters:
userSpec- UserSpecification for the user to delete.- Throws:
ServiceException
-
deleteUser
void deleteUser(java.lang.String userid) throws ServiceExceptionThis method is useful to developers when creating a custom bean. Deletes a user with a specific userid.- Parameters:
Userid- The User ID to delete.- Throws:
ServiceException
-
createGroup
void createGroup(GroupSpecification groupSpec) throws ServiceException
This method is useful to developers when creating a custom bean. Creates a new group according to the specifications.- Parameters:
groupSpec- The GroupSpecification for defining the new group.- Throws:
ServiceException
-
deleteGroup
void deleteGroup(java.lang.String groupid) throws ServiceExceptionThis method is useful to developers when creating a custom bean. Deletes a group with a specified groupid.- Parameters:
Groupid- The Group ID to delete.- Throws:
ServiceException
-
deleteGroup
void deleteGroup(GroupSpecification groupSpec) throws ServiceException
This method is useful to developers when creating a custom bean. Deletes a group as defined by the specification.- Parameters:
groupSpecification- The specification of the group to delete.- Throws:
ServiceException
-
-