开发者

Is it possible to create an advanced login dialog for a Java Webstart application?

开发者 https://www.devze.com 2022-12-16 23:00 出处:网络
I implemented an advanced login dialog for a webstart application. I call it \"advanced\" because it consists of three screens: one for the actual login (user, password), one for password retrieval, a

I implemented an advanced login dialog for a webstart application. I call it "advanced" because it consists of three screens: one for the actual login (user, password), one for password retrieval, and one for new user registration. The problem I am having is that the webstart support for login dialogs is somewhat poor. The server simply sends a callback object to the client asking for a username and password. The client can then show a dialog or not (depending on use case). Unfortunately the dialog does not seem have any other hooks or connections to the server (in my case Glassfish 2.1). Does anyone know how I can s开发者_开发百科till implement the advanced features?

Dirk


I have implemented (even more) advanced JWS login window without problems. Just make that window the initial JFrame launched by your Main-Class, and everything is fine. I.e. nothing special for the fact that it is a login screen - it's just the initial screen.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号