mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-07 03:02:23 +00:00
Added debug statement to AbstractTicketValidator to help with Acegi+CAS+SSL setup (thanks Seth Ladd for the patch) (see http://opensource.atlassian.com/projects/spring/browse/SEC-34)
This commit is contained in:
parent
c66c5dfab5
commit
db4ed4bc44
@ -18,6 +18,8 @@ package net.sf.acegisecurity.providers.cas.ticketvalidator;
|
|||||||
import net.sf.acegisecurity.providers.cas.TicketValidator;
|
import net.sf.acegisecurity.providers.cas.TicketValidator;
|
||||||
import net.sf.acegisecurity.ui.cas.ServiceProperties;
|
import net.sf.acegisecurity.ui.cas.ServiceProperties;
|
||||||
|
|
||||||
|
import org.apache.commons.logging.Log;
|
||||||
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
import org.springframework.beans.factory.InitializingBean;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
@ -30,6 +32,10 @@ import org.springframework.util.Assert;
|
|||||||
*/
|
*/
|
||||||
public abstract class AbstractTicketValidator implements TicketValidator,
|
public abstract class AbstractTicketValidator implements TicketValidator,
|
||||||
InitializingBean {
|
InitializingBean {
|
||||||
|
//~ Static fields/initializers =============================================
|
||||||
|
|
||||||
|
private static final Log logger = LogFactory.getLog(CasProxyTicketValidator.class);
|
||||||
|
|
||||||
//~ Instance fields ========================================================
|
//~ Instance fields ========================================================
|
||||||
|
|
||||||
private ServiceProperties serviceProperties;
|
private ServiceProperties serviceProperties;
|
||||||
@ -85,6 +91,10 @@ public abstract class AbstractTicketValidator implements TicketValidator,
|
|||||||
Assert.notNull(serviceProperties, "serviceProperties must be specified");
|
Assert.notNull(serviceProperties, "serviceProperties must be specified");
|
||||||
|
|
||||||
if ((trustStore != null) && (!"".equals(trustStore))) {
|
if ((trustStore != null) && (!"".equals(trustStore))) {
|
||||||
|
if (logger.isDebugEnabled()) {
|
||||||
|
logger.debug("Setting system property 'javax.net.ssl.trustStore'" +
|
||||||
|
" to value [" + trustStore + "]");
|
||||||
|
}
|
||||||
System.setProperty("javax.net.ssl.trustStore", trustStore);
|
System.setProperty("javax.net.ssl.trustStore", trustStore);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
<action dev="luke_t" type="add">Acegifier sample added (see http://opensource.atlassian.com/projects/spring/browse/SEC-1)</action>
|
<action dev="luke_t" type="add">Acegifier sample added (see http://opensource.atlassian.com/projects/spring/browse/SEC-1)</action>
|
||||||
<action dev="smccrory" type="fix">CVS changes to help new Eclipse-based developers get started</action>
|
<action dev="smccrory" type="fix">CVS changes to help new Eclipse-based developers get started</action>
|
||||||
<action dev="smccrory" type="fix">AuthorizeTag no longer depends on JDK 1.4. Tested on Websphere 5.0 w/JDK 1.3 (see http://opensource.atlassian.com/projects/spring/browse/SEC-11)</action>
|
<action dev="smccrory" type="fix">AuthorizeTag no longer depends on JDK 1.4. Tested on Websphere 5.0 w/JDK 1.3 (see http://opensource.atlassian.com/projects/spring/browse/SEC-11)</action>
|
||||||
|
<action dev="smccrory" type="update">Added debug statement to AbstractTicketValidator to help with Acegi+CAS+SSL setup (thanks Seth Ladd for the patch) (see http://opensource.atlassian.com/projects/spring/browse/SEC-34)</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="0.8.3" date="2005-05-12">
|
<release version="0.8.3" date="2005-05-12">
|
||||||
<action dev="benalex" type="fix">HttpSessionContextIntegrationFilter elegantly handles IOExceptions and ServletExceptions within filter chain (see http://opensource.atlassian.com/projects/spring/browse/SEC-20)</action>
|
<action dev="benalex" type="fix">HttpSessionContextIntegrationFilter elegantly handles IOExceptions and ServletExceptions within filter chain (see http://opensource.atlassian.com/projects/spring/browse/SEC-20)</action>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user