List of usage examples for org.springframework.security.cas ServiceProperties setSendRenew
public final void setSendRenew(final boolean sendRenew)
From source file:se.kth.csc.config.SecurityConfig.java
@Bean public ServiceProperties serviceProperties(@Value("${security.cas.service}") String service) { ServiceProperties serviceProperties = new ServiceProperties(); serviceProperties.setService(service); serviceProperties.setSendRenew(false); log.info("Creating CAS service properties with service \"{}\" and no renewal requirement", service); return serviceProperties; }
From source file:net.oneandone.stool.overview.config.SecurityConfiguration.java
@Bean public ServiceProperties serviceProperties() throws IOException { ServiceProperties serviceProperties; Stage stage;// w ww .j a va2 s. com stage = session.load(Overview.OVERVIEW_NAME); serviceProperties = new ServiceProperties(); serviceProperties.setService(stage.loadPortsOpt().mainHost().httpsUrl(session.configuration.vhosts) + "/j_spring_cas_security_check"); serviceProperties.setSendRenew(false); return serviceProperties; }
From source file:de.thm.arsnova.config.SecurityConfig.java
@Bean public ServiceProperties casServiceProperties() { ServiceProperties properties = new ServiceProperties(); properties.setService(rootUrl + servletContext.getContextPath() + "/j_spring_cas_security_check"); properties.setSendRenew(false); return properties; }
From source file:org.ambraproject.wombat.config.SpringSecurityConfiguration.java
private ServiceProperties serviceProperties() { ServiceProperties serviceProperties = new ServiceProperties(); serviceProperties.setService(CAS_VALIDATION_URI); serviceProperties.setSendRenew(false); serviceProperties.setAuthenticateAllArtifacts(true); return serviceProperties; }
From source file:org.esupportail.publisher.config.SecurityConfiguration.java
@Bean public ServiceProperties serviceProperties() { ServiceProperties sp = new ServiceProperties(); sp.setService(env.getRequiredProperty(CAS_SERVICE_URI)); sp.setSendRenew(false); sp.setAuthenticateAllArtifacts(true); return sp;/*from w w w . j ava 2s .c o m*/ }