Thank you. As my class didn't implement the method this is definitely a reason why it's not going to work.
In the meantime I realized my goal by using the ProgrammaticLogin class from [i]security.jar[/i] in the [i]modules[/i] directory of my glassfish installation.
I'll try again to write my own login method in the next future and report if its going to work.
[Message sent by forum member 'anusplus' (anus.plus_at_gmx.de)]
http://forums.java.net/jive/thread.jspa?messageID=380153