diff --git a/core/src/main/java/org/springframework/ldap/core/AttributesMapper.java b/core/src/main/java/org/springframework/ldap/core/AttributesMapper.java index caf3161b..429d9745 100644 --- a/core/src/main/java/org/springframework/ldap/core/AttributesMapper.java +++ b/core/src/main/java/org/springframework/ldap/core/AttributesMapper.java @@ -32,10 +32,10 @@ import javax.naming.directory.Attributes; *
* Alternatively, consider using a {@link ContextMapper} in stead.
*
+ * @author Mattias Hellborg Arthursson
* @see LdapTemplate#search(Name, String, AttributesMapper)
* @see LdapTemplate#lookup(Name, AttributesMapper)
* @see ContextMapper
- * @author Mattias Hellborg Arthursson
*/
public interface AttributesMapper
* Alternatively, consider using an {@link AttributesMapper} in stead.
*
+ * @author Mattias Hellborg Arthursson
* @see LdapTemplate#search(Name, String, ContextMapper)
* @see LdapTemplate#listBindings(Name, ContextMapper)
* @see LdapTemplate#lookup(Name, ContextMapper)
@@ -45,7 +46,6 @@ import org.springframework.ldap.core.support.DefaultDirObjectFactory;
* @see DefaultDirObjectFactory
* @see DirContextAdapter
* @see AbstractContextMapper
- * @author Mattias Hellborg Arthursson
*/
public interface ContextMapperContextSource, causing the actual class of the
* returned object to be something else than {@link DirContextOperations}.
* @throws NamingException if any other error occurs.
+ * @since 1.2
* @see #lookup(Name)
* @see #modifyAttributes(DirContextOperations)
- * @since 1.2
*/
DirContextOperations lookupContext(Name dn) throws NamingException, ClassCastException;
@@ -1073,9 +1073,9 @@ public interface LdapOperations {
* registered with the ContextSource, causing the actual class of the
* returned object to be something else than {@link DirContextOperations}.
* @throws NamingException if any other error occurs.
+ * @since 1.2
* @see #lookup(String)
* @see #modifyAttributes(DirContextOperations)
- * @since 1.2
*/
DirContextOperations lookupContext(String dn) throws NamingException, ClassCastException;
@@ -1220,11 +1220,11 @@ public interface LdapOperations {
* DirContext authenticated with the found user.
* @return true if the authentication was successful, false
* otherwise.
- * @see #authenticate(Name, String, String)
* @since 1.3
* @deprecated use
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String)} or
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper)}
+ * @see #authenticate(Name, String, String)
*/
boolean authenticate(Name base, String filter, String password, AuthenticatedLdapEntryContextCallback callback);
@@ -1243,11 +1243,11 @@ public interface LdapOperations {
* DirContext authenticated with the found user.
* @return true if the authentication was successful, false
* otherwise.
- * @see #authenticate(String, String, String)
* @since 1.3
* @deprecated use
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String)} or
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper)}
+ * @see #authenticate(String, String, String)
*/
boolean authenticate(String base, String filter, String password, AuthenticatedLdapEntryContextCallback callback);
@@ -1270,11 +1270,11 @@ public interface LdapOperations {
* @param errorCallback the callback that will be called if an exception is caught.
* @return true if the authentication was successful, false
* otherwise.
- * @see #authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback)
* @since 1.3.1
* @deprecated use
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String)} or
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper)}
+ * @see #authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback)
*/
boolean authenticate(Name base, String filter, String password, AuthenticatedLdapEntryContextCallback callback,
AuthenticationErrorCallback errorCallback);
@@ -1298,11 +1298,11 @@ public interface LdapOperations {
* @param errorCallback the callback that will be called if an exception is caught.
* @return true if the authentication was successful, false
* otherwise.
- * @see #authenticate(String, String, String, AuthenticatedLdapEntryContextCallback)
* @since 1.3.1
* @deprecated use
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String)} or
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper)}
+ * @see #authenticate(String, String, String, AuthenticatedLdapEntryContextCallback)
*/
boolean authenticate(String base, String filter, String password, AuthenticatedLdapEntryContextCallback callback,
AuthenticationErrorCallback errorCallback);
@@ -1321,12 +1321,12 @@ public interface LdapOperations {
* @param errorCallback the callback that will be called if an exception is caught.
* @return true if the authentication was successful, false
* otherwise.
- * @see #authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback,
- * AuthenticationErrorCallback)
* @since 1.3.1
* @deprecated use
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String)} or
* {@link #authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper)}
+ * @see #authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback,
+ * AuthenticationErrorCallback)
*/
boolean authenticate(Name base, String filter, String password, AuthenticationErrorCallback errorCallback);
diff --git a/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java b/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java
index 95cce37b..eb229ffd 100644
--- a/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java
+++ b/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java
@@ -72,9 +72,9 @@ import org.springframework.util.CollectionUtils;
* Neither is there any simple way to get notified that a
* PartialResultException has been ignored (other than in the log).
*
- * @see org.springframework.ldap.core.ContextSource
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
+ * @see org.springframework.ldap.core.ContextSource
*/
public class LdapTemplate implements LdapOperations, InitializingBean {
diff --git a/core/src/main/java/org/springframework/ldap/core/SearchExecutor.java b/core/src/main/java/org/springframework/ldap/core/SearchExecutor.java
index b28d6b83..64a2824e 100644
--- a/core/src/main/java/org/springframework/ldap/core/SearchExecutor.java
+++ b/core/src/main/java/org/springframework/ldap/core/SearchExecutor.java
@@ -32,9 +32,9 @@ import javax.naming.directory.DirContext;
* }
*
*
+ * @author Mattias Hellborg Arthursson
* @see org.springframework.ldap.core.LdapTemplate#search(SearchExecutor,
* NameClassPairCallbackHandler)
- * @author Mattias Hellborg Arthursson
*/
public interface SearchExecutor {
diff --git a/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java b/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java
index 70cdf45f..3fc90da0 100644
--- a/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java
+++ b/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java
@@ -61,13 +61,13 @@ import org.springframework.util.StringUtils;
* necessary to call {@link #afterPropertiesSet()} when all properties are set, in order
* to finish up initialization.
*
+ * @author Mattias Hellborg Arthursson
+ * @author Adam Skogman
+ * @author Ulrik Sandberg
* @see org.springframework.ldap.core.LdapTemplate
* @see org.springframework.ldap.core.support.DefaultDirObjectFactory
* @see org.springframework.ldap.core.support.LdapContextSource
* @see org.springframework.ldap.core.support.DirContextSource
- * @author Mattias Hellborg Arthursson
- * @author Adam Skogman
- * @author Ulrik Sandberg
*/
public abstract class AbstractContextSource implements BaseLdapPathContextSource, InitializingBean {
diff --git a/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathBeanPostProcessor.java b/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathBeanPostProcessor.java
index 749c1c69..5914883b 100644
--- a/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathBeanPostProcessor.java
+++ b/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathBeanPostProcessor.java
@@ -172,8 +172,8 @@ public class BaseLdapPathBeanPostProcessor implements BeanPostProcessor, Applica
* Set the order value of this object for sorting purposes.
* @param order the order of this instance. Defaults to
* Ordered.LOWEST_PRECEDENCE.
- * @see Ordered
* @since 1.3.2
+ * @see Ordered
*/
public void setOrder(int order) {
this.order = order;
diff --git a/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathSource.java b/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathSource.java
index 7dcc533f..a1a5f059 100644
--- a/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathSource.java
+++ b/core/src/main/java/org/springframework/ldap/core/support/BaseLdapPathSource.java
@@ -26,8 +26,8 @@ import org.springframework.ldap.core.DistinguishedName;
* LDAP path is the root path to which all LDAP operations performed on a particular
* context are relative.
*
- * @see ContextSource
* @author Mattias Hellborg Arthursson
+ * @see ContextSource
*/
public interface BaseLdapPathSource {
diff --git a/core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java b/core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java
index 5014e94d..8a795faa 100644
--- a/core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java
+++ b/core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java
@@ -28,10 +28,10 @@ import org.springframework.ldap.core.ContextMapper;
* {@link #mapFromContextWithControls(Object, javax.naming.ldap.HasControls)} method to be
* the type parameter T.
*
- * @author Tim Terry
- * @author Ulrik Sandberg
* @param false, as specified in RFC4526.
*
* @author Mattias Hellborg Arthursson
- * @see RFC4526
* @since 1.3.2
+ * @see RFC4526
*/
public class AbsoluteFalseFilter extends AbstractFilter {
diff --git a/core/src/main/java/org/springframework/ldap/filter/AbsoluteTrueFilter.java b/core/src/main/java/org/springframework/ldap/filter/AbsoluteTrueFilter.java
index e68531ca..a2938877 100644
--- a/core/src/main/java/org/springframework/ldap/filter/AbsoluteTrueFilter.java
+++ b/core/src/main/java/org/springframework/ldap/filter/AbsoluteTrueFilter.java
@@ -20,8 +20,8 @@ package org.springframework.ldap.filter;
* A filter that will always evaluate to true, as specified in RFC4526.
*
* @author Mattias Hellborg Arthursson
- * @see RFC4526
* @since 1.3.2
+ * @see RFC4526
*/
public class AbsoluteTrueFilter extends AbstractFilter {
diff --git a/core/src/main/java/org/springframework/ldap/filter/AndFilter.java b/core/src/main/java/org/springframework/ldap/filter/AndFilter.java
index f7331d1c..39196886 100644
--- a/core/src/main/java/org/springframework/ldap/filter/AndFilter.java
+++ b/core/src/main/java/org/springframework/ldap/filter/AndFilter.java
@@ -28,9 +28,9 @@ package org.springframework.ldap.filter;
*
* would result in: (&(objectclass=person)(cn=Some CN))
*
- * @see org.springframework.ldap.filter.EqualsFilter
* @author Adam Skogman
* @author Mattias Hellborg Arthursson
+ * @see org.springframework.ldap.filter.EqualsFilter
*/
public class AndFilter extends BinaryLogicalFilter {
diff --git a/core/src/main/java/org/springframework/ldap/pool2/DelegatingContext.java b/core/src/main/java/org/springframework/ldap/pool2/DelegatingContext.java
index 8f13a551..0890af12 100644
--- a/core/src/main/java/org/springframework/ldap/pool2/DelegatingContext.java
+++ b/core/src/main/java/org/springframework/ldap/pool2/DelegatingContext.java
@@ -36,8 +36,8 @@ import org.springframework.util.Assert;
* to the underlying context, retains a reference to the pool the context was checked out
* from and returns itself to the pool when {@link #close()} is called.
*
- * @since 2.0
* @author Eric Dalquist
+ * @since 2.0
*/
public class DelegatingContext implements Context {
diff --git a/core/src/main/java/org/springframework/ldap/pool2/DelegatingDirContext.java b/core/src/main/java/org/springframework/ldap/pool2/DelegatingDirContext.java
index 85f8d7d9..7dd8f792 100644
--- a/core/src/main/java/org/springframework/ldap/pool2/DelegatingDirContext.java
+++ b/core/src/main/java/org/springframework/ldap/pool2/DelegatingDirContext.java
@@ -37,9 +37,9 @@ import org.springframework.util.Assert;
* methods to the underlying context. This class extends {@link DelegatingContext} which
* handles returning the context to the pool on a call to {@link #close()}
*
- * @since 2.0
* @author Eric Dalquist
* @author Anindya Chatterjee
+ * @since 2.0
*/
public class DelegatingDirContext extends DelegatingContext implements DirContext, DirContextProxy {
diff --git a/core/src/main/java/org/springframework/ldap/pool2/DelegatingLdapContext.java b/core/src/main/java/org/springframework/ldap/pool2/DelegatingLdapContext.java
index eee9cf0e..39d1401a 100644
--- a/core/src/main/java/org/springframework/ldap/pool2/DelegatingLdapContext.java
+++ b/core/src/main/java/org/springframework/ldap/pool2/DelegatingLdapContext.java
@@ -33,9 +33,9 @@ import org.springframework.util.Assert;
* methods to the underlying context. This class extends {@link DelegatingDirContext}
* which handles returning the context to the pool on a call to {@link #close()}
*
- * @since 2.0
* @author Eric Dalquist
* @author Anindya Chatterjee
+ * @since 2.0
*/
public class DelegatingLdapContext extends DelegatingDirContext implements LdapContext {
diff --git a/core/src/main/java/org/springframework/ldap/pool2/MutableDelegatingLdapContext.java b/core/src/main/java/org/springframework/ldap/pool2/MutableDelegatingLdapContext.java
index c5a0b60c..e53f0fc1 100644
--- a/core/src/main/java/org/springframework/ldap/pool2/MutableDelegatingLdapContext.java
+++ b/core/src/main/java/org/springframework/ldap/pool2/MutableDelegatingLdapContext.java
@@ -31,9 +31,9 @@ import org.springframework.ldap.pool2.factory.MutablePooledContextSource;
* context. This enables the Spring LDAP pooling to be used for scenarios such as paged
* results.
*
- * @since 2.0
* @author Ulrik Sandberg
* @author Anindya Chatterjee
+ * @since 2.0
*/
public class MutableDelegatingLdapContext extends DelegatingLdapContext {
diff --git a/core/src/main/java/org/springframework/ldap/pool2/factory/DirContextPoolableObjectFactory.java b/core/src/main/java/org/springframework/ldap/pool2/factory/DirContextPoolableObjectFactory.java
index 67718ed4..ffe980eb 100644
--- a/core/src/main/java/org/springframework/ldap/pool2/factory/DirContextPoolableObjectFactory.java
+++ b/core/src/main/java/org/springframework/ldap/pool2/factory/DirContextPoolableObjectFactory.java
@@ -74,11 +74,11 @@ import org.springframework.util.Assert;
*
*
*
- * @since 2.0
* @author Eric Dalquist
* eric.dalquist@doit.wisc.edu
* @author Mattias Hellborg Arthursson
* @author Anindya Chatterjee
+ * @since 2.0
*/
class DirContextPooledObjectFactory extends BaseKeyedPooledObjectFactory