Re: Failed to start server after enabling JAAS LoginModule

2008-02-21 Thread accom06
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(); &

Re: Failed to start server after enabling JAAS LoginModule

2008-02-20 Thread Dejan Bosanac
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

Failed to start server after enabling JAAS LoginModule

2008-02-20 Thread accom06
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.