ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gi...@apache.org
Subject svn commit: r1299254 - /webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java
Date Sat, 10 Mar 2012 18:58:32 GMT
Author: giger
Date: Sat Mar 10 18:58:32 2012
New Revision: 1299254

URL: http://svn.apache.org/viewvc?rev=1299254&view=rev
Log:
reuse SecurityEventListener interface

Modified:
    webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java

Modified: webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java?rev=1299254&r1=1299253&r2=1299254&view=diff
==============================================================================
--- webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java
(original)
+++ webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/ext/WSSecurityContext.java
Sat Mar 10 18:58:32 2012
@@ -18,8 +18,6 @@
  */
 package org.swssf.wss.ext;
 
-
-import org.swssf.wss.securityEvent.SecurityEvent;
 import org.swssf.wss.securityEvent.SecurityEventListener;
 import org.swssf.xmlsec.ext.SecurityContext;
 
@@ -29,7 +27,7 @@ import org.swssf.xmlsec.ext.SecurityCont
  * @author $Author$
  * @version $Revision$ $Date$
  */
-public interface WSSecurityContext extends SecurityContext {
+public interface WSSecurityContext extends SecurityContext, SecurityEventListener {
 
     /**
      * Registers a SecurityEventListener to receive Security-Events
@@ -37,12 +35,4 @@ public interface WSSecurityContext exten
      * @param securityEventListener The SecurityEventListener
      */
     public void addSecurityEventListener(SecurityEventListener securityEventListener);
-
-    /**
-     * Registers a SecurityEvent which will be forwarded to the registered SecurityEventListener
-     *
-     * @param securityEvent The security event for the SecurityEventListener
-     * @throws WSSecurityException when the event will not be accepted (e.g. policy-violation)
-     */
-    public void registerSecurityEvent(SecurityEvent securityEvent) throws WSSecurityException;
 }



Mime
View raw message