You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ru...@apache.org on 2013/01/30 07:30:48 UTC

svn commit: r1440287 - /axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java

Author: ruchithf
Date: Wed Jan 30 06:30:48 2013
New Revision: 1440287

URL: http://svn.apache.org/viewvc?rev=1440287&view=rev
Log:
The user exception here is simply used as a flag to indicate success or failure of authentication.
There's no need to associate any information that the user includes in the user's exception, in the exception generated by Rampart.


Modified:
    axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java

Modified: axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java?rev=1440287&r1=1440286&r2=1440287&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java (original)
+++ axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/handler/RampartUsernameTokenValidator.java Wed Jan 30 06:30:48 2013
@@ -58,13 +58,13 @@ public class RampartUsernameTokenValidat
 				mlog.debug(e);
 			}
 			throw new WSSecurityException(
-					WSSecurityException.FAILED_AUTHENTICATION, null, null, e);
+					WSSecurityException.FAILED_AUTHENTICATION);
 		} catch (UnsupportedCallbackException e) {
 			if (mlog.isDebugEnabled()) {
 				mlog.debug(e);
 			}
 			throw new WSSecurityException(
-					WSSecurityException.FAILED_AUTHENTICATION, null, null, e);
+					WSSecurityException.FAILED_AUTHENTICATION);
 		}
 
 	}