felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1542981 - in /felix/trunk/jaas/src/main/java/org/apache/felix/jaas: LoginContextFactory.java LoginModuleFactory.java
Date Mon, 18 Nov 2013 11:13:57 GMT
Author: chetanm
Date: Mon Nov 18 11:13:56 2013
New Revision: 1542981

URL: http://svn.apache.org/r1542981
Log:
FELIX-4318 - prepare for initial release of JAAS Bundle

Adding ProviderType to LoginContextFactory and ConsumerType to LoginModuleFactory

Modified:
    felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java
    felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java

Modified: felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java
URL: http://svn.apache.org/viewvc/felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java?rev=1542981&r1=1542980&r2=1542981&view=diff
==============================================================================
--- felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java (original)
+++ felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginContextFactory.java Mon Nov
18 11:13:56 2013
@@ -24,6 +24,8 @@ import javax.security.auth.callback.Call
 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 @@ import javax.security.auth.login.LoginEx
  * locating the {@link javax.security.auth.login.Configuration} instance and switching of
Thread's context
  * classloader.
  */
+@ProviderType
 public interface LoginContextFactory
 {
     /**

Modified: felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java
URL: http://svn.apache.org/viewvc/felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java?rev=1542981&r1=1542980&r2=1542981&view=diff
==============================================================================
--- felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java (original)
+++ felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java Mon Nov 18
11:13:56 2013
@@ -21,9 +21,12 @@ package org.apache.felix.jaas;
 
 import javax.security.auth.spi.LoginModule;
 
+import aQute.bnd.annotation.ConsumerType;
+
 /**
  * A factory for creating {@link LoginModule} instances.
  */
+@ConsumerType
 public interface LoginModuleFactory
 {
     /**



Mime
View raw message