mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
@@ -258,7 +258,7 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
}
|
||||
else if (cad.getTypeString().equals(ConfigAttributeDefinition.RM_CAP))
|
||||
{
|
||||
switch(checkCapability(invocation, params, cad))
|
||||
switch (checkCapability(invocation, params, cad))
|
||||
{
|
||||
case AccessDecisionVoter.ACCESS_DENIED:
|
||||
{
|
||||
@@ -266,9 +266,9 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
}
|
||||
case AccessDecisionVoter.ACCESS_ABSTAIN:
|
||||
{
|
||||
if(logger.isDebugEnabled())
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
if(logger.isTraceEnabled())
|
||||
if (logger.isTraceEnabled())
|
||||
{
|
||||
logger.trace("Capability " + cad.getRequired() + " abstained for " + invocation.getMethod(), new IllegalStateException());
|
||||
}
|
||||
@@ -292,7 +292,7 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
}
|
||||
else if (cad.getTypeString().equals(ConfigAttributeDefinition.RM))
|
||||
{
|
||||
switch(checkPolicy(invocation, params, cad))
|
||||
switch (checkPolicy(invocation, params, cad))
|
||||
{
|
||||
case AccessDecisionVoter.ACCESS_DENIED:
|
||||
{
|
||||
@@ -303,9 +303,9 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
}
|
||||
case AccessDecisionVoter.ACCESS_ABSTAIN:
|
||||
{
|
||||
if(logger.isDebugEnabled())
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
if(logger.isTraceEnabled())
|
||||
if (logger.isTraceEnabled())
|
||||
{
|
||||
logger.trace("Policy " + cad.getPolicyName() + " abstained for " + invocation.getMethod(), new IllegalStateException());
|
||||
}
|
||||
|
Reference in New Issue
Block a user