This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit d1985387b5a961f5dfd5f90f80fea47bbc420194
Author: juanpablo <[email protected]>
AuthorDate: Fri Aug 16 20:30:11 2019 +0200

    removal of @deprecated code (4) - CookieAssertionLoginModule: remove unused 
constant
---
 .../wiki/auth/login/CookieAssertionLoginModule.java  | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git 
a/jspwiki-main/src/main/java/org/apache/wiki/auth/login/CookieAssertionLoginModule.java
 
b/jspwiki-main/src/main/java/org/apache/wiki/auth/login/CookieAssertionLoginModule.java
index 429eb1a..4e490fa 100644
--- 
a/jspwiki-main/src/main/java/org/apache/wiki/auth/login/CookieAssertionLoginModule.java
+++ 
b/jspwiki-main/src/main/java/org/apache/wiki/auth/login/CookieAssertionLoginModule.java
@@ -18,7 +18,10 @@
  */
 package org.apache.wiki.auth.login;
 
-import java.io.IOException;
+import org.apache.log4j.Logger;
+import org.apache.wiki.auth.WikiPrincipal;
+import org.apache.wiki.util.HttpUtil;
+import org.apache.wiki.util.TextUtil;
 
 import javax.security.auth.callback.Callback;
 import javax.security.auth.callback.UnsupportedCallbackException;
@@ -28,11 +31,7 @@ import javax.servlet.http.Cookie;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.http.HttpSession;
-
-import org.apache.log4j.Logger;
-import org.apache.wiki.auth.WikiPrincipal;
-import org.apache.wiki.util.HttpUtil;
-import org.apache.wiki.util.TextUtil;
+import java.io.IOException;
 
 /**
  * <p>
@@ -55,17 +54,12 @@ import org.apache.wiki.util.TextUtil;
  * @see CookieAuthenticationLoginModule
  * @since 2.3
  */
-public class CookieAssertionLoginModule extends AbstractLoginModule
-{
+public class CookieAssertionLoginModule extends AbstractLoginModule {
 
     /** The name of the cookie that gets stored to the user browser. */
     public static final String PREFS_COOKIE_NAME = "JSPWikiAssertedName";
 
-    /** Believed to be unused.
-     *  @deprecated */
-    public static final String PROMPT            = "User name";
-
-    protected static final Logger    log         = Logger.getLogger( 
CookieAssertionLoginModule.class );
+    protected static final Logger log = Logger.getLogger( 
CookieAssertionLoginModule.class );
 
     /**
      * Logs in the user by calling back to the registered CallbackHandler with

Reply via email to