use of org.apache.cxf.ws.security.sts.provider.SecurityTokenServiceProvider in project cas by apereo.
the class CoreWsSecuritySecurityTokenServiceConfiguration method transportSTSProviderBean.
@RefreshScope
@Bean
public Provider transportSTSProviderBean() {
try {
final SecurityTokenServiceProvider provider = new SecurityTokenServiceProvider();
provider.setIssueOperation(transportIssueDelegate());
provider.setValidateOperation(transportValidateDelegate());
return provider;
} catch (final Exception e) {
throw new BeanCreationException(e.getMessage(), e);
}
}
Aggregations