Request for comment: Supporting password expiration alert in JAAS (original) (raw)
Weijun Wang weijun.wang at oracle.com
Fri Aug 17 10🔞05 UTC 2012
- Previous message (by thread): hg: jdk8/tl/jdk: 7191275: Cleanup OS specific blocks in PlainDatagramSocketImpl.c to support more unix-like platforms
- Next message (by thread): hg: jdk8/tl/jaxp: 7191547: XMLEventFactory.newFactory(String factoryId, ClassLoader loader) does not work as expected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All
I am working with an OpenJDK contributor (Steve Beaty) recently on this feature.
We often see messages like "Your password will expire in 5 days. Please update ASAP" when we login to a system, and we are seeing if we could also support this kind of alert in JAAS.
We first starts with the Krb5LoginModule. In Kerberos, the KDC might send a LastReq field in response to a ticket request. Normally, the LastReq might contain:
- The time the password will expire
- The time the account will expire.
(It might contain other things like the last request time from the same client, so the login module can show the user "Last login: Thu Aug 16 19:44:55 2012". That's also how the field is named).
Out current idea is to create a new kind of Callback, say, PasswordExpirationCallback for a login module, if a password/account expiration message is found in the LastReq field received, some user-defined method can be called.
However, we cannot decide on what argument we should provide to this method. Certainly, just passing the LastReq field is not very good, since it's keberos-specific. Passing only the password expiration time? I'm not sure if the information is too little.
Are you familiar with all other styles of password expiration warnings? What kind of message is generalized enough and also contains enough info?
Any suggestion welcomed.
Thanks Max
- Previous message (by thread): hg: jdk8/tl/jdk: 7191275: Cleanup OS specific blocks in PlainDatagramSocketImpl.c to support more unix-like platforms
- Next message (by thread): hg: jdk8/tl/jaxp: 7191547: XMLEventFactory.newFactory(String factoryId, ClassLoader loader) does not work as expected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]