You could still do that with LPPE, sure. While the sample puts out a list of 
error definitions, simply just declare the one you want, comment out the 
rest, and map it to a message.



I don’t think there are any other easier alternatives without a bit of Java 
code.



From: Aaron Grant [mailto:[email protected]]
Sent: Tuesday, October 14, 2014 11:42 AM
To: [email protected]
Subject: Re: [cas-user] CAS Error Handing with Certain LDAP Error Codes



Hi John,



We basically would need LPPE just for mapping the one code to one error. At 
a high level, it seems like hitting a fly with a sledge hammer. :) I'm not 
really opposed to using LPPE just seeing if there were some other 
alternatives to see what all our options are.



Thanks,

Aaron



On Tue, Oct 14, 2014 at 12:35 PM, John Gasper <[email protected] 
<mailto:[email protected]> > wrote:

Hi Aaron,

What's your use case that LPPE doesn't provide support for? In my extremely 
humble opinion :D, I'd say LPPE does a good job mapping ldap error codes to 
various messages.


John

On 10/14/14 6:30 AM, Aaron Grant wrote:

I was wondering if someone had an example of where they caught a certain 
LDAP error code and changed the error message presented to the end user?



We are going to be locking accounts after a number of invalid attempts and 
would like to display that the account was locked. LDAP gives a unique code 
for this, so it would be cool to identify the authentication issue. I know 
LPPE can handle some of this, I was wonder if someone had an alternative 
solution.



Thanks!

Aaron




-- 

Aaron Grant
Senior Applications Architect
Oakland University - UTS <http://oakland.edu/uts>



-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user







-- 

Aaron Grant
Senior Applications Architect
Oakland University - UTS <http://oakland.edu/uts>




-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to