-
1. Re: A lot off @SecurityDomain annotations...
mbartyzel Sep 19, 2009 6:29 AM (in response to mbartyzel)One more. I turned security package into DEUG mode and I have:
2009-09-19 12:14:54,015 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] (WorkerThread#0[127.0.0.1:3413]) Loaded properties, users=[admin, guest]
2009-09-19 12:14:54,015 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] (WorkerThread#0[127.0.0.1:3413]) Loaded properties, users=[admin, guest]
2009-09-19 12:14:54,015 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] (WorkerThread#0[127.0.0.1:3413]) Bad password for username=null
2009-09-19 12:14:54,046 DEBUG [org.jboss.remoting.transport.socket.ServerSocketWrapper] (WorkerThread#0[127.0.0.1:3413]) ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3413,localport=3873].7321aa] wrote CLOSING
2009-09-19 12:14:54,046 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] (WorkerThread#0[127.0.0.1:3413]) ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3413,localport=3873].7321aa] closing socket
2009-09-19 12:14:54,046 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] (WorkerThread#0[127.0.0.1:3413]) ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3413,localport=3873].7321aa] closed socket
2009-09-19 12:14:54,046 DEBUG [org.jboss.remoting.transport.socket.ServerThread] (WorkerThread#0[127.0.0.1:3413]) WorkerThread#0[127.0.0.1:3413] closed socketWrapper: ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3413,localport=3873].7321aa]
2
I guess JBoss didn't receive user name and password, but why? Look on my jndi connection, please -
2. Re: A lot off @SecurityDomain annotations...
wolfgangknauf Sep 21, 2009 7:05 AM (in response to mbartyzel)Hi,
"JndiLoginInitialContextFactory" should be no longer used in JBoss 5.
See the Security FAQ ( http://www.jboss.org/community/wiki/SecurityFAQ ), question 10 for more information.
Hope this helps
Wolfgang -
3. Re: A lot off @SecurityDomain annotations...
wolfgangknauf Sep 21, 2009 7:07 AM (in response to mbartyzel)And for the annotation question: you need "@org.jboss.ejb3.annotation.SecurityDomain".
Best regards
Wolfgang -
4. Re: A lot off @SecurityDomain annotations...
mbartyzel Sep 21, 2009 2:00 PM (in response to mbartyzel)Now works. Thank you
mb