You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by sb...@apache.org on 2012/02/28 00:23:23 UTC

[2/2] git commit: moved to own package

moved to own package

Submitted on behalf of a third party: Red Hat, Inc. under the terms of the ALv2


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/edf4c032
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/edf4c032
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/edf4c032

Branch: refs/heads/master
Commit: edf4c032b93d1712ae0a5897d8597a2a6855ab64
Parents: e4a37d3
Author: Shane Bryzak <sb...@gmail.com>
Authored: Tue Feb 28 09:19:43 2012 +1000
Committer: Shane Bryzak <sb...@gmail.com>
Committed: Tue Feb 28 09:20:16 2012 +1000

----------------------------------------------------------------------
 .../apache/deltaspike/security/api/Secured.java    |   51 ---------------
 .../apache/deltaspike/security/api/Secures.java    |   36 ----------
 .../security/api/SecurityBindingType.java          |   38 -----------
 3 files changed, 0 insertions(+), 125 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/edf4c032/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secured.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secured.java b/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secured.java
deleted file mode 100644
index f9f679c..0000000
--- a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secured.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.deltaspike.security.api;
-
-import javax.enterprise.util.Nonbinding;
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-/**
- * Interceptor for securing beans.
- * It's also possible to use it as meta-annotation for type-safe view-configs.
- */
-@Target({ TYPE, METHOD, ANNOTATION_TYPE })
-@Retention(RUNTIME)
-@Documented
-
-//cdi annotations
-@SecurityBindingType
-public @interface Secured
-{
-    /**
-     * {@link AccessDecisionVoter}s which will be invoked before accessing the intercepted instance or in case of
-     * view-configs before a view gets used.
-     *
-     * @return the configured access-decision-voters which should be used for the voting process
-     */
-    @Nonbinding
-    Class<? extends AccessDecisionVoter>[] value();
-}

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/edf4c032/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secures.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secures.java b/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secures.java
deleted file mode 100644
index c45e88b..0000000
--- a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Secures.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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.deltaspike.security.api;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * This annotation is used to delegate a method as the provider for a specific authorization check
- *
- * @author Shane Bryzak
- */
-@Target(ElementType.METHOD)
-@Retention(RetentionPolicy.RUNTIME)
-public @interface Secures 
-{
-}

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/edf4c032/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/SecurityBindingType.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/SecurityBindingType.java b/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/SecurityBindingType.java
deleted file mode 100644
index 9d156f2..0000000
--- a/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/SecurityBindingType.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.deltaspike.security.api;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Applied to an annotation to indicate that it is a security binding type
- *
- * @author Shane Bryzak
- */
-@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-public @interface SecurityBindingType 
-{
-}