|
Re: Central Identity Service (CIS): msg#00159java.jasig.cas.user
> > Detect password expired condition and initiate change password > > functionality > > I'm working on this (too) at the moment (integrated into CAS). How far > are you on this topic? I'm eager to cooperate. First off, I am not sure if this discussion should be in the users mailing list or the developers mailing list, so I am cross posting. I think the first thing that is needed is org.jasig.cas.authentication.handler.ExpiredPasswordAuthenticationException Second, I was going to modify org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler to allow for an expiration date column in the Database. If the current date is greater than that which comes back from the DB then throw an ExpiredPasswordAuthenticationException. Third, I was thinking of creating a StoredProcedureDatabaseAuthenticationHandler.java The stored procedure could return: - 1 authenticateUsernamePasswordInternal returns true - 2 authenticateUsernamePasswordInternal returns false - 4 BlockedCredentialsAuthenticationException is thrown - 8 ExpiredPasswordAuthenticationException is thrown else UncategorizedAuthenticationException is thrown Then I think it is a matter of customizing casLoginView.jsp to handle the ExpiredPasswordAuthenticationException. If the CAS community is willing to incorporate this into CAS proper, then I will move forward with the coding. If not, I ask that they offer another proposition on how to incorporate expired passwords so that I can help in a unified effort. -Steve More
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Central Identity Service (CIS), Velpi |
|---|---|
| Next by Date: | RE: Central Identity Service (CIS), marc antoine garrigue |
| Previous by Thread: | Re: Central Identity Service (CIS), Velpi |
| Next by Thread: | RE: Central Identity Service (CIS), marc antoine garrigue |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |