Remove redundant isRegistered method
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 21 Jan 2017 16:56:06 +0000 (17:56 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 21 Jan 2017 16:56:06 +0000 (17:56 +0100)
org.argeo.cms/src/org/argeo/cms/auth/CurrentUser.java

index 33a226737bd5c8ac52c6ea3febfacd5b55340f0a..3fef3033d6e04a32215cf4116baefa504577b81e 100644 (file)
@@ -65,15 +65,6 @@ public final class CurrentUser {
                return isAnonymous(currentSubject());
        }
 
-       /**
-        * Whether a user is currently authenticated. @deprecate User !isAnonymous()
-        * instead.
-        */
-       @Deprecated
-       public static boolean isRegistered() {
-               return !isAnonymous();
-       }
-
        /** Roles of the currently logged-in user */
        public final static Set<String> roles() {
                return roles(currentSubject());