Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added deprecated security extension

  • Loading branch information...
commit 5e78f0832eed441d9ef8d7ecdd410366787f6596 1 parent d7deb83
@sbryzak sbryzak authored
View
30 impl/src/main/java/org/jboss/seam/security/extension/SecurityExtension.java
@@ -0,0 +1,30 @@
+package org.jboss.seam.security.extension;
+
+import javax.enterprise.event.Observes;
+import javax.enterprise.inject.spi.BeanManager;
+import javax.enterprise.inject.spi.ProcessAnnotatedType;
+import javax.inject.Inject;
+
+import org.jboss.solder.logging.Logger;
+
+/**
+ * This class has been deprecated - please use org.jboss.seam.security.SecurityExtension instead.
+ *
+ * @author Shane Bryzak
+ *
+ */
+@Deprecated
+public class SecurityExtension extends org.jboss.seam.security.SecurityExtension {
+
+ private Logger log = Logger.getLogger(SecurityExtension.class);
+
+ @Inject public void init() {
+ log.warn("### WARNING ### - org.jboss.seam.security.extension.SecurityExtension is deprecated, " +
+ "please use org.jboss.seam.security.SecurityExtension instead.");
+ }
+
+ public <X> void processAnnotatedType(@Observes ProcessAnnotatedType<X> event,
+ final BeanManager beanManager) {
+ super.processAnnotatedType(event, beanManager);
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.