Archive for May, 2003

May 27, 2003 25

Part II of JAAS and functional security

By Max in Java

Hmm…..since the last time I posted, I’ve got one comment and I’ve searched even more around the ‘net about JAAS and authorization (NOT authentication) and I’ve got a bit wiser The best thing first: JAAS authentication is well documented. The second best thing: JAAS basic authorization is documented, but the documentation and implementation is not [...]

May 24, 2003 3

JAAS and functional security ?

By Max in Java

I’ve always liked JAAS as it provides for a pluggable login mechanism. The exact same code is used for login to LDAP, NT, Kerboros, passwd files, Propertiary system A, B, C etc. That’s beautifull The only thing i’m really missing, is to find good usages of the SecurityManager, Subject, Prinicipal and Credentials classes/concepts. I can [...]

May 9, 2003 4

Swing+Foxtrot, wow! ;)

By Max in Java

I have always loved the Swing framework for it’s allmighty model/view separation (as opposed to the current state of SWT), but I have also hated Swing for it’s “one-eventque-to-rule-them-all” approach which makes the GUI look rather sluggish when doing things that takes time. At work we were forced to find a solution as our app [...]

May 4, 2003 4

Swing requestFocus blues part II

By Max in Java

hmm – i probably didn’t explain my problem very well the last time – or at least not to the point. But I got one answer though. “Just catch component shown event and then request focus ” – Krage Termini Well, this is ok and solves the problem of “when this panel is first shown [...]

May 3, 2003 4

Swing requestFocus blues

By Max in Java

hmm…was doing some more Swing coding on Hibern8IDE and came across a never ending story – How do you ensure that some component get the first focus when you open up a jdialog, jframe or unhide panel ? The Component.requestFocus() works great if the compoent is already visible, but often the component is not yet [...]