Class SpnegoFilterConfig


  • public final class SpnegoFilterConfig
    extends Object
    Class that applies/enforces web.xml init params.

    These properties are set in the servlet's init params in the web.xml file.

    This class also validates if a keyTab should be used and if all of the LoginModule options have been set.

    To see a working example and instructions on how to use a keytab, take a look at the creating a server keytab example.

    The class should be used as a Singleton:
    SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(filter);

    See an example web.xml configuration in the installing on tomcat documentation.

    Author:
    Darwin V. Felix