Example usage for org.springframework.security.cas ServiceProperties ServiceProperties

List of usage examples for org.springframework.security.cas ServiceProperties ServiceProperties

Introduction

In this page you can find the example usage for org.springframework.security.cas ServiceProperties ServiceProperties.

Prototype

ServiceProperties

Source Link

Usage

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;//from  w w w  .j a  va2 s .c om

    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:fr.univlorraine.mondossierweb.config.SecurityConfig.java

@Bean
public ServiceProperties casServiceProperties() {
    ServiceProperties casServiceProperties = new ServiceProperties();
    casServiceProperties/*from   w w  w.  j a v  a 2 s  .  co  m*/
            .setService(environment.getRequiredProperty("app.url") + "/j_spring_cas_security_check");
    return casServiceProperties;
}

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);//from  w  w w. j  ava 2 s . co m

    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);/*www.j av a 2s  .  c om*/
    sp.setAuthenticateAllArtifacts(true);
    return sp;
}