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.extractor
logger
Constructor and Description |
---|
AbstractCasRestClient(Authenticator authenticator) |
Modifier and Type | Method and Description |
---|---|
void |
destroyTicketGrantingTicket(WebContext context,
HttpTGTProfile profile) |
CasRestAuthenticator |
getCasRestAuthenticator() |
protected BaseClient<UsernamePasswordCredentials,CommonProfile> |
newClient()
Create a new instance of the client.
|
protected abstract AbstractCasRestClient |
newClientType() |
CasCredentials |
requestServiceTicket(String serviceURL,
HttpTGTProfile profile) |
CasProfile |
validateServiceTicket(String serviceURL,
CasCredentials ticket) |
clone, getAuthenticator, getCredentials, getProfileCreator, internalInit, retrieveUserProfile, setAuthenticator, setProfileCreator, toString
redirect
addAuthorizationGenerator, getAuthorizationGenerators, getClientType, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName
init, reinit
public AbstractCasRestClient(Authenticator authenticator)
public void destroyTicketGrantingTicket(WebContext context, HttpTGTProfile profile)
public CasCredentials requestServiceTicket(String serviceURL, HttpTGTProfile profile)
public CasProfile validateServiceTicket(String serviceURL, CasCredentials ticket)
public CasRestAuthenticator getCasRestAuthenticator()
protected BaseClient<UsernamePasswordCredentials,CommonProfile> newClient()
BaseClient
newClient
in class BaseClient<UsernamePasswordCredentials,CommonProfile>
protected abstract AbstractCasRestClient newClientType()
Copyright © 2016. All rights reserved.