Search in sources :

Example 1 with SpnegoAuthenticator

use of com.zimbra.cs.service.authenticator.SpnegoAuthenticator in project zm-mailbox by Zimbra.

the class SpnegoFilter method authenticate.

private void authenticate(HttpServletRequest req, HttpServletResponse resp) throws ServiceException {
    if (spnegoUserRealm == null) {
        throw ServiceException.FAILURE("no spnego user realm", null);
    }
    SSOAuthenticator authenticator = new SpnegoAuthenticator(req, resp, spnegoUserRealm, error401Page);
    authenticator.authenticate();
}
Also used : SSOAuthenticator(com.zimbra.cs.service.authenticator.SSOAuthenticator) SpnegoAuthenticator(com.zimbra.cs.service.authenticator.SpnegoAuthenticator)

Aggregations

SSOAuthenticator (com.zimbra.cs.service.authenticator.SSOAuthenticator)1 SpnegoAuthenticator (com.zimbra.cs.service.authenticator.SpnegoAuthenticator)1