public class CasOAuthWrapperClient extends OAuth20Client
This class is the OAuth client to authenticate users on CAS servers using OAuth wrapper.
The url of the OAuth endpoint of the CAS server must be set by using the setCasOAuthUrl(String) method.
It returns a CasOAuthWrapperProfile.
More information at https://wiki.jasig.org/display/CASUM/OAuth+server+support
configurationATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
CasOAuthWrapperClient() |
CasOAuthWrapperClient(String key,
String secret,
String casOAuthUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit() |
String |
getCasLogoutUrl() |
String |
getCasOAuthUrl() |
boolean |
isImplicitFlow() |
boolean |
isSpringSecurityCompliant() |
void |
setCasLogoutUrl(String casLogoutUrl) |
void |
setCasOAuthUrl(String casOAuthUrl) |
void |
setImplicitFlow(boolean implicitFlow) |
void |
setSpringSecurityCompliant(boolean springSecurityCompliant) |
getConfiguration, getKey, getSecret, setConfiguration, setKey, setSecret, toStringcomputeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectionActionBuilder, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectionActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitprotected void clientInit()
clientInit in class OAuth20Clientpublic String getCasOAuthUrl()
public void setCasOAuthUrl(String casOAuthUrl)
public boolean isSpringSecurityCompliant()
public void setSpringSecurityCompliant(boolean springSecurityCompliant)
public boolean isImplicitFlow()
public void setImplicitFlow(boolean implicitFlow)
public String getCasLogoutUrl()
public void setCasLogoutUrl(String casLogoutUrl)
Copyright © 2019. All rights reserved.