Refactored package name org.activemq -> org.apache.activemq

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359571 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2005-12-28 17:35:25 +00:00
parent d29ca2a71b
commit 2d0361bd2b
14 changed files with 32 additions and 24 deletions

View File

@ -1,6 +1,6 @@
testLogin { testLogin {
org.activemq.jaas.PropertiesLoginModule required org.apache.activemq.jaas.PropertiesLoginModule required
debug=true debug=true
org.activemq.jaas.properties.user="src/test/resources/users.properties" org.apache.activemq.jaas.properties.user="src/test/resources/users.properties"
org.activemq.jaas.properties.group="src/test/resources/groups.properties"; org.apache.activemq.jaas.properties.group="src/test/resources/groups.properties";
}; };

View File

@ -27,11 +27,11 @@
<id>activemq-jaas</id> <id>activemq-jaas</id>
<description>ActiveMQ is an open source message broker and JMS 1.1 provider</description> <description>ActiveMQ is an open source message broker and JMS 1.1 provider</description>
<shortDescription>ActiveMQ JAAS Login Modules</shortDescription> <shortDescription>ActiveMQ JAAS Login Modules</shortDescription>
<package>org.activemq.jaas</package> <package>org.apache.activemq.jaas</package>
<packageGroups> <packageGroups>
<packageGroup> <packageGroup>
<title>Utilities</title> <title>Utilities</title>
<packages>org.activemq.jaas.*</packages> <packages>org.apache.activemq.jaas.*</packages>
</packageGroup> </packageGroup>
</packageGroups> </packageGroups>

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.security.Principal; import java.security.Principal;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.io.IOException; import java.io.IOException;
import java.text.MessageFormat; import java.text.MessageFormat;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -43,8 +43,8 @@ import org.apache.commons.logging.LogFactory;
*/ */
public class PropertiesLoginModule implements LoginModule { public class PropertiesLoginModule implements LoginModule {
private final String USER_FILE = "org.activemq.jaas.properties.user"; private final String USER_FILE = "org.apache.activemq.jaas.properties.user";
private final String GROUP_FILE = "org.activemq.jaas.properties.group"; private final String GROUP_FILE = "org.apache.activemq.jaas.properties.group";
private static final Log log = LogFactory.getLog(PropertiesLoginModule.class); private static final Log log = LogFactory.getLog(PropertiesLoginModule.class);

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.security.Principal; import java.security.Principal;

View File

@ -14,7 +14,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import org.apache.activemq.jaas.GroupPrincipal;
import junit.framework.TestCase; import junit.framework.TestCase;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -36,11 +36,12 @@ import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginException; import javax.security.auth.login.LoginException;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.apache.activemq.jaas.ldap.MutableServerStartupConfiguration;
import org.apache.activemq.jaas.ldap.ServerContextFactory;
import org.apache.ldap.server.configuration.ShutdownConfiguration; import org.apache.ldap.server.configuration.ShutdownConfiguration;
import org.apache.ldap.server.jndi.CoreContextFactory; import org.apache.ldap.server.jndi.CoreContextFactory;
import org.activemq.jaas.ldap.MutableServerStartupConfiguration;
import org.activemq.jaas.ldap.ServerContextFactory;
/** /**

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import java.io.IOException; import java.io.IOException;
import javax.security.auth.Subject; import javax.security.auth.Subject;
@ -27,6 +27,9 @@ import javax.security.auth.login.FailedLoginException;
import javax.security.auth.login.LoginContext; import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginException; import javax.security.auth.login.LoginException;
import org.apache.activemq.jaas.GroupPrincipal;
import org.apache.activemq.jaas.UserPrincipal;
import junit.framework.TestCase; import junit.framework.TestCase;

View File

@ -14,7 +14,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas; package org.apache.activemq.jaas;
import org.apache.activemq.jaas.UserPrincipal;
import junit.framework.TestCase; import junit.framework.TestCase;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas.ldap; package org.apache.activemq.jaas.ldap;
import java.io.File; import java.io.File;
import java.net.InetAddress; import java.net.InetAddress;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas.ldap; package org.apache.activemq.jaas.ldap;
import java.io.IOException; import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.activemq.jaas.ldap; package org.apache.activemq.jaas.ldap;
import java.net.InetAddress; import java.net.InetAddress;

View File

@ -1,12 +1,12 @@
PropertiesLogin { PropertiesLogin {
org.activemq.jaas.PropertiesLoginModule required org.apache.activemq.jaas.PropertiesLoginModule required
debug=true debug=true
org.activemq.jaas.properties.user="users.properties" org.apache.activemq.jaas.properties.user="users.properties"
org.activemq.jaas.properties.group="groups.properties"; org.apache.activemq.jaas.properties.group="groups.properties";
}; };
LDAPLogin { LDAPLogin {
org.activemq.jaas.LDAPLoginModule required org.apache.activemq.jaas.LDAPLoginModule required
debug=true debug=true
initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
connectionURL="ldap://localhost:9389" connectionURL="ldap://localhost:9389"