/**
- * The default message digest algorithm to use if we cannot use
- * the requested one.
- */
- protected static final String DEFAULT_ALGORITHM = "MD5";
-
-
- /**
* Authentication header
*/
protected static final String AUTH_HEADER_NAME = "WWW-Authenticate";
protected static final String REALM_NAME = "Authentication required";
/**
- * The message digest algorithm to be used when generating session
- * identifiers. This must be an algorithm supported by the
- * <code>java.security.MessageDigest</code> class on your platform.
- */
- protected String algorithm = DEFAULT_ALGORITHM;
-
-
- /**
* Should a session always be used once a user is authenticated? This may
* offer some performance benefits since the session can then be used to
* cache the authenticated Principal, hence removing the need to
/**
- * Return the message digest algorithm for this Manager.
- */
- public String getAlgorithm() {
-
- return (this.algorithm);
-
- }
-
-
- /**
- * Set the message digest algorithm for this Manager.
- *
- * @param algorithm The new message digest algorithm
- */
- public void setAlgorithm(String algorithm) {
-
- this.algorithm = algorithm;
-
- }
-
-
- /**
* Return the cache authenticated Principals flag.
*/
public boolean getCache() {
group="Valve"
type="org.apache.catalina.authenticator.BasicAuthenticator">
- <attribute name="algorithm"
- description="The message digest algorithm to be used when generating session identifiers"
- type="java.lang.String"/>
-
<attribute name="cache"
description="Should we cache authenticated Principals if the request is part of an HTTP session?"
type="boolean"/>
group="Valve"
type="org.apache.catalina.authenticator.DigestAuthenticator">
- <attribute name="algorithm"
- description="The message digest algorithm to be used when generating session identifiers"
- type="java.lang.String"/>
-
<attribute name="cache"
description="Should we cache authenticated Principals if the request is part of an HTTP session?"
type="boolean"/>
group="Valve"
type="org.apache.catalina.authenticator.FormAuthenticator">
- <attribute name="algorithm"
- description="The message digest algorithm to be used when generating session identifiers"
- type="java.lang.String"/>
-
<attribute name="cache"
description="Should we cache authenticated Principals if the request is part of an HTTP session?"
type="boolean"/>
group="Valve"
type="org.apache.catalina.authenticator.NonLoginAuthenticator">
- <attribute name="algorithm"
- description="The message digest algorithm to be used when generating session identifiers"
- type="java.lang.String"/>
-
<attribute name="cache"
description="Should we cache authenticated Principals if the request is part of an HTTP session?"
type="boolean"/>
group="Valve"
type="org.apache.catalina.authenticator.SSLAuthenticator">
- <attribute name="algorithm"
- description="The message digest algorithm to be used when generating session identifiers"
- type="java.lang.String"/>
-
<attribute name="cache"
description="Should we cache authenticated Principals if the request is part of an HTTP session?"
type="boolean"/>