Should probably also have a nice constructor like:

    public BasicAuthSecurityHandler(final String username, final String 
password) {
        setUserName(username);
        setPassword(password);
    }

--jason


On Sep 21, 2010, at 1:13 PM, Jason Dillon wrote:

> Somewhat related, why is AbstractAuthSecurityHandler.getEncodedString() 
> static?
> 
> --jason
> 
> 
> On Sep 21, 2010, at 1:08 PM, Jason Dillon wrote:
> 
>> Any reason why BasicAuthSecurityHandler needs to re-encode the user:pass 
>> each time instead of just caching the result of getEncodedString() ?
>> 
>> --jason
> 

Reply via email to