geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r792070 - in /geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security: DenyAll.java TransportProtected.java
Date Wed, 08 Jul 2009 08:49:17 GMT
Author: janb
Date: Wed Jul  8 08:49:17 2009
New Revision: 792070

URL: http://svn.apache.org/viewvc?rev=792070&view=rev
Log:
Changes for JSR250 MR1 inferred from Shing Wai Chang's blog: http://blogs.sun.com/swchan/entry/servlet_3_0_security_annotations

Added:
    geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
  (with props)
Modified:
    geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/DenyAll.java

Modified: geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/DenyAll.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/DenyAll.java?rev=792070&r1=792069&r2=792070&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/DenyAll.java
(original)
+++ geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/DenyAll.java
Wed Jul  8 08:49:17 2009
@@ -35,7 +35,7 @@
  */
 
 @Documented
-@Target(ElementType.METHOD)
+@Target(ElementType.TYPE, ElementType.METHOD)
 @Retention(RetentionPolicy.RUNTIME)
 public @interface DenyAll {
 }

Added: geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java?rev=792070&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
Wed Jul  8 08:49:17 2009
@@ -0,0 +1,42 @@
+/*
+ * 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.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+
+package javax.annotation.security;
+import java.lang.annotation.*;
+import static java.lang.annotation.ElementType.*;
+import static java.lang.annotation.RetentionPolicy.*;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+
+
+@Retention (RUNTIME)
+@Target({TYPE, METHOD})
+public @interface TransportProtected {
+     boolean value() default true;
+}
+

Propchange: geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/specs/trunk/geronimo-annotation_1.0-MR1_spec/src/main/java/javax/annotation/security/TransportProtected.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message