Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
cdi/ | H | 23-May-2020 | - | 51 | 43 | |
sessions/ | H | 23-May-2020 | - | 729 | 530 | |
README.spnego | H A D | 23-May-2020 | 2 KiB | 63 | 49 | |
console-capture.xml | H A D | 23-May-2020 | 1.4 KiB | 26 | 23 | |
example-quickstart.xml | H A D | 23-May-2020 | 1.1 KiB | 27 | 6 | |
home-base-warning.xml | H A D | 23-May-2020 | 430 | 5 | 2 | |
jdbcRealm.properties | H A D | 23-May-2020 | 2.1 KiB | 73 | 72 | |
jetty-acceptratelimit.xml | H A D | 23-May-2020 | 813 | 16 | 15 | |
jetty-alpn.xml | H A D | 23-May-2020 | 922 | 23 | 19 | |
jetty-annotations.xml | H A D | 23-May-2020 | 835 | 20 | 14 | |
jetty-bytebufferpool.xml | H A D | 23-May-2020 | 791 | 12 | 11 | |
jetty-connectionlimit.xml | H A D | 23-May-2020 | 694 | 17 | 16 | |
jetty-customrequestlog.xml | H A D | 23-May-2020 | 1.9 KiB | 39 | 27 | |
jetty-debug.xml | H A D | 23-May-2020 | 1.7 KiB | 34 | 28 | |
jetty-debuglog.xml | H A D | 23-May-2020 | 1.1 KiB | 23 | 19 | |
jetty-decorate.xml | H A D | 23-May-2020 | 822 | 19 | 13 | |
jetty-deploy.xml | H A D | 23-May-2020 | 3.3 KiB | 70 | 44 | |
jetty-gzip.xml | H A D | 23-May-2020 | 2.6 KiB | 63 | 22 | |
jetty-http-forwarded.xml | H A D | 23-May-2020 | 1.9 KiB | 22 | 21 | |
jetty-http.xml | H A D | 23-May-2020 | 3.4 KiB | 49 | 34 | |
jetty-http2.xml | H A D | 23-May-2020 | 1.4 KiB | 30 | 26 | |
jetty-http2c.xml | H A D | 23-May-2020 | 1.1 KiB | 21 | 19 | |
jetty-https.xml | H A D | 23-May-2020 | 1.2 KiB | 25 | 19 | |
jetty-ipaccess.xml | H A D | 23-May-2020 | 897 | 26 | 22 | |
jetty-jaas.xml | H A D | 23-May-2020 | 825 | 16 | 7 | |
jetty-jmx-remote.xml | H A D | 23-May-2020 | 2.1 KiB | 40 | 18 | |
jetty-jmx.xml | H A D | 23-May-2020 | 1.1 KiB | 33 | 20 | |
jetty-lowresources.xml | H A D | 23-May-2020 | 1.6 KiB | 21 | 17 | |
jetty-openid.xml | H A D | 23-May-2020 | 1.7 KiB | 41 | 41 | |
jetty-plus.xml | H A D | 23-May-2020 | 1.2 KiB | 28 | 18 | |
jetty-proxy-protocol-ssl.xml | H A D | 23-May-2020 | 359 | 10 | 8 | |
jetty-proxy-protocol.xml | H A D | 23-May-2020 | 360 | 10 | 8 | |
jetty-proxy.xml | H A D | 23-May-2020 | 1.4 KiB | 35 | 31 | |
jetty-requestlog.xml | H A D | 23-May-2020 | 2 KiB | 28 | 20 | |
jetty-rewrite-customizer.xml | H A D | 23-May-2020 | 926 | 17 | 12 | |
jetty-rewrite.xml | H A D | 23-May-2020 | 1.4 KiB | 31 | 19 | |
jetty-setuid.xml | H A D | 23-May-2020 | 1.5 KiB | 29 | 14 | |
jetty-spring.xml | H A D | 23-May-2020 | 2.2 KiB | 57 | 46 | |
jetty-ssl-context.xml | H A D | 23-May-2020 | 3.8 KiB | 55 | 22 | |
jetty-ssl.xml | H A D | 23-May-2020 | 3.8 KiB | 61 | 41 | |
jetty-started.xml | H A D | 23-May-2020 | 655 | 13 | 10 | |
jetty-stats.xml | H A D | 23-May-2020 | 718 | 15 | 11 | |
jetty-stop.xml | H A D | 23-May-2020 | 250 | 6 | 4 | |
jetty-threadlimit.xml | H A D | 23-May-2020 | 884 | 18 | 12 | |
jetty-threadpool.xml | H A D | 23-May-2020 | 2 KiB | 29 | 10 | |
jetty-unixsocket-forwarded.xml | H A D | 23-May-2020 | 1.2 KiB | 18 | 15 | |
jetty-unixsocket-http.xml | H A D | 23-May-2020 | 468 | 13 | 10 | |
jetty-unixsocket-http2c.xml | H A D | 23-May-2020 | 718 | 15 | 12 | |
jetty-unixsocket-proxy-protocol.xml | H A D | 23-May-2020 | 391 | 10 | 8 | |
jetty-unixsocket-secure.xml | H A D | 23-May-2020 | 381 | 11 | 8 | |
jetty-unixsocket.xml | H A D | 23-May-2020 | 998 | 21 | 17 | |
jetty-web-decorate.xml | H A D | 23-May-2020 | 675 | 17 | 12 | |
jetty-webapp.xml | H A D | 23-May-2020 | 806 | 23 | 19 | |
jetty.conf | H A D | 23-May-2020 | 492 | 12 | 1 | |
jetty.xml | H A D | 23-May-2020 | 8.1 KiB | 114 | 52 | |
krb5.ini | H A D | 23-May-2020 | 524 | 24 | 18 | |
rewrite-compactpath.xml | H A D | 23-May-2020 | 345 | 10 | 8 | |
spnego.conf | H A D | 23-May-2020 | 544 | 20 | 18 | |
spnego.properties | H A D | 23-May-2020 | 32 | 1 | 1 | |
webdefault.xml | H A D | 23-May-2020 | 23 KiB | 526 | 280 |
README.spnego
1This setup will enable you to authenticate a user via SPNEGO into your 2webapp. 3 4To run with SPNEGO enabled the following command line options are required: 5 6-Djava.security.krb5.conf=/path/to/jetty/etc/krb5.ini 7-Djava.security.auth.login.config=/path/to/jetty/etc/spnego.conf 8-Djavax.security.auth.useSubjectCredsOnly=false 9 10The easiest place to put these lines are in the start.ini file. 11 12For debugging the SPNEGO authentication the following options are helpful: 13 14-Dorg.eclipse.jetty.LEVEL=debug 15-Dsun.security.spnego.debug=true 16 17 18SPNEGO Authentication is enabled in the webapp with the following setup. 19 20 <security-constraint> 21 <web-resource-collection> 22 <web-resource-name>Secure Area</web-resource-name> 23 <url-pattern>/secure/me/*</url-pattern> 24 </web-resource-collection> 25 <auth-constraint> 26 <role-name>MORTBAY.ORG</role-name> <-- this is the domain that the user is a member of 27 </auth-constraint> 28 </security-constraint> 29 30 <login-config> 31 <auth-method>SPNEGO</auth-method> 32 <realm-name>Test Realm</realm-name> 33 (optionally to add custom error page) 34 <spnego-login-config> 35 <spnego-error-page>/loginError.html?param=foo</spnego-error-page> 36 </spnego-login-config> 37 </login-config> 38 39A corresponding UserRealm needs to be created either programmatically if 40embedded, via the jetty.xml or in a context file for the webapp. 41 42(in the jetty.xml) 43 44 <Call name="addBean"> 45 <Arg> 46 <New class="org.eclipse.jetty.security.SpnegoLoginService"> 47 <Set name="name">Test Realm</Set> 48 <Set name="config"><Property name="jetty.home" default="."/>/etc/spnego.properties</Set> 49 </New> 50 </Arg> 51 </Call> 52 53(context file) 54 <Get name="securityHandler"> 55 <Set name="loginService"> 56 <New class="org.eclipse.jetty.security.SpnegoLoginService"> 57 <Set name="name">Test Realm</Set> 58 <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/spnego.properties</Set> 59 </New> 60 </Set> 61 <Set name="checkWelcomeFiles">true</Set> 62 </Get> 63