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, callbackUrlResolver, urlResolverlogger| Constructor and Description |
|---|
CasOAuthWrapperClient() |
CasOAuthWrapperClient(java.lang.String key,
java.lang.String secret,
java.lang.String casOAuthUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit() |
java.lang.String |
getCasLogoutUrl() |
java.lang.String |
getCasOAuthUrl() |
boolean |
isImplicitFlow() |
boolean |
isSpringSecurityCompliant() |
void |
setCasLogoutUrl(java.lang.String casLogoutUrl) |
void |
setCasOAuthUrl(java.lang.String casOAuthUrl) |
void |
setImplicitFlow(boolean implicitFlow) |
void |
setSpringSecurityCompliant(boolean springSecurityCompliant) |
getConfiguration, getKey, getSecret, setConfiguraton, setKey, setSecret, toStringcomputeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolveraddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitpublic CasOAuthWrapperClient()
public CasOAuthWrapperClient(java.lang.String key,
java.lang.String secret,
java.lang.String casOAuthUrl)
protected void clientInit()
clientInit in class OAuth20Client<CasOAuthWrapperProfile>public java.lang.String getCasOAuthUrl()
public void setCasOAuthUrl(java.lang.String casOAuthUrl)
public boolean isSpringSecurityCompliant()
public void setSpringSecurityCompliant(boolean springSecurityCompliant)
public boolean isImplicitFlow()
public void setImplicitFlow(boolean implicitFlow)
public java.lang.String getCasLogoutUrl()
public void setCasLogoutUrl(java.lang.String casLogoutUrl)
Copyright © 2018. All Rights Reserved.