[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wink-dev
Subject:    Re: Basic auth handler re-encodes each time
From:       Jason Dillon <jason () planet57 ! com>
Date:       2010-09-21 20:15:37
Message-ID: D845E5E5-94FC-4429-A419-E1000DD360FB () planet57 ! com
[Download RAW message or body]

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
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic