FELIX-4318 - prepare for initial release of JAAS Bundle

Adding ProviderType to LoginContextFactory and ConsumerType to LoginModuleFactory

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542981 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java b/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java
index 431a8e6..faca0b2 100644
--- a/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java
+++ b/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java
@@ -24,6 +24,8 @@
 import javax.security.auth.login.LoginContext;
 import javax.security.auth.login.LoginException;
 
+import aQute.bnd.annotation.ProviderType;
+
 
 /**
  * A factory for creating {@link LoginContext} instances.
@@ -32,6 +34,7 @@
  * locating the {@link javax.security.auth.login.Configuration} instance and switching of Thread's context
  * classloader.
  */
+@ProviderType
 public interface LoginContextFactory
 {
     /**
diff --git a/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java b/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java
index 8c3ea01..c36d297 100644
--- a/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java
+++ b/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java
@@ -21,9 +21,12 @@
 
 import javax.security.auth.spi.LoginModule;
 
+import aQute.bnd.annotation.ConsumerType;
+
 /**
  * A factory for creating {@link LoginModule} instances.
  */
+@ConsumerType
 public interface LoginModuleFactory
 {
     /**