diff --git a/core/src/main/java/org/apache/shiro/authc/credential/CredentialsMatcher.java b/core/src/main/java/org/apache/shiro/authc/credential/CredentialsMatcher.java index 89c9dd93c7..4e6a525b2f 100644 --- a/core/src/main/java/org/apache/shiro/authc/credential/CredentialsMatcher.java +++ b/core/src/main/java/org/apache/shiro/authc/credential/CredentialsMatcher.java @@ -33,8 +33,6 @@ * * @see SimpleCredentialsMatcher * @see AllowAllCredentialsMatcher - * @see Md5CredentialsMatcher - * @see Sha1CredentialsMatcher * @since 0.1 */ public interface CredentialsMatcher { diff --git a/core/src/main/java/org/apache/shiro/authc/credential/HashedCredentialsMatcher.java b/core/src/main/java/org/apache/shiro/authc/credential/HashedCredentialsMatcher.java index f735f9ad2f..262101cdca 100644 --- a/core/src/main/java/org/apache/shiro/authc/credential/HashedCredentialsMatcher.java +++ b/core/src/main/java/org/apache/shiro/authc/credential/HashedCredentialsMatcher.java @@ -49,7 +49,7 @@ *
Collection
of Strings
- * ({@link java.util.Collection Collection}<{@link String String}>), typically each element being the Role name.
+ * ({@link java.util.Collection Collection}<{@link String String}>), typically each element being the Role name.
*
* {@link Permission Permission}s are provided in two ways:
* null
all configured realms, or null
(the default)
* if all realm instances will each configure their own permission resolver.
*
- * @return the PermissionResolver to be used on all configured realms, or null
all configured realms, or null
(the default)
* if realm instances will each configure their own permission resolver.
* @since 1.0
*/
@@ -145,10 +145,10 @@ protected void applyPermissionResolverToRealms() {
}
/**
- * Returns the RolePermissionResolver to be used on all configured realms, or null
all configured realms, or null
(the default)
* if all realm instances will each configure their own permission resolver.
*
- * @return the RolePermissionResolver to be used on all configured realms, or null
all configured realms, or null
(the default)
* if realm instances will each configure their own role permission resolver.
* @since 1.0
*/
diff --git a/core/src/main/java/org/apache/shiro/realm/ldap/LdapUtils.java b/core/src/main/java/org/apache/shiro/realm/ldap/LdapUtils.java
index ba12a2a28f..e03998c57c 100644
--- a/core/src/main/java/org/apache/shiro/realm/ldap/LdapUtils.java
+++ b/core/src/main/java/org/apache/shiro/realm/ldap/LdapUtils.java
@@ -86,8 +86,8 @@ public static Collection- * select * from sessions s where s.lastAccessTimestamp < ? and s.stopTimestamp is null + * select * from sessions s where s.lastAccessTimestamp < ? and s.stopTimestamp is null ** where the {@code ?} parameter is a date instance equal to 'now' minus the session timeout * (e.g. now - 30 minutes). diff --git a/core/src/main/java/org/apache/shiro/subject/Subject.java b/core/src/main/java/org/apache/shiro/subject/Subject.java index 7b1c83f967..b01dae04d8 100644 --- a/core/src/main/java/org/apache/shiro/subject/Subject.java +++ b/core/src/main/java/org/apache/shiro/subject/Subject.java @@ -351,7 +351,7 @@ public interface Subject { * Although the underlying implementation determines exactly how this method functions, most implementations have * this method act as the logical equivalent to this code: *
- * {@link #getPrincipal() getPrincipal()} != null && !{@link #isAuthenticated() isAuthenticated()}+ * {@link #getPrincipal() getPrincipal()} != null && !{@link #isAuthenticated() isAuthenticated()} * * Note as indicated by the above code example, if a {@code Subject} is remembered, they are * NOT considered authenticated. A check against {@link #isAuthenticated() isAuthenticated()} is a more diff --git a/core/src/main/java/org/apache/shiro/util/JavaEnvironment.java b/core/src/main/java/org/apache/shiro/util/JavaEnvironment.java index 5d752d2789..1735a5b0ec 100644 --- a/core/src/main/java/org/apache/shiro/util/JavaEnvironment.java +++ b/core/src/main/java/org/apache/shiro/util/JavaEnvironment.java @@ -119,7 +119,7 @@ public static String getVersion() { /** * Get the major version code. This means we can do things like - *
if (getMajorVersion() < JAVA_14)
.
+ * if (getMajorVersion() < JAVA_14)
.
*
* @return a code comparable to the JAVA_XX codes in this class
* @see #JAVA_13