From e7cac727a9231ff3602e61a4ea678e0463eb0e39 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 24 Mar 2015 09:41:42 +0000
Subject: [PATCH] Autorefactored javadocs
---
opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciContainer.java | 204 +++++++++++++-------------------------------------
1 files changed, 53 insertions(+), 151 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciContainer.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciContainer.java
index b9f2180..47c8145 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciContainer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciContainer.java
@@ -336,17 +336,13 @@
this.seenEntry=val;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isProxiedAuthorization() {
return this.proxiedAuthorization;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isGetEffectiveRightsEval() {
return this.isGetEffectiveRightsEval;
@@ -392,25 +388,19 @@
return this.specificAttrs;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void addTargAttrFiltersMatchAci(Aci aci) {
this.targAttrFilterAcis.put(aci, aci);
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean hasTargAttrFiltersMatchAci(Aci aci) {
return this.targAttrFilterAcis.containsKey(aci);
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isTargAttrFilterMatchAciEmpty() {
return this.targAttrFilterAcis.isEmpty();
@@ -431,41 +421,31 @@
this.targAttrMatch=0;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setTargAttrFiltersAciName(String name) {
this.targAttrFiltersAciName=name;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getTargAttrFiltersAciName() {
return this.targAttrFiltersAciName;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setTargAttrFiltersMatchOp(int flag) {
this.targAttrMatch |= flag;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean hasTargAttrFiltersMatchOp(int flag) {
return (this.targAttrMatch & flag) != 0;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getDecidingAciName() {
if(this.decidingAci != null)
@@ -481,26 +461,20 @@
this.decidingAci = decidingAci;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public EnumEvalReason getEvalReason() {
return this.evalReason;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setEvalSummary(String summary) {
this.summaryString=summary;
}
- /**
- * {@inheritDoc}
- */
- @Override
+ /** {@inheritDoc} */
+ @Override
public String getEvalSummary() {
return this.summaryString;
}
@@ -530,138 +504,104 @@
authorizationEntry=saveAuthorizationEntry;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setDenyList(List<Aci> denys) {
denyList=denys;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setAllowList(List<Aci> allows) {
allowList=allows;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public AttributeType getCurrentAttributeType() {
return attributeType;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public ByteString getCurrentAttributeValue() {
return attributeValue;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setCurrentAttributeType(AttributeType type) {
attributeType=type;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setCurrentAttributeValue(ByteString value) {
attributeValue=value;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isFirstAttribute() {
return isFirst;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setIsFirstAttribute(boolean val) {
isFirst=val;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean hasEntryTestRule() {
return isEntryTestRule;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public void setEntryTestRule(boolean val) {
+ /** {@inheritDoc} */
+ @Override
+ public void setEntryTestRule(boolean val) {
isEntryTestRule=val;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public Entry getResourceEntry() {
return resourceEntry;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public Entry getClientEntry() {
return this.authorizationEntry;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public List<Aci> getDenyList() {
return denyList;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public List<Aci> getAllowList() {
return allowList;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isDenyEval() {
return EnumEvalReason.NO_ALLOW_ACIS.equals(evalReason)
|| EnumEvalReason.EVALUATED_DENY_ACI.equals(evalReason);
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isAnonymousUser() {
return !authInfo.isAuthenticated();
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public DN getClientDN() {
if(this.useAuthzid)
@@ -671,9 +611,7 @@
return DN.rootDN();
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public DN getResourceDN() {
return resourceEntry.getName();
@@ -691,73 +629,55 @@
return (this.rightsMask & rights) != 0;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public int getRights() {
return this.rightsMask;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setRights(int rights) {
this.rightsMask=rights;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getHostName() {
return clientConnection.getRemoteAddress().getCanonicalHostName();
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public InetAddress getRemoteAddress() {
return clientConnection.getRemoteAddress();
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isAddOperation() {
return operation instanceof AddOperation;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setTargAttrFiltersMatch(boolean v) {
this.targAttrFiltersMatch=v;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean getTargAttrFiltersMatch() {
return targAttrFiltersMatch;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getControlOID() {
return controlOID;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getExtOpOID() {
return extOpOID;
@@ -782,24 +702,20 @@
this.extOpOID=oid;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public EnumEvalResult hasAuthenticationMethod(EnumAuthMethod authMethod,
String saslMech) {
EnumEvalResult matched=EnumEvalResult.FALSE;
if(authMethod==EnumAuthMethod.AUTHMETHOD_NONE) {
- /**
+ /*
* None actually means any, in that we don't care what method was used.
* This doesn't seem very intuitive or useful, but that's the way it is.
*/
matched = EnumEvalResult.TRUE;
} else {
- /*
- * Some kind of authentication is required.
- */
+ // Some kind of authentication is required.
if(authInfo.isAuthenticated()) {
if(authMethod==EnumAuthMethod.AUTHMETHOD_SIMPLE) {
if(authInfo.hasAuthenticationType(AuthenticationType.SIMPLE)) {
@@ -835,9 +751,7 @@
return matched;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isMemberOf(Group<?> group) {
try {
@@ -887,9 +801,7 @@
return null;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setEvalUserAttributes(int v) {
if(operation instanceof SearchOperation && (rightsMask == ACI_READ)) {
@@ -901,9 +813,7 @@
}
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void setEvalOpAttributes(int v) {
if(operation instanceof SearchOperation && (rightsMask == ACI_READ)) {
@@ -915,17 +825,13 @@
}
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean hasEvalUserAttributes() {
return hasAttribute(ACI_FOUND_USER_ATTR_RULE);
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean hasEvalOpAttributes() {
return hasAttribute(ACI_FOUND_OP_ATTR_RULE);
@@ -956,9 +862,7 @@
return (evalAllAttributes & aciAttribute) == aciAttribute;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void clearEvalAttributes(int v) {
if(v == 0)
@@ -967,9 +871,7 @@
evalAllAttributes &= ~v;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public int getCurrentSSF() {
return clientConnection.getSSF();
--
Gitblit v1.10.0