195196197198199200201202
// should not happen throw new NullPointerException("No AuthStatus returned"); } catch (AuthException e) { throw new ServerAuthException(e); } }
212213214215216217218219
AuthStatus status = authContext.secureResponse(messageInfo, _serviceSubject); return (AuthStatus.SEND_SUCCESS.equals(status)); } catch (AuthException e) { throw new ServerAuthException(e); } }
133134135136137138139140
return Authentication.UNAUTHENTICATED; } catch (Exception e) { throw new ServerAuthException(e.getMessage()); } }
211212213214215216217218219
return Authentication.UNAUTHENTICATED; } catch (IOException e) { throw new ServerAuthException(e); } }
312313314315316317318319320321322323
} catch (IOException e) { throw new ServerAuthException(e); } catch (ServletException e) { throw new ServerAuthException(e); } }
6869707172737475767778
res.sendError(HttpServletResponse.SC_UNAUTHORIZED); return Authentication.SEND_CONTINUE; } catch (IOException ioe) { throw new ServerAuthException(ioe); } } else if (header != null && header.startsWith(HttpHeaders.NEGOTIATE)) { String spnegoToken = header.substring(10);
9899100101102103104105
response.sendError(HttpServletResponse.SC_UNAUTHORIZED); return Authentication.SEND_CONTINUE; } catch (IOException e) { throw new ServerAuthException(e); } }
319320321322323324325326327328329
redirectToIssuer(request, response, wfProc); return Authentication.SEND_CONTINUE; } catch (IOException e) { throw new ServerAuthException(e); } /* * catch (ServletException e) { throw new ServerAuthException(e); } */ }
302303304305306307308309310311312
8384858687888990
response.setHeader(HttpHeaders.WWW_AUTHENTICATE, "Wesabe realm=\"" + handler.getRealmName() + "\""); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); return Authentication.SEND_CONTINUE; } catch (Exception e) { throw new ServerAuthException(e); } }