Remove redundant isRegistered method
[lgpl/argeo-commons.git] / 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());