|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.providers.cas.ticketvalidator.AbstractTicketValidator
org.acegisecurity.providers.cas.ticketvalidator.CasProxyTicketValidator
public class CasProxyTicketValidator
Uses CAS' ProxyTicketValidator to validate a service ticket.
| Constructor Summary | |
|---|---|
CasProxyTicketValidator()
|
|
| Method Summary | |
|---|---|
TicketResponse |
confirmTicketValid(String serviceTicket)
Returns information about the ticket, if it is valid for this service. |
String |
getProxyCallbackUrl()
Optional callback URL to obtain a proxy-granting ticket from CAS. |
void |
setProxyCallbackUrl(String proxyCallbackUrl)
|
protected TicketResponse |
validateNow(edu.yale.its.tp.cas.client.ProxyTicketValidator pv)
Perform the actual remote invocation. |
| Methods inherited from class org.acegisecurity.providers.cas.ticketvalidator.AbstractTicketValidator |
|---|
afterPropertiesSet, getCasValidate, getServiceProperties, getTrustStore, setCasValidate, setServiceProperties, setTrustStore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CasProxyTicketValidator()
| Method Detail |
|---|
public void setProxyCallbackUrl(String proxyCallbackUrl)
public String getProxyCallbackUrl()
This callback URL belongs to the Acegi Security System for Spring
secured application. We suggest you use CAS'
ProxyTicketReceptor servlet to receive this callback and
manage the proxy-granting ticket list. The callback URL is usually
something like
https://www.mycompany.com/application/casProxy/receptor.
If left null, the CasAuthenticationToken will
not have a proxy granting ticket IOU and there will be no
proxy-granting ticket callback. Accordingly, the Acegi Securty System
for Spring secured application will be unable to obtain a proxy ticket
to call another CAS-secured service on behalf of the user. This is not
really an issue for most applications.
null if not used
public TicketResponse confirmTicketValid(String serviceTicket)
throws AuthenticationException
TicketValidator
Must throw an AuthenticationException if the ticket is not
valid for this service.
AuthenticationException
protected TicketResponse validateNow(edu.yale.its.tp.cas.client.ProxyTicketValidator pv)
throws AuthenticationServiceException,
BadCredentialsException
pv - the populated ProxyTicketValidator
TicketResponse
AuthenticationServiceException - ifProxyTicketValidator internally fails
BadCredentialsException - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||