JaasAuthenticationHandlerTests + "${user.home}/.java.login.conf"with "CAS" realm causes failure
Smith, Matt
matt.smith at uconn.edu
Mon Jul 2 11:07:32 EDT 2007
I wanted to document this corner-case, just on the off-chance it may
save someone a few hours of time. If you have a ".java.login.conf" in
your "${user.home}" directory, and the file has a "CAS" JAAS realm
configuration, the JaasAuthenticationHandlerTests will fail. For now,
simply rename the CAS realm and all is happy.
I will file a bug with the full solution, which (I believe) is to
prefix the config file name with a "=", to force an override of all
other JAAS configuration:
http://java.sun.com/javase/6/docs/jre/api/security/jaas/spec/index.html?com/sun/security/auth/login/ConfigFile.html
HTH,
-Matt
--
Matthew J. Smith <matt.smith at uconn.edu>
University of Connecticut UITS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://tp.its.yale.edu/pipermail/cas/attachments/20070702/25ebc737/attachment.bin
More information about the cas
mailing list