You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2012/07/24 12:28:46 UTC

svn commit: r1364964 - /santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java

Author: coheigea
Date: Tue Jul 24 10:28:45 2012
New Revision: 1364964

URL: http://svn.apache.org/viewvc?rev=1364964&view=rev
Log:
Adding missing file from last commit

Added:
    santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java

Added: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java?rev=1364964&view=auto
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java (added)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/securityEvent/EncryptedElementSecurityEvent.java Tue Jul 24 10:28:45 2012
@@ -0,0 +1,35 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.xml.security.stax.securityEvent;
+
+import org.apache.xml.security.stax.ext.SecurityToken;
+import org.apache.xml.security.stax.ext.XMLSecurityConstants;
+
+import java.util.List;
+
+/**
+ * @author $Author: coheigea $
+ * @version $Revision: 1359731 $ $Date: 2012-07-10 16:39:40 +0100 (Tue, 10 Jul 2012) $
+ */
+public class EncryptedElementSecurityEvent extends AbstractSecuredElementSecurityEvent {
+
+    public EncryptedElementSecurityEvent(SecurityToken securityToken, boolean encrypted, List<XMLSecurityConstants.ContentType> protectionOrder) {
+        super(SecurityEventConstants.EncryptedElement, securityToken, protectionOrder, false, encrypted);
+    }
+}