Modifier and Type | Field and Description |
---|---|
protected Hashtable |
m_aceTable |
protected Hashtable |
m_aclTable |
protected AdminManager |
m_Main |
Constructor and Description |
---|
AccessControlListAdmin(AdminManager main)
The only constructor that is being used.
|
Modifier and Type | Method and Description |
---|---|
void |
applyAccessLevel(LibrarySession sess,
String accessList,
AccessControlEntryDefinition acedef) |
protected AccessControlEntryDefinition |
createAceDef(LibrarySession sess,
DirectoryObject grantee,
boolean isWorld,
String accessList,
String beforeAce,
String afterAce) |
protected void |
createAcl(LibrarySession sess,
ParameterTable params)
Section variant of Create Acl
|
protected void |
createAcl(LibrarySession sess,
String idname,
AccessControlListDefinition def)
internal variant of Create Acl
|
protected void |
createAcl(LibrarySession sess,
String idname,
String nameToken)
inline variant of Create Acl
|
void |
deleteAccessControlList(LibrarySession sess,
ParameterTable params)
Section variant of delete AccessControlList
|
void |
deleteAccessControlList(LibrarySession sess,
String idname)
Inline/internal variant of Delete AccessControlList
|
void |
deleteAccessControlList(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Delete AccessControlList
|
String |
formatAccessLevel(LibrarySession sess,
AccessLevel level) |
protected void |
freeAcl(LibrarySession sess,
ParameterTable params)
Section variant of Free Acl
|
protected void |
freeAcl(LibrarySession sess,
String idname)
Inline/internal variant of Free Acl
|
void |
grantAccess(LibrarySession sess,
ParameterTable params)
Section variant of GrantAccess
|
void |
grantAccess(LibrarySession sess,
String idname,
AccessControlEntryDefinition def)
internal variant of GrantAccess
|
protected void |
grantGroup(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of grantGroup
|
protected void |
grantUser(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of grantUser
|
protected void |
grantWorld(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of grantWorld
|
AccessControlList |
identifyAcl(LibrarySession sess,
ParameterTable params)
Section variant of Identify ACL
|
AccessControlList |
identifyAcl(LibrarySession sess,
String idname,
Long id,
String name,
boolean isSysAcl,
boolean isClassAcl,
String valueDefaultName,
String path)
Inline/internal variant of Identify ACL
|
protected AccessControlEntry |
lookupAce(String acename) |
protected AccessControlList |
lookupAcl(LibrarySession sess,
String aclname) |
protected ClassAccessControlList |
lookupClassAcl(LibrarySession sess,
String name)
Lookup ClassAccessControlList by name
|
protected SystemAccessControlList |
lookupSystemAcl(LibrarySession sess,
String name)
Lookup SystemAccessControlList by name
|
protected DirectoryUser |
lookupUser(LibrarySession sess,
String username) |
protected void |
modifyAcl(LibrarySession sess,
ParameterTable params)
Section variant of Modify Acl
|
protected void |
modifyAcl(LibrarySession sess,
String idname,
AccessControlListDefinition def)
internal variant of Modify Acl
|
protected void |
removeAce(LibrarySession sess,
String aclname,
String acename)
Inline/internal variant of removeAce
|
void |
revokeAccess(LibrarySession sess,
ParameterTable params)
Section variant of revokeAccess
|
void |
revokeAccess(LibrarySession sess,
String idname,
AccessControlEntryDefinition def)
internal variant of revokeAccess
|
protected void |
revokeGroup(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of revokeGroup
|
protected void |
revokeUser(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of revokeUser
|
protected void |
revokeWorld(LibrarySession sess,
String aclname,
String grantee,
String acename,
String accessList,
String beforeAce,
String afterAce)
Inline/internal variant of revokeWorld
|
void |
showACE(LibrarySession sess,
String outputprefix,
AccessControlEntry ace) |
void |
showAcl(LibrarySession sess,
AccessControlList acl) |
void |
showAcl(LibrarySession sess,
ParameterTable params)
Section variant of showAcl
|
protected void |
showAcl(LibrarySession sess,
String aclname) |
protected void |
showAcls(LibrarySession sess) |
void |
showDiscoverers(LibrarySession sess,
ParameterTable params)
Section variant of showDiscoverers
|
protected void |
showDiscoverers(LibrarySession sess,
String aclname) |
void |
showGroupAccess(LibrarySession sess,
ParameterTable params)
Section variant of showGroupAccess
|
protected void |
showGroupAccess(LibrarySession sess,
String aclname,
String groupname) |
void |
showUserAccess(LibrarySession sess,
ParameterTable params)
Section variant of showUserAccess
|
protected void |
showUserAccess(LibrarySession sess,
String aclname,
String username) |
void |
showWorldAccess(LibrarySession sess,
ParameterTable params)
Section variant of showWorldAccess
|
protected void |
showWorldAccess(LibrarySession sess,
String aclname) |
protected void |
simpleApplyAcl(LibrarySession sess,
ParameterTable params)
Implements SimpleApplyAcl functionality.
|
protected void |
simpleGrant(LibrarySession sess,
ParameterTable params)
Implements SimpleGrant functionality.
|
protected void |
simpleRevoke(LibrarySession sess,
ParameterTable params)
Implements SimpleRevoke functionality.
|
void |
undeleteAccessControlList(LibrarySession sess,
ParameterTable params)
Section variant of undelete AccessControlList
|
void |
undeleteAccessControlList(LibrarySession sess,
String idname)
Inline/internal variant of Undelete AccessControlList
|
void |
undeleteAccessControlList(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Undelete AccessControlList
|
void |
unidentifyAcl(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify ACL
|
protected AdminManager m_Main
protected Hashtable m_aclTable
protected Hashtable m_aceTable
public AccessControlListAdmin(AdminManager main)
main
- Reference to AdminManager which invokes this.protected void createAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void createAcl(LibrarySession sess, String idname, String nameToken) throws IfsException
IfsException
protected void createAcl(LibrarySession sess, String idname, AccessControlListDefinition def) throws IfsException
IfsException
protected void modifyAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void modifyAcl(LibrarySession sess, String idname, AccessControlListDefinition def) throws IfsException
IfsException
protected void freeAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void freeAcl(LibrarySession sess, String idname) throws IfsException
IfsException
public void grantAccess(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void grantAccess(LibrarySession sess, String idname, AccessControlEntryDefinition def) throws IfsException
IfsException
public void revokeAccess(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void revokeAccess(LibrarySession sess, String idname, AccessControlEntryDefinition def) throws IfsException
IfsException
protected void grantUser(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void grantGroup(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void grantWorld(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void revokeUser(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void revokeGroup(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void revokeWorld(LibrarySession sess, String aclname, String grantee, String acename, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void removeAce(LibrarySession sess, String aclname, String acename) throws IfsException
IfsException
public AccessControlList identifyAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public AccessControlList identifyAcl(LibrarySession sess, String idname, Long id, String name, boolean isSysAcl, boolean isClassAcl, String valueDefaultName, String path) throws IfsException
IfsException
public void unidentifyAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showAcl(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void showAcl(LibrarySession sess, String aclname) throws IfsException
IfsException
public void showUserAccess(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void showUserAccess(LibrarySession sess, String aclname, String username) throws IfsException
IfsException
protected void showGroupAccess(LibrarySession sess, String aclname, String groupname) throws IfsException
IfsException
public void showGroupAccess(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void showWorldAccess(LibrarySession sess, String aclname) throws IfsException
IfsException
public void showWorldAccess(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
protected void showDiscoverers(LibrarySession sess, String aclname) throws IfsException
IfsException
public void showDiscoverers(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteAccessControlList(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteAccessControlList(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteAccessControlList(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void undeleteAccessControlList(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void undeleteAccessControlList(LibrarySession sess, String idname) throws IfsException
IfsException
public void undeleteAccessControlList(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
protected SystemAccessControlList lookupSystemAcl(LibrarySession sess, String name) throws IfsException
IfsException
protected ClassAccessControlList lookupClassAcl(LibrarySession sess, String name) throws IfsException
IfsException
protected AccessControlList lookupAcl(LibrarySession sess, String aclname) throws IfsException
IfsException
protected AccessControlEntry lookupAce(String acename) throws IfsException
IfsException
protected DirectoryUser lookupUser(LibrarySession sess, String username) throws IfsException
IfsException
protected AccessControlEntryDefinition createAceDef(LibrarySession sess, DirectoryObject grantee, boolean isWorld, String accessList, String beforeAce, String afterAce) throws IfsException
IfsException
protected void showAcls(LibrarySession sess) throws IfsException
IfsException
public void showAcl(LibrarySession sess, AccessControlList acl) throws IfsException
IfsException
public void showACE(LibrarySession sess, String outputprefix, AccessControlEntry ace) throws IfsException
IfsException
public String formatAccessLevel(LibrarySession sess, AccessLevel level) throws IfsException
IfsException
public void applyAccessLevel(LibrarySession sess, String accessList, AccessControlEntryDefinition acedef) throws IfsException
IfsException
protected void simpleGrant(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Reference to the current session.params
- ParameterTable Table of Parameters.IfsException
- if the operation fails.protected void simpleRevoke(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Reference to the current session.params
- ParameterTable Table of Parameters.IfsException
- if the operation fails.protected void simpleApplyAcl(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Reference to the current session.params
- ParameterTable Table of Parameters.IfsException
- if the operation fails.Copyright © 2023. All rights reserved.