|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.security.acegi.acls.HibernateMutableAclServiceImpl
public class HibernateMutableAclServiceImpl
Field Summary | |
---|---|
static java.lang.String |
BAMBOO_PERMISSION_FORM_GROUP
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_GROUP_PREFIX
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_ROLE
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_ROLE_PREFIX
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_SEPARATOR
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_USER
|
static java.lang.String |
BAMBOO_PERMISSION_FORM_USER_PREFIX
|
Constructor Summary | |
---|---|
HibernateMutableAclServiceImpl()
|
Method Summary | |
---|---|
void |
changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner,
org.acegisecurity.acls.sid.Sid newOwner)
Change the ownership of all Acls owned by oldOwner to newOwner . |
org.acegisecurity.acls.MutableAcl |
createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
|
void |
deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Deleted all access control entries associated with a given security identity. |
void |
deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity,
boolean deleteChildren)
|
void |
deleteAllAcls()
Deletes all ACLs and permissions from the system... |
org.acegisecurity.acls.objectidentity.ObjectIdentity[] |
findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
|
BambooCacheStats |
getCacheStats()
|
org.acegisecurity.acls.Acl |
readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object)
|
org.acegisecurity.acls.Acl |
readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object,
org.acegisecurity.acls.sid.Sid[] sids)
|
java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.Acl> |
readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects)
|
java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.Acl> |
readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects,
org.acegisecurity.acls.sid.Sid[] sids)
|
org.acegisecurity.acls.MutableAcl |
readMutableAclById(long objectId)
Read acl for given domain object id |
org.acegisecurity.acls.MutableAcl |
readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
Same as AclService.readAclById(ObjectIdentity) except it returns only a single MutableAcl. |
void |
setAclDao(AclDao aclDao)
|
void |
setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
|
org.acegisecurity.acls.MutableAcl |
updateAcl(org.acegisecurity.acls.MutableAcl acl)
|
void |
updateAclAces(org.acegisecurity.acls.MutableAcl acl,
java.util.List<java.lang.String> newPermissionKeys)
|
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 BAMBOO_PERMISSION_FORM_SEPARATOR
public static final java.lang.String BAMBOO_PERMISSION_FORM_USER
public static final java.lang.String BAMBOO_PERMISSION_FORM_GROUP
public static final java.lang.String BAMBOO_PERMISSION_FORM_ROLE
public static final java.lang.String BAMBOO_PERMISSION_FORM_USER_PREFIX
public static final java.lang.String BAMBOO_PERMISSION_FORM_GROUP_PREFIX
public static final java.lang.String BAMBOO_PERMISSION_FORM_ROLE_PREFIX
Constructor Detail |
---|
public HibernateMutableAclServiceImpl()
Method Detail |
---|
public org.acegisecurity.acls.objectidentity.ObjectIdentity[] findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
findChildren
in interface org.acegisecurity.acls.AclService
public org.acegisecurity.acls.Acl readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object) throws org.acegisecurity.acls.NotFoundException
readAclById
in interface org.acegisecurity.acls.AclService
org.acegisecurity.acls.NotFoundException
public org.acegisecurity.acls.Acl readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object, @Nullable org.acegisecurity.acls.sid.Sid[] sids) throws org.acegisecurity.acls.NotFoundException
readAclById
in interface org.acegisecurity.acls.AclService
org.acegisecurity.acls.NotFoundException
public java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.Acl> readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects) throws org.acegisecurity.acls.NotFoundException
readAclsById
in interface org.acegisecurity.acls.AclService
org.acegisecurity.acls.NotFoundException
public java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.Acl> readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects, @Nullable org.acegisecurity.acls.sid.Sid[] sids) throws org.acegisecurity.acls.NotFoundException
readAclsById
in interface org.acegisecurity.acls.AclService
org.acegisecurity.acls.NotFoundException
public org.acegisecurity.acls.MutableAcl createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity) throws org.acegisecurity.acls.AlreadyExistsException
createAcl
in interface org.acegisecurity.acls.MutableAclService
org.acegisecurity.acls.AlreadyExistsException
public void deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity, boolean deleteChildren) throws org.acegisecurity.acls.ChildrenExistException
deleteAcl
in interface org.acegisecurity.acls.MutableAclService
org.acegisecurity.acls.ChildrenExistException
public org.acegisecurity.acls.MutableAcl updateAcl(org.acegisecurity.acls.MutableAcl acl) throws org.acegisecurity.acls.NotFoundException
updateAcl
in interface org.acegisecurity.acls.MutableAclService
org.acegisecurity.acls.NotFoundException
public void updateAclAces(org.acegisecurity.acls.MutableAcl acl, java.util.List<java.lang.String> newPermissionKeys)
updateAclAces
in interface HibernateMutableAclService
public void deleteAllAcls()
HibernateMutableAclService
deleteAllAcls
in interface HibernateMutableAclService
public org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
HibernateMutableAclService
AclService.readAclById(ObjectIdentity)
except it returns only a single MutableAcl.
readMutableAclById
in interface HibernateMutableAclService
public org.acegisecurity.acls.MutableAcl readMutableAclById(long objectId)
HibernateMutableAclService
readMutableAclById
in interface HibernateMutableAclService
public BambooCacheStats getCacheStats()
getCacheStats
in interface HibernateMutableAclService
public void setAclDao(AclDao aclDao)
public void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
public void deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
HibernateMutableAclService
deleteAcesForSid
in interface HibernateMutableAclService
public void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner)
HibernateMutableAclService
oldOwner
to newOwner
.
changeAlcOwnerForSid
in interface HibernateMutableAclService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |