harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r472462 - /incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java
Date Wed, 08 Nov 2006 12:14:53 GMT
Author: smishura
Date: Wed Nov  8 04:14:52 2006
New Revision: 472462

URL: http://svn.apache.org/viewvc?view=rev&rev=472462
Log:
Add a warning (as we agreed on harmony-dev. see thread '[classlib][auth]LoginContext should
always invoke the LoginModules?')

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java?view=diff&rev=472462&r1=472461&r2=472462
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/login/LoginContext.java
Wed Nov  8 04:14:52 2006
@@ -222,6 +222,10 @@
         return null;
     }
 
+    /**
+     * Warning: calling the method more than once may result in undefined
+     * behaviour if logout() method is not invoked before.
+     */
     public void login() throws LoginException {
         PrivilegedExceptionAction<Void> action = new PrivilegedExceptionAction<Void>()
{
             public Void run() throws LoginException {



Mime
View raw message