mirror of https://github.com/apache/activemq.git
renamed to proper JAAS name rather than JASS typo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378008 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
affd134592
commit
a8dfa1f41b
|
@ -28,7 +28,7 @@ import java.net.URL;
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public class JassAuthenticationPlugin implements BrokerPlugin {
|
public class JaasAuthenticationPlugin implements BrokerPlugin {
|
||||||
|
|
||||||
private String configuration = "activemq-domain";
|
private String configuration = "activemq-domain";
|
||||||
private boolean discoverLoginConfig = true;
|
private boolean discoverLoginConfig = true;
|
|
@ -125,7 +125,7 @@ public class SimpleSecurityBrokerSystemTest extends SecurityTestSupport {
|
||||||
|
|
||||||
public void initCombos() {
|
public void initCombos() {
|
||||||
addCombinationValues("authorizationPlugin", new Object[] { new AuthorizationPlugin(createAuthorizationMap()), });
|
addCombinationValues("authorizationPlugin", new Object[] { new AuthorizationPlugin(createAuthorizationMap()), });
|
||||||
addCombinationValues("authenticationPlugin", new Object[] { new SimpleAuthenticationFactory(), new JassAuthenticationPlugin(), });
|
addCombinationValues("authenticationPlugin", new Object[] { new SimpleAuthenticationFactory(), new JaasAuthenticationPlugin(), });
|
||||||
}
|
}
|
||||||
|
|
||||||
protected BrokerService createBroker() throws Exception {
|
protected BrokerService createBroker() throws Exception {
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS -->
|
<!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS -->
|
||||||
<jassAuthenticationPlugin configuration="activemq-domain" />
|
<jaasAuthenticationPlugin configuration="activemq-domain" />
|
||||||
|
|
||||||
<!-- lets configure a destination based authorization mechanism -->
|
<!-- lets configure a destination based authorization mechanism -->
|
||||||
<authorizationPlugin>
|
<authorizationPlugin>
|
||||||
|
|
Loading…
Reference in New Issue