mirror of https://github.com/apache/activemq.git
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:
parent
d29ca2a71b
commit
2d0361bd2b
|
@ -1,6 +1,6 @@
|
|||
testLogin {
|
||||
org.activemq.jaas.PropertiesLoginModule required
|
||||
org.apache.activemq.jaas.PropertiesLoginModule required
|
||||
debug=true
|
||||
org.activemq.jaas.properties.user="src/test/resources/users.properties"
|
||||
org.activemq.jaas.properties.group="src/test/resources/groups.properties";
|
||||
org.apache.activemq.jaas.properties.user="src/test/resources/users.properties"
|
||||
org.apache.activemq.jaas.properties.group="src/test/resources/groups.properties";
|
||||
};
|
|
@ -27,11 +27,11 @@
|
|||
<id>activemq-jaas</id>
|
||||
<description>ActiveMQ is an open source message broker and JMS 1.1 provider</description>
|
||||
<shortDescription>ActiveMQ JAAS Login Modules</shortDescription>
|
||||
<package>org.activemq.jaas</package>
|
||||
<package>org.apache.activemq.jaas</package>
|
||||
<packageGroups>
|
||||
<packageGroup>
|
||||
<title>Utilities</title>
|
||||
<packages>org.activemq.jaas.*</packages>
|
||||
<packages>org.apache.activemq.jaas.*</packages>
|
||||
</packageGroup>
|
||||
</packageGroups>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.security.Principal;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.text.MessageFormat;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -43,8 +43,8 @@ import org.apache.commons.logging.LogFactory;
|
|||
*/
|
||||
public class PropertiesLoginModule implements LoginModule {
|
||||
|
||||
private final String USER_FILE = "org.activemq.jaas.properties.user";
|
||||
private final String GROUP_FILE = "org.activemq.jaas.properties.group";
|
||||
private final String USER_FILE = "org.apache.activemq.jaas.properties.user";
|
||||
private final String GROUP_FILE = "org.apache.activemq.jaas.properties.group";
|
||||
|
||||
private static final Log log = LogFactory.getLog(PropertiesLoginModule.class);
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.security.Principal;
|
||||
|
|
@ -14,7 +14,9 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import org.apache.activemq.jaas.GroupPrincipal;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -36,11 +36,12 @@ import javax.security.auth.login.LoginContext;
|
|||
import javax.security.auth.login.LoginException;
|
||||
|
||||
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.jndi.CoreContextFactory;
|
||||
|
||||
import org.activemq.jaas.ldap.MutableServerStartupConfiguration;
|
||||
import org.activemq.jaas.ldap.ServerContextFactory;
|
||||
|
||||
|
||||
/**
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import java.io.IOException;
|
||||
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.LoginException;
|
||||
|
||||
import org.apache.activemq.jaas.GroupPrincipal;
|
||||
import org.apache.activemq.jaas.UserPrincipal;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
|
|
@ -14,7 +14,9 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas;
|
||||
package org.apache.activemq.jaas;
|
||||
|
||||
import org.apache.activemq.jaas.UserPrincipal;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas.ldap;
|
||||
package org.apache.activemq.jaas.ldap;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.InetAddress;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas.ldap;
|
||||
package org.apache.activemq.jaas.ldap;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.activemq.jaas.ldap;
|
||||
package org.apache.activemq.jaas.ldap;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
PropertiesLogin {
|
||||
org.activemq.jaas.PropertiesLoginModule required
|
||||
org.apache.activemq.jaas.PropertiesLoginModule required
|
||||
debug=true
|
||||
org.activemq.jaas.properties.user="users.properties"
|
||||
org.activemq.jaas.properties.group="groups.properties";
|
||||
org.apache.activemq.jaas.properties.user="users.properties"
|
||||
org.apache.activemq.jaas.properties.group="groups.properties";
|
||||
};
|
||||
|
||||
LDAPLogin {
|
||||
org.activemq.jaas.LDAPLoginModule required
|
||||
org.apache.activemq.jaas.LDAPLoginModule required
|
||||
debug=true
|
||||
initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
|
||||
connectionURL="ldap://localhost:9389"
|
||||
|
|
Loading…
Reference in New Issue