commit | 45f473f273af986b5ae1219a3c50fcb13a42a989 | [log] [tgz] |
---|---|---|
author | Chetan Mehrotra <chetanm@apache.org> | Mon Nov 18 11:13:56 2013 +0000 |
committer | Chetan Mehrotra <chetanm@apache.org> | Mon Nov 18 11:13:56 2013 +0000 |
tree | 0761d8dbddd7104ce10d63870ccb2c0799177e19 | |
parent | 06a94414434e627ad64b3b953882653595877690 [diff] |
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 { /**