|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.AciEffectiveRights
public class AciEffectiveRights
This class implements the dseecompat geteffectiverights evaluation.
Constructor Summary | |
---|---|
AciEffectiveRights()
|
Method Summary | |
---|---|
static SearchResultEntry |
addRightsToEntry(AciHandler handler,
java.util.LinkedHashSet<java.lang.String> searchAttributes,
AciLDAPOperationContainer container,
SearchResultEntry e,
boolean skipCheck)
Attempts to add the geteffectiverights asked for in the search to the entry being returned. |
static void |
createSummary(AciEvalContext evalCtx,
boolean evalRet,
java.lang.String srcStr)
Create the summary string used in the aclRightsInfo log string. |
static void |
finalizeOnShutdown()
Finalizes static variables on shutdown so that we release the memory associated with them (for the unit tests) and get fresh copies if we're doing an in-core restart. |
static boolean |
setTargAttrAci(AciEvalContext evalCtx,
Aci aci,
boolean denyAci)
If the specified ACI is in the targattrfilters hashtable contained in the evaluation context, set the evaluation context's targattrfilters match variable to either ACL_TARGATTR_DENY_MATCH or ACL_TARGATTR_ALLOW_MATCH depending on the value of the variable denyAci. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AciEffectiveRights()
Method Detail |
---|
public static SearchResultEntry addRightsToEntry(AciHandler handler, java.util.LinkedHashSet<java.lang.String> searchAttributes, AciLDAPOperationContainer container, SearchResultEntry e, boolean skipCheck)
handler
- The ACI handler to use in the evaluation.searchAttributes
- The attributes requested in the search.container
- The LDAP operation container to use in the evaluations.e
- The entry to add the rights attributes to.skipCheck
- True if ACI evaluation was skipped because bypass-acl
privilege was found.
public static void createSummary(AciEvalContext evalCtx, boolean evalRet, java.lang.String srcStr)
evalCtx
- The evaluation context to gather information from.evalRet
- The value returned from the access evaluation.srcStr
- String that can be used to specify where the summary call's
origin is.public static boolean setTargAttrAci(AciEvalContext evalCtx, Aci aci, boolean denyAci)
evalCtx
- The evaluation context to evaluate and save information to.aci
- The ACI to match.denyAci
- True if the evaluation was a allow, false if the
evaluation was an deny or the ACI is not in the table.
public static void finalizeOnShutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |