org.jasig.cas.client.validation.Saml11TicketValidator Java Examples
The following examples show how to use
org.jasig.cas.client.validation.Saml11TicketValidator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CasTicketValidatorUtils.java From shiro-cas-spring-boot-starter with Apache License 2.0 | 4 votes |
protected static TicketValidator buildSAMLTicketValidator(final ShiroCasProperties casProperties) { final Saml11TicketValidator saml11TicketValidator = new Saml11TicketValidator(casProperties.getCasServerUrlPrefix()); saml11TicketValidator.setTolerance(casProperties.getTolerance()); saml11TicketValidator.setEncoding(casProperties.getEncoding()); return saml11TicketValidator; }
Example #2
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public Saml11TicketValidator ticketValidator(){ return new Saml11TicketValidator(casServer); }
Example #3
Source File: SecurityConfiguration.java From demo-spring-security-cas with Apache License 2.0 | 4 votes |
@Bean public Saml11TicketValidator casSamlServiceTicketValidator() { return new Saml11TicketValidator(env.getRequiredProperty(CAS_URL_PREFIX)); }