removal of code (2) - AuthorizationManager: removed unused method
package org.apache.wiki.auth;
-import java.io.File;
-import java.io.IOException;
-import java.net.URL;
-import java.security.AccessControlException;
-import java.security.AccessController;
-import java.security.CodeSource;
-import java.security.Permission;
-import java.security.Principal;
-import java.security.PrivilegedAction;
-import java.security.ProtectionDomain;
-import java.security.cert.Certificate;
-import java.text.MessageFormat;
-import java.util.Arrays;
-import java.util.Map;
-import java.util.Properties;
-import java.util.ResourceBundle;
-import java.util.WeakHashMap;
-
-import javax.servlet.http.HttpServletResponse;
-
import org.apache.log4j.Logger;
import org.apache.wiki.WikiContext;
import org.apache.wiki.WikiEngine;
@@ -63,6 +43,25 @@ import org.apache.wiki.tags.WikiTagBase;
import org.apache.wiki.util.ClassUtil;
import org.freshcookies.security.policy.LocalPolicy;
+import javax.servlet.http.HttpServletResponse;
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.security.AccessControlException;
+import java.security.AccessController;
+import java.security.CodeSource;
+import java.security.Permission;
+import java.security.Principal;
+import java.security.PrivilegedAction;
+import java.security.ProtectionDomain;
+import java.security.cert.Certificate;
+import java.text.MessageFormat;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.Properties;
+import java.util.ResourceBundle;
+import java.util.WeakHashMap;
+
/**
* <p>Manages all access control and authorization; determines what authenticated
* users are allowed to do.</p>
@@ -496,18 +495,6 @@ public class AuthorizationManager {
}
}
- /**
- * Returns <code>true</code> if JSPWiki's JAAS authorization system
- * is used for authorization in addition to container controls.
- * @return the result
- * @deprecated functionality deprecated - returns true always. To be removed on 2.11.0
- */
- @Deprecated
- protected boolean isJAASAuthorized()
- {
- return true;
- }
-
/**
* Attempts to locate and initialize a Authorizer to use with this manager.
* Throws a WikiException if no entry is found, or if one fails to
