activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leesangboo <leesang...@gmail.com>
Subject Custom Login Module in Embeded Java Broker
Date Fri, 19 Sep 2014 07:28:35 GMT
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.

Mime
View raw message