From d3cb4bcf9d410d6b65e7c12ea5caea3a4c11f55c Mon Sep 17 00:00:00 2001 From: Nianli Ma Date: Thu, 12 Feb 2015 14:44:22 -0500 Subject: [PATCH] Update javadocs Resolves: https://jira.duraspace.org/browse/FCREPO-1355 --- .../org/fcrepo/auth/xacml/FedoraEvaluationCtxBuilder.java | 2 +- .../org/fcrepo/auth/xacml/TripleAttributeFinderModule.java | 5 ++--- .../org/fcrepo/auth/xacml/XACMLAuthorizationDelegate.java | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/fcrepo/auth/xacml/FedoraEvaluationCtxBuilder.java b/src/main/java/org/fcrepo/auth/xacml/FedoraEvaluationCtxBuilder.java index 53f2563..93ec182 100644 --- a/src/main/java/org/fcrepo/auth/xacml/FedoraEvaluationCtxBuilder.java +++ b/src/main/java/org/fcrepo/auth/xacml/FedoraEvaluationCtxBuilder.java @@ -197,7 +197,7 @@ public final FedoraEvaluationCtxBuilder addActions(final String[] actions) { } /** - * @param remoteAddr + * @param remoteAddr the remote address */ public void addOriginalRequestIP(final String remoteAddr) { final Attribute a = new Attribute(ATTRIBUTEID_ENVIRONMENT_ORIGINAL_IP_ADDRESS, diff --git a/src/main/java/org/fcrepo/auth/xacml/TripleAttributeFinderModule.java b/src/main/java/org/fcrepo/auth/xacml/TripleAttributeFinderModule.java index c9cdba6..9b5d4b1 100644 --- a/src/main/java/org/fcrepo/auth/xacml/TripleAttributeFinderModule.java +++ b/src/main/java/org/fcrepo/auth/xacml/TripleAttributeFinderModule.java @@ -88,8 +88,7 @@ public class TripleAttributeFinderModule extends AttributeFinderModule { * Supports designators. * * @return if designator is supported. - * @see org.jboss.security.xacml.sunxacml.finder.AttributeFinderModule# - * isDesignatorSupported() + * @see org.jboss.security.xacml.sunxacml.finder.AttributeFinderModule#isDesignatorSupported() */ @Override public final boolean isDesignatorSupported() { @@ -110,7 +109,7 @@ public final Set getSupportedDesignatorTypes() { /** * Finds the matching triples values. * - * @attributeId The URI of the attribute key (the predicate of the triple) + * @param attributeId The URI of the attribute key (the predicate of the triple) * @see org.jboss.security.xacml.sunxacml.finder.AttributeFinderModule#findAttribute (java.net.URI, java.net.URI, * java.net.URI, java.net.URI, org.jboss.security.xacml.sunxacml.EvaluationCtx, int) */ diff --git a/src/main/java/org/fcrepo/auth/xacml/XACMLAuthorizationDelegate.java b/src/main/java/org/fcrepo/auth/xacml/XACMLAuthorizationDelegate.java index a45e001..1b5fb90 100644 --- a/src/main/java/org/fcrepo/auth/xacml/XACMLAuthorizationDelegate.java +++ b/src/main/java/org/fcrepo/auth/xacml/XACMLAuthorizationDelegate.java @@ -106,8 +106,8 @@ public class XACMLAuthorizationDelegate extends AbstractRolesAuthorizationDelega /** * Configures the delegate. * - * @throws IOException - * @throws RepositoryException + * @throws IOException if IO exception occurred + * @throws RepositoryException if repository exception occurred */ @PostConstruct public final void init() throws RepositoryException, IOException {