jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1439586 - /incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java
Date Mon, 28 Jan 2013 19:15:07 GMT
Author: juanpablo
Date: Mon Jan 28 19:15:07 2013
New Revision: 1439586

URL: http://svn.apache.org/viewvc?rev=1439586&view=rev
Log:
stop using @deprecated method

Modified:
    incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java

Modified: incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java?rev=1439586&r1=1439585&r2=1439586&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/auth/UserManager.java Mon Jan 28 19:15:07
2013
@@ -366,7 +366,7 @@ public final class UserManager
                 AuthenticationManager mgr = m_engine.getAuthenticationManager();
                 if ( newProfile && !mgr.isContainerAuthenticated() )
                 {
-                    mgr.login( session, profile.getLoginName(), profile.getPassword() );
+                    mgr.login( session, null, profile.getLoginName(), profile.getPassword()
);
                 }
             }
             catch ( WikiException e )
@@ -720,7 +720,8 @@ public final class UserManager
         /**
          * Constructs a new Task for saving a user profile.
          * @param engine the wiki engine
-         * @deprecated will be removed in 2.10 scope. Consider using {@link SaveUserProfileTask(WikiEngine,
Locale)} instead
+         * @deprecated will be removed in 2.10 scope. Consider using 
+         * {@link UserManager#SaveUserProfileTask(WikiEngine, Locale)} instead
          */
         @Deprecated
         public SaveUserProfileTask( WikiEngine engine )



Mime
View raw message