Troubleshooting ExampleSpnegoAuthenticatorValve.java

HTTP Status 404

1) Double check the log file(s) to see the "real" reason for the message.

HTTP Status 403

1) Double check that the username exists in the tomcat-users.xml file.

Also, the file should not contain a value for the password attribute.

Finally, double check that there have been no typos in the role name(s).

2) Double check that there are no typos in the role name(s) provided in the web.xml file

SEVERE: Cannot configure an authenticator for method

1) Authenticator.properties file may be missing the following entry

SPNEGO=ExampleSpnegoAuthenticatorValve

from the list of authenticators.

2) Confirm that there are no typos in the web.xml file

SEVERE: Cannot instantiate an authenticator of class

1) Authenticator.properties file may have a typo.

Double check the spelling of

SPNEGO=ExampleSpnegoAuthenticatorValve

2) ExampleSpnegoAuthenticatorValve.java may not be on the class path.

Compile and jar the example code and place the jar in the lib directory

request.getRemoteUser() returning null

1) Double check the value for the url-pattern element in the web.xml file

Checksum failed !

1) Typo in password in ExampleSpnegoAuthenticatorValve.java

Links:
pre-flight checklist
install guide - tomcat
install guide - jboss
install guide - glassfish
install guide - spring boot 2.x
install guide - spring boot 3.x
enable authZ with LDAP
get user group info from LDAP
reference docs
api docs
download

Troubleshooting:
HelloKDC.java
hello_spnego.jsp
HelloKeytab.java
hello_delegate.jsp
SpnegoHelloClient.java
ExampleSpnegoAuthenticatorValve.java

Examples:
create keytab for client
create keytab for app server
credential delegation
protected SOAP Web Service
tomcat authenticator valve
jboss authenticator valve
authZ for standalone apps
protecting edit button on page

Licensing:
GNU LGPL


© 2009 Darwin V. Felix. All rights reserved.