the problem is caused by Name and PasswordCallback() returning
>> null..
>> The question is why do i need to authenticate the server and How may I do
>> it..?
>>
>> Thank you very much.
>> Aaron
>>
>> String username = ((NameCallback)callbacks[0]).getName();
&
nk you very much.
> Aaron
>
> String username = ((NameCallback)callbacks[0]).getName();
>System.out.println("Username: "+username);
> String password = new
> String(((PasswordCallback)callbacks[1]).getPassword());
>System.out
allbacks[1]).getPassword());
System.out.println("Password: "+password);
---
--
View this message in context:
http://www.nabble.com/Failed-to-start-server-after-enabling-JAAS-LoginModule-tp15590438s2354p15590438.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.