public abstract class AbstractCasRestClient extends DirectHttpClient<UsernamePasswordCredentials>
CasRestFormClient able to communicate to
a CAS server via its REST api, to retrieve TGTs and STs
and to construct CAS principals.extractorlogger| Constructor and Description |
|---|
AbstractCasRestClient() |
AbstractCasRestClient(CasRestAuthenticator authenticator) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyTicketGrantingTicket(WebContext context,
HttpTGTProfile profile) |
CasRestAuthenticator |
getAuthenticator() |
protected BaseClient<UsernamePasswordCredentials,CommonProfile> |
newClient() |
protected abstract AbstractCasRestClient |
newClientType() |
CasCredentials |
requestServiceTicket(String serviceURL,
HttpTGTProfile profile) |
HttpTGTProfile |
requestTicketGrantingTicket(WebContext context) |
CasProfile |
validateServiceTicket(String serviceURL,
CasCredentials ticket) |
clone, getCredentials, getProfileCreator, internalInit, retrieveUserProfile, setAuthenticator, setProfileCreator, toStringredirectaddAuthorizationGenerator, getAuthorizationGenerators, getClientType, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitpublic AbstractCasRestClient()
public AbstractCasRestClient(CasRestAuthenticator authenticator)
public HttpTGTProfile requestTicketGrantingTicket(WebContext context)
public void destroyTicketGrantingTicket(WebContext context, HttpTGTProfile profile)
public CasCredentials requestServiceTicket(String serviceURL, HttpTGTProfile profile)
public CasProfile validateServiceTicket(String serviceURL, CasCredentials ticket)
public CasRestAuthenticator getAuthenticator()
getAuthenticator in class DirectHttpClient<UsernamePasswordCredentials>protected BaseClient<UsernamePasswordCredentials,CommonProfile> newClient()
newClient in class BaseClient<UsernamePasswordCredentials,CommonProfile>protected abstract AbstractCasRestClient newClientType()
Copyright © 2016. All Rights Reserved.