public class OAuth20CasAuthenticationBuilder
extends java.lang.Object
OAuth20CasAuthenticationBuilder.| Modifier and Type | Field and Description |
|---|---|
protected org.apereo.cas.configuration.CasConfigurationProperties |
casProperties
Collection of CAS settings.
|
protected org.apereo.cas.authentication.principal.PrincipalFactory |
principalFactory
The Principal factory.
|
protected OAuth20ProfileScopeToAttributesFilter |
scopeToAttributesFilter
Convert profile scopes to attributes.
|
protected org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> |
webApplicationServiceServiceFactory
The Web application service service factory.
|
| Constructor and Description |
|---|
OAuth20CasAuthenticationBuilder(org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory,
OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
org.apereo.cas.configuration.CasConfigurationProperties casProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.authentication.Authentication |
build(org.pac4j.core.profile.UserProfile profile,
org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService,
org.pac4j.core.context.J2EContext context,
org.apereo.cas.authentication.principal.Service service)
Create an authentication from a user profile.
|
org.apereo.cas.authentication.principal.Service |
buildService(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService,
org.pac4j.core.context.J2EContext context,
boolean useServiceHeader)
Build service.
|
protected final org.apereo.cas.configuration.CasConfigurationProperties casProperties
protected final org.apereo.cas.authentication.principal.PrincipalFactory principalFactory
protected final org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory
protected final OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter
public OAuth20CasAuthenticationBuilder(org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory,
OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
org.apereo.cas.configuration.CasConfigurationProperties casProperties)
public org.apereo.cas.authentication.principal.Service buildService(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService,
org.pac4j.core.context.J2EContext context,
boolean useServiceHeader)
registeredService - the registered servicecontext - the contextuseServiceHeader - the use service headerpublic org.apereo.cas.authentication.Authentication build(org.pac4j.core.profile.UserProfile profile,
org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService,
org.pac4j.core.context.J2EContext context,
org.apereo.cas.authentication.principal.Service service)
profile - the given user profileregisteredService - the registered servicecontext - the contextservice - the service