How to set Custom Login Module in in Embeded Java Broker?

is's my code.

help.

...

//
                AuthenticationDTO authentication = new AuthenticationDTO();
                authentication.domain = "apollo";
                authentication.enabled = false;
               
//authentication.user_principal_kinds.add("org.apache.activemq.jaas.UserPrincipal");
               
//authentication.acl_principal_kinds.add("org.apache.activemq.jaas.GroupPrincipal");
                broker.authentication = authentication;
                
                //
                AccessRuleDTO rule = new AccessRuleDTO();
                rule.id = context.getMessageServerProperties().getUser();
                rule.allow = "*";
                rule.action = "*";
                broker.access_rules.add(rule);
               

....




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Custom-Login-Module-in-Embeded-Java-Broker-tp4685716.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to