ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1482748 - in /webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax: impl/securityToken/HttpsSecurityTokenImpl.java securityEvent/HttpsTokenSecurityEvent.java
Date Wed, 15 May 2013 10:25:19 GMT
Author: coheigea
Date: Wed May 15 10:25:19 2013
New Revision: 1482748

URL: http://svn.apache.org/r1482748
Log:
Allow a Https "NoAuthentication" Token. So 1-way TLS in effect.

Modified:
    webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/HttpsSecurityTokenImpl.java
    webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/securityEvent/HttpsTokenSecurityEvent.java

Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/HttpsSecurityTokenImpl.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/HttpsSecurityTokenImpl.java?rev=1482748&r1=1482747&r2=1482748&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/HttpsSecurityTokenImpl.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/HttpsSecurityTokenImpl.java
Wed May 15 10:25:19 2013
@@ -39,8 +39,14 @@ public class HttpsSecurityTokenImpl exte
         httpsClientAuthentication,
         httpBasicAuthentication,
         httpDigestAuthentication,
+        noAuthentication
     }
 
+    public HttpsSecurityTokenImpl() {
+        super(null, IDGenerator.generateID(null), null);
+        this.authenticationType = AuthenticationType.noAuthentication;
+    }
+    
     public HttpsSecurityTokenImpl(X509Certificate x509Certificate) {
 
         super(null, IDGenerator.generateID(null), null);

Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/securityEvent/HttpsTokenSecurityEvent.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/securityEvent/HttpsTokenSecurityEvent.java?rev=1482748&r1=1482747&r2=1482748&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/securityEvent/HttpsTokenSecurityEvent.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/securityEvent/HttpsTokenSecurityEvent.java
Wed May 15 10:25:19 2013
@@ -26,7 +26,8 @@ public class HttpsTokenSecurityEvent ext
     public enum AuthenticationType {
         HttpBasicAuthentication,
         HttpDigestAuthentication,
-        HttpsClientCertificateAuthentication
+        HttpsClientCertificateAuthentication,
+        HttpsNoAuthentication
     }
 
     private AuthenticationType authenticationType;



Mime
View raw message