I was able to figure out how to get username:-

request.getParameter("username")

Thanks
Ashima

On Thu, Feb 19, 2009 at 9:43 AM, Ashima Goel <ashig...@gmail.com> wrote:

> Thanks for replying Scott.
>
> If I write my own
> ThrottledSubmissionByIpAddressnUsernameHandlerInterceptorAdapter then how
> can I get username in that class?
>
> -Ashima
>
>
> On Thu, Feb 19, 2009 at 8:53 AM, Scott Battaglia <
> scott.battag...@gmail.com> wrote:
>
>> The class is called ThrottledSubmissionByIpAddress, that's all it uses.
>> You'll have to write your own if you want to throttle by username and IP
>> Address.
>>
>> -Scott
>>
>>
>> On Thu, Feb 19, 2009 at 11:26 AM, Ashima <ashig...@gmail.com> wrote:
>>
>>> How to get Username in
>>> ThrottledSubmissionByIpAddressHandlerInterceptorAdapter class?
>>>
>>> Details:-
>>> I am successfully able to use
>>> ThrottledSubmissionByIpAddressHandlerInterceptorAdapter class to lock out
>>> user. But the class is locking out user based on IP Address alone. But I
>>> need to lock out the user based on IP Address and Username. For this I need
>>> Username in ThrottledSubmissionByIpAddressHandlerInterceptorAdapter class.
>>> --
>>> You are currently subscribed to cas-dev@lists.jasig.org as:
>>> scott.battag...@gmail.com
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>>
>>
>> --
>> You are currently subscribed to cas-dev@lists.jasig.org as: 
>> ashig...@gmail.com
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to