summaryrefslogtreecommitdiffstats
path: root/base/tks
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-07-22 08:50:03 -0400
committerEndi S. Dewata <edewata@redhat.com>2013-07-29 15:42:37 -0400
commita5326958593a84236879c1bf9cc8b54e86ce089f (patch)
treee43412d494c518eb2501229f49c3501dcdcedf32 /base/tks
parentbb911f68bee0e03f7bafeefff0c87965658bafd3 (diff)
downloadpki-a5326958593a84236879c1bf9cc8b54e86ce089f.tar.gz
pki-a5326958593a84236879c1bf9cc8b54e86ce089f.tar.xz
pki-a5326958593a84236879c1bf9cc8b54e86ce089f.zip
Storing authentication info in session.
The authenticator configuration has been modified to store the authentication info in the session so it can be used by the servlets. An upgrade script has been added to update the configuration in existing instances. The SSLAuthenticatorWithFalback was modified to propagate the configuration to the actual authenticator handling the request.
Diffstat (limited to 'base/tks')
-rw-r--r--base/tks/shared/webapps/tks/META-INF/context.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/tks/shared/webapps/tks/META-INF/context.xml b/base/tks/shared/webapps/tks/META-INF/context.xml
index 032fd14c9..e838503a6 100644
--- a/base/tks/shared/webapps/tks/META-INF/context.xml
+++ b/base/tks/shared/webapps/tks/META-INF/context.xml
@@ -28,7 +28,9 @@
secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/>
<Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback"
- secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/>
+ alwaysUseSession="true"
+ secureRandomProvider="Mozilla-JSS"
+ secureRandomAlgorithm="pkcs11prng"/>
<Realm className="com.netscape.cms.tomcat.ProxyRealm" />