Enabling debugging in the Tomcat realm

The Tomcat CSI realm plugs in to a Tomcat Web application container. Its purpose is to delegate authentication and authorization checks to the security provider.

To enable debugging in the Tomcat CSI realm, open the logging.properties file located in %CATALINA_HOME%\tomcat\conf\, where %CATALINA_HOME% represents the Tomcat root installation directory, and add the property:

com.sybase.security.level = FINE

You can set the security level to any of these: OFF, SEVERE, WARNING, CONFIG, INFO, FINE, FINER, FINEST, or ALL.

The debugging output is written to the file whose name and location are specified by the logging.properties.appender.SecurityAppender.File property; in the example above, C:\%SYBASE%\UnwiredAccelerator80\tomcat\logs\security_debug.log.

Initially, the Tomcat CSI realm is configured to use the PortalDB provider. To use the LDAP provider, see “Configuring the LDAP provider”.