public abstract class AddAccessLevel extends LibrarySessionUpgradeAction
Modifier and Type | Field and Description |
---|---|
static int |
SELECTOR_MAXITEM_COUNT |
RESTART_SERVICE
CONTINUE_ON_ERROR, m_defaultOptions, m_options
APPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME
Constructor and Description |
---|
AddAccessLevel() |
Modifier and Type | Method and Description |
---|---|
protected void |
enableAllAccessLevelsInAces(LibrarySession sess,
long sourceLevel,
long additionalLevel)
Find all AccessControlEntrys in the system that have a set of
permissions enabled and also enable a new set of permissions
|
protected void |
enableAllAccessLevelsInPermissionBundles(LibrarySession sess,
long sourceLevel,
long additionalLevel)
Change permission bundles in the system.
|
protected void |
modifyAccessControlEntries(LibrarySession sess,
long sourceLevel,
long additionalLevel) |
protected void |
modifyPermissionBundles(LibrarySession sess,
AccessControlList acl,
long additionalLevel)
Add the new access level to the given ACL's permission bundle.
|
protected void |
modifyPermissionBundles(LibrarySession sess,
long sourceLevel,
long additionalLevel)
Change permission bundles in the system.
|
failed, getTimestamp, log, log, printStackTrace, stop
execute, perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public static final int SELECTOR_MAXITEM_COUNT
protected void modifyAccessControlEntries(LibrarySession sess, long sourceLevel, long additionalLevel) throws IfsException
IfsException
protected void enableAllAccessLevelsInAces(LibrarySession sess, long sourceLevel, long additionalLevel) throws IfsException
sess
- handle to the LibrarySessionsourceLevel
- existing levelsadditionalLevel
- new levelIfsException
- if the operation failsprotected void modifyPermissionBundles(LibrarySession sess, long sourceLevel, long additionalLevel) throws IfsException
sess
- handle to the LibrarySessionsourceLevel
- existing leveladditionalLevel
- new levelIfsException
- if the operation failsprotected void modifyPermissionBundles(LibrarySession sess, AccessControlList acl, long additionalLevel) throws IfsException
sess
- handle to the LibrarySessionacl
- ACL whose PB needs to be modifiedadditionalLevel
- new level that needs to be addedIfsException
- if the operation failsprotected void enableAllAccessLevelsInPermissionBundles(LibrarySession sess, long sourceLevel, long additionalLevel) throws IfsException
sess
- handle to the LibrarySessionsourceLevel
- existing leveladditionalLevel
- new levelIfsException
- if the operation failsCopyright © 2023. All rights reserved.