Author: ivol37 at gmail.com
Date: Wed Nov 24 11:57:17 2010
New Revision: 438

Log:
[AMDATU-166] Deprecated methods on the interface that were introduced in this 
very same issue.

Modified:
   
trunk/amdatu-authorization/login-service/src/main/java/org/amdatu/authorization/login/service/LoginService.java

Modified: 
trunk/amdatu-authorization/login-service/src/main/java/org/amdatu/authorization/login/service/LoginService.java
==============================================================================
--- 
trunk/amdatu-authorization/login-service/src/main/java/org/amdatu/authorization/login/service/LoginService.java
     (original)
+++ 
trunk/amdatu-authorization/login-service/src/main/java/org/amdatu/authorization/login/service/LoginService.java
     Wed Nov 24 11:57:17 2010
@@ -36,26 +36,38 @@
     String PASSWORD_CREDENTIAL_KEY = "password";
     
     /**
+     * NB: Do NOT use this method since it will be removed from future 
versions. For more information,
+     * see http://jira.amdatu.org/jira/browse/AMDATU-166.
+     * 
      * Shows the login status of the user.
      * @param request The current httprequest
      * @return Response the username of the current user is logged in or an
      * empty string if the user is not logged in.
      */
+    @Deprecated
     public Response getLoginStatus(HttpServletRequest request);
     
     /**
+     * NB: Do NOT use this method since it will be removed from future 
versions. For more information,
+     * see http://jira.amdatu.org/jira/browse/AMDATU-166.
+     * 
      * Enables the user login with a username and password.
      * @param username The username 
      * @param password The plain text password
      * @param request The current httprequest
      * @return Response The result of the login.
      */
+    @Deprecated
     public Response login(String username, String password, HttpServletRequest 
request);
 
     /**
+     * NB: Do NOT use this method since it will be removed from future 
versions. For more information,
+     * see http://jira.amdatu.org/jira/browse/AMDATU-166.
+     * 
      * Enables the user logout.
      * @param request The current httprequest
      * @return Response The result of the logout.
      */
+    @Deprecated
        public Response logout(HttpServletRequest request);
 }
\ No newline at end of file

Reply via email to