public class CasOAuthWrapperClient extends OAuth20Client<CasOAuthWrapperProfile>
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, urlResolverlogger| Constructor and Description |
|---|
CasOAuthWrapperClient() |
CasOAuthWrapperClient(String key,
String secret,
String casOAuthUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit(WebContext context) |
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, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrl, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setName, setProfileCreatorinit, reinitprotected void clientInit(WebContext context)
clientInit in class OAuth20Client<CasOAuthWrapperProfile>public 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 © 2017. All Rights Reserved.