Lines Matching defs:authentication
35 import org.eclipse.jetty.security.authentication.DeferredAuthentication;
37 import org.eclipse.jetty.server.Authentication;
59 * Authentication.Configuration. At startup, any context init parameters
299 //register a session listener to handle securing sessions when authentication is performed
429 /** Set renew the session on Authentication.
431 * If set to true, then on authentication, the session associated with a reqeuest is invalidated and replaced with a new session.
486 // check authentication
490 Authentication authentication = baseRequest.getAuthentication();
491 if (authentication==null || authentication==Authentication.NOT_CHECKED)
492 authentication=authenticator==null?Authentication.UNAUTHENTICATED:authenticator.validateRequest(request, response, isAuthMandatory);
494 if (authentication instanceof Authentication.Wrapped)
496 request=((Authentication.Wrapped)authentication).getHttpServletRequest();
497 response=((Authentication.Wrapped)authentication).getHttpServletResponse();
500 if (authentication instanceof Authentication.ResponseSent)
504 else if (authentication instanceof Authentication.User)
506 Authentication.User userAuth = (Authentication.User)authentication;
507 baseRequest.setAuthentication(authentication);
526 else if (authentication instanceof Authentication.Deferred)
528 DeferredAuthentication deferred= (DeferredAuthentication)authentication;
529 baseRequest.setAuthentication(authentication);
542 Authentication auth=baseRequest.getAuthentication();
543 if (auth instanceof Authentication.User)
545 Authentication.User userAuth = (Authentication.User)auth;
554 baseRequest.setAuthentication(authentication);
591 public void logout(Authentication.User user)
665 * of authentication. A request with a Nobody UserPrincipal will be allowed
666 * past all authentication constraints - but will not be considered an