public abstract class AbstractCasRestClient extends DirectClient<UsernamePasswordCredentials,CasRestProfile>
CasRestFormClient
able to communicate to
a CAS server via its REST api, to retrieve TGTs and STs
and to construct CAS principals.Modifier and Type | Field and Description |
---|---|
protected CasConfiguration |
configuration |
logger
Constructor and Description |
---|
AbstractCasRestClient() |
Modifier and Type | Method and Description |
---|---|
void |
destroyTicketGrantingTicket(CasRestProfile profile,
WebContext context) |
CasConfiguration |
getConfiguration() |
TokenCredentials |
requestServiceTicket(String serviceURL,
CasRestProfile profile,
WebContext context) |
void |
setConfiguration(CasConfiguration configuration) |
CasProfile |
validateServiceTicket(String serviceURL,
TokenCredentials ticket,
WebContext context) |
clientInit, getCredentials, getLogoutAction, internalInit, redirect
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setName, setProfileCreator, toString
init, reinit
protected CasConfiguration configuration
public void destroyTicketGrantingTicket(CasRestProfile profile, WebContext context)
public TokenCredentials requestServiceTicket(String serviceURL, CasRestProfile profile, WebContext context)
public CasProfile validateServiceTicket(String serviceURL, TokenCredentials ticket, WebContext context)
public CasConfiguration getConfiguration()
public void setConfiguration(CasConfiguration configuration)
Copyright © 2018. All rights reserved.