https://issues.apache.org/bugzilla/show_bug.cgi?id=51099

Gerard Borst <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from Gerard Borst <[email protected]> 2011-05-05 17:51:54 
UTC ---
I think it looks very good and I'm very interested because I use a spnego
filter at this moment, but I think the JAAS login and the creation of the
gssmanager should be in a constructor or in this case possibly in the
initInternal. This the JAAS login of the server and should be done only once.
At least I think so, maybe I'm wrong, it's a complex subject.

I'm  talking about this part:

            try {
                lc = new LoginContext(getLoginConfigName());
                lc.login();
            } catch (LoginException e) {
                log.error(sm.getString("spnegoAuthenticator.serviceLoginFail"),
                        e);
                response.sendError(
                        HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
                return false;
            }
            // Assume the GSSContext is stateless
            // TODO: Confirm this assumption
            final GSSManager manager = GSSManager.getInstance();

Met vriendelijke groet,

Gerard

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to