Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCasAssertionUserDetailsService - Class in org.springframework.security.cas.userdetails
-
Abstract class for using the provided CAS assertion to construct a new User object.
- AbstractCasAssertionUserDetailsService() - Constructor for class org.springframework.security.cas.userdetails.AbstractCasAssertionUserDetailsService
- afterPropertiesSet() - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- afterPropertiesSet() - Method in class org.springframework.security.cas.ServiceProperties
- afterPropertiesSet() - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- assertion(Assertion) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
-
Use this
Assertion - attemptAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- authenticate(Authentication) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
B
- build() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
- build() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken.Builder
- buildDetails(HttpServletRequest) - Method in class org.springframework.security.cas.web.authentication.ServiceAuthenticationDetailsSource
- Builder(CasAuthenticationToken) - Constructor for class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
- Builder(CasServiceTicketAuthenticationToken) - Constructor for class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken.Builder
C
- CAS_GATEWAY_AUTHENTICATION_ATTR - Static variable in class org.springframework.security.cas.web.CasGatewayAuthenticationRedirectFilter
- CasAssertionAuthenticationToken - Class in org.springframework.security.cas.authentication
-
Temporary authentication object needed to load the user details service.
- CasAssertionAuthenticationToken(Assertion, String) - Constructor for class org.springframework.security.cas.authentication.CasAssertionAuthenticationToken
- CasAuthenticationEntryPoint - Class in org.springframework.security.cas.web
-
Used by the
ExceptionTranslationFilterto commence authentication via the JA-SIG Central Authentication Service (CAS). - CasAuthenticationEntryPoint() - Constructor for class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- CasAuthenticationFilter - Class in org.springframework.security.cas.web
-
Processes a CAS service ticket, obtains proxy granting tickets, and processes proxy tickets.
- CasAuthenticationFilter() - Constructor for class org.springframework.security.cas.web.CasAuthenticationFilter
- CasAuthenticationProvider - Class in org.springframework.security.cas.authentication
-
An
AuthenticationProviderimplementation that integrates with JA-SIG Central Authentication Service (CAS). - CasAuthenticationProvider() - Constructor for class org.springframework.security.cas.authentication.CasAuthenticationProvider
- CasAuthenticationToken - Class in org.springframework.security.cas.authentication
-
Represents a successful CAS
Authentication. - CasAuthenticationToken(String, Object, Object, Collection<? extends GrantedAuthority>, UserDetails, Assertion) - Constructor for class org.springframework.security.cas.authentication.CasAuthenticationToken
-
Constructor.
- CasAuthenticationToken(CasAuthenticationToken.Builder<?>) - Constructor for class org.springframework.security.cas.authentication.CasAuthenticationToken
- CasAuthenticationToken.Builder<B extends CasAuthenticationToken.Builder<B>> - Class in org.springframework.security.cas.authentication
-
A builder of
CasAuthenticationTokeninstances - CasGatewayAuthenticationRedirectFilter - Class in org.springframework.security.cas.web
-
Redirects the request to the CAS server appending
gateway=trueto the URL. - CasGatewayAuthenticationRedirectFilter(String, ServiceProperties) - Constructor for class org.springframework.security.cas.web.CasGatewayAuthenticationRedirectFilter
-
Constructs a new instance of this class
- CasGatewayResolverRequestMatcher - Class in org.springframework.security.cas.web
-
A
RequestMatcherimplementation that delegates the check to an instance ofGatewayResolver. - CasGatewayResolverRequestMatcher(ServiceProperties) - Constructor for class org.springframework.security.cas.web.CasGatewayResolverRequestMatcher
- CasJackson2Module - Class in org.springframework.security.cas.jackson2
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CasJackson2Module() - Constructor for class org.springframework.security.cas.jackson2.CasJackson2Module
-
Deprecated.
- CasJacksonModule - Class in org.springframework.security.cas.jackson
-
Jackson module for spring-security-cas.
- CasJacksonModule() - Constructor for class org.springframework.security.cas.jackson.CasJacksonModule
- CasServiceTicketAuthenticationToken - Class in org.springframework.security.cas.authentication
-
An
Authenticationimplementation that is designed to process CAS service ticket. - CasServiceTicketAuthenticationToken(String, Object) - Constructor for class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
-
This constructor can be safely used by any code that wishes to create a
CasServiceTicketAuthenticationToken, as theAbstractAuthenticationToken.isAuthenticated()will returnfalse. - CasServiceTicketAuthenticationToken(String, Object, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
-
This constructor should only be used by
AuthenticationManagerorAuthenticationProviderimplementations that are satisfied with producing a trusted (i.e. - CasServiceTicketAuthenticationToken(CasServiceTicketAuthenticationToken.Builder<?>) - Constructor for class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- CasServiceTicketAuthenticationToken.Builder<B extends CasServiceTicketAuthenticationToken.Builder<B>> - Class in org.springframework.security.cas.authentication
-
A builder of
CasServiceTicketAuthenticationTokeninstances - commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- configurePolymorphicTypeValidator(BasicPolymorphicTypeValidator.Builder) - Method in class org.springframework.security.cas.jackson.CasJacksonModule
- createRedirectUrl(String) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Constructs the Url for Redirection to the CAS server.
- createServiceUrl(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Constructs a new Service Url.
- credentials(Object) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
- credentials(Object) - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken.Builder
D
- DEFAULT_CAS_ARTIFACT_PARAMETER - Static variable in class org.springframework.security.cas.ServiceProperties
- DEFAULT_CAS_SERVICE_PARAMETER - Static variable in class org.springframework.security.cas.ServiceProperties
- DEFAULT_SAML_ARTIFACT_PARAMETER - Static variable in class org.springframework.security.cas.SamlServiceProperties
- DEFAULT_SAML_SERVICE_PARAMETER - Static variable in class org.springframework.security.cas.SamlServiceProperties
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.springframework.security.cas.web.CasGatewayAuthenticationRedirectFilter
E
- equals(Object) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- eraseCredentials() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
G
- getArtifactParameter() - Method in class org.springframework.security.cas.ServiceProperties
- getAssertion() - Method in class org.springframework.security.cas.authentication.CasAssertionAuthenticationToken
- getAssertion() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- getByTicketId(String) - Method in class org.springframework.security.cas.authentication.NullStatelessTicketCache
- getByTicketId(String) - Method in class org.springframework.security.cas.authentication.SpringCacheBasedTicketCache
- getByTicketId(String) - Method in interface org.springframework.security.cas.authentication.StatelessTicketCache
-
Retrieves the
CasAuthenticationTokenassociated with the specified ticket. - getCredentials() - Method in class org.springframework.security.cas.authentication.CasAssertionAuthenticationToken
- getCredentials() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- getCredentials() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- getEncodeServiceUrlWithSessionId() - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Sets whether to encode the service url with the session id or not.
- getKey() - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- getKeyHash() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- getLoginUrl() - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
The enterprise-wide CAS login URL.
- getPrincipal() - Method in class org.springframework.security.cas.authentication.CasAssertionAuthenticationToken
- getPrincipal() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- getPrincipal() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- getService() - Method in class org.springframework.security.cas.ServiceProperties
-
Represents the service the user is authenticating to.
- getServiceParameter() - Method in class org.springframework.security.cas.ServiceProperties
-
Configures the Request parameter to look for when attempting to send a request to CAS.
- getServiceProperties() - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- getServiceUrl() - Method in interface org.springframework.security.cas.authentication.ServiceAuthenticationDetails
-
Gets the absolute service url (i.e.
- getStatelessTicketCache() - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- getTicketValidator() - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- getUserDetails() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- GrantedAuthorityFromAssertionAttributesUserDetailsService - Class in org.springframework.security.cas.userdetails
-
Populates the
GrantedAuthoritys for a user by reading a list of attributes that were returned as part of the CAS response. - GrantedAuthorityFromAssertionAttributesUserDetailsService(String[]) - Constructor for class org.springframework.security.cas.userdetails.GrantedAuthorityFromAssertionAttributesUserDetailsService
H
- hashCode() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
I
- isAuthenticateAllArtifacts() - Method in class org.springframework.security.cas.ServiceProperties
- isSendRenew() - Method in class org.springframework.security.cas.ServiceProperties
-
Indicates whether the
renewparameter should be sent to the CAS login URL and CAS validation URL. - isStateless() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
K
- key(String) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
-
Use this key
L
- loadUserByAssertion(Assertion) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
-
Template method for retrieving the UserDetails based on the assertion.
- loadUserDetails(Assertion) - Method in class org.springframework.security.cas.userdetails.AbstractCasAssertionUserDetailsService
-
Protected template method for construct a
UserDetailsvia the supplied CAS assertion. - loadUserDetails(Assertion) - Method in class org.springframework.security.cas.userdetails.GrantedAuthorityFromAssertionAttributesUserDetailsService
- loadUserDetails(CasAssertionAuthenticationToken) - Method in class org.springframework.security.cas.userdetails.AbstractCasAssertionUserDetailsService
M
- matches(HttpServletRequest) - Method in class org.springframework.security.cas.web.CasGatewayResolverRequestMatcher
- messages - Variable in class org.springframework.security.cas.authentication.CasAuthenticationProvider
N
- NullStatelessTicketCache - Class in org.springframework.security.cas.authentication
-
Implementation of @link
StatelessTicketCachethat has no backing cache. - NullStatelessTicketCache() - Constructor for class org.springframework.security.cas.authentication.NullStatelessTicketCache
O
- obtainArtifact(HttpServletRequest) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
If present, gets the artifact (CAS ticket) from the
HttpServletRequest. - org.springframework.security.cas - package org.springframework.security.cas
-
Spring Security support for Apereo's Central Authentication Service (CAS).
- org.springframework.security.cas.authentication - package org.springframework.security.cas.authentication
-
An
AuthenticationProviderthat can process CAS service tickets and proxy tickets. - org.springframework.security.cas.jackson - package org.springframework.security.cas.jackson
-
Jackson 3+ serialization support for CAS.
- org.springframework.security.cas.jackson2 - package org.springframework.security.cas.jackson2
-
Jackson 2 support for CAS.
- org.springframework.security.cas.userdetails - package org.springframework.security.cas.userdetails
-
UserDetailsabstractions for CAS. - org.springframework.security.cas.web - package org.springframework.security.cas.web
-
Authenticates standard web browser users via CAS.
- org.springframework.security.cas.web.authentication - package org.springframework.security.cas.web.authentication
-
Authentication processing mechanisms which respond to the submission of authentication credentials using CAS.
P
- preCommence(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Template method for you to do your own pre-processing before the redirect occurs.
- principal(Object) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
- principal(Object) - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken.Builder
- putTicketInCache(CasAuthenticationToken) - Method in class org.springframework.security.cas.authentication.NullStatelessTicketCache
-
This is a no-op since we are not storing tickets.
- putTicketInCache(CasAuthenticationToken) - Method in class org.springframework.security.cas.authentication.SpringCacheBasedTicketCache
- putTicketInCache(CasAuthenticationToken) - Method in interface org.springframework.security.cas.authentication.StatelessTicketCache
-
Adds the specified
CasAuthenticationTokento the cache.
R
- removeTicketFromCache(String) - Method in class org.springframework.security.cas.authentication.NullStatelessTicketCache
-
This is a no-op since we are not storing tickets.
- removeTicketFromCache(String) - Method in class org.springframework.security.cas.authentication.SpringCacheBasedTicketCache
- removeTicketFromCache(String) - Method in interface org.springframework.security.cas.authentication.StatelessTicketCache
-
Removes the specified ticket from the cache, meaning that future calls will require a new service ticket.
- removeTicketFromCache(CasAuthenticationToken) - Method in class org.springframework.security.cas.authentication.NullStatelessTicketCache
-
This is a no-op since we are not storing tickets.
- removeTicketFromCache(CasAuthenticationToken) - Method in class org.springframework.security.cas.authentication.SpringCacheBasedTicketCache
- removeTicketFromCache(CasAuthenticationToken) - Method in interface org.springframework.security.cas.authentication.StatelessTicketCache
-
Removes the specified ticket from the cache, as per
removeTicketFromCache(String). - requiresAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
Overridden to provide proxying capabilities.
S
- SamlServiceProperties - Class in org.springframework.security.cas
-
Sets the appropriate parameters for CAS's implementation of SAML (which is not guaranteed to be actually SAML compliant).
- SamlServiceProperties() - Constructor for class org.springframework.security.cas.SamlServiceProperties
- ServiceAuthenticationDetails - Interface in org.springframework.security.cas.authentication
-
In order for the
CasAuthenticationProviderto provide the correct service url to authenticate the ticket, the returned value ofAuthentication.getDetails()should implement this interface when tickets can be sent to any URL rather than onlyServiceProperties.getService(). - ServiceAuthenticationDetailsSource - Class in org.springframework.security.cas.web.authentication
-
The
AuthenticationDetailsSourcethat is set on theCasAuthenticationFiltershould return a value that implementsServiceAuthenticationDetailsif the application needs to authenticate dynamic service urls. - ServiceAuthenticationDetailsSource(ServiceProperties) - Constructor for class org.springframework.security.cas.web.authentication.ServiceAuthenticationDetailsSource
-
Creates an implementation that uses the specified ServiceProperties and the default CAS artifactParameterName.
- ServiceAuthenticationDetailsSource(ServiceProperties, String) - Constructor for class org.springframework.security.cas.web.authentication.ServiceAuthenticationDetailsSource
-
Creates an implementation that uses the specified artifactParameterName
- ServiceProperties - Class in org.springframework.security.cas
-
Stores properties related to this CAS service.
- ServiceProperties() - Constructor for class org.springframework.security.cas.ServiceProperties
- setArtifactParameter(String) - Method in class org.springframework.security.cas.ServiceProperties
-
Configures the Request Parameter to look for when attempting to see if a CAS ticket was sent from the server.
- setAuthenticateAllArtifacts(boolean) - Method in class org.springframework.security.cas.ServiceProperties
-
If true, then any non-null artifact (ticket) should be authenticated.
- setAuthenticated(boolean) - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- setAuthenticationFailureHandler(AuthenticationFailureHandler) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
Wraps the
AuthenticationFailureHandlerto distinguish between handling proxy ticket authentication failures and service ticket failures. - setAuthenticationUserDetailsService(AuthenticationUserDetailsService<CasAssertionAuthenticationToken>) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setAuthoritiesMapper(GrantedAuthoritiesMapper) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setConvertToUpperCase(boolean) - Method in class org.springframework.security.cas.userdetails.GrantedAuthorityFromAssertionAttributesUserDetailsService
-
Converts the returned attribute values to uppercase values.
- setEncodeServiceUrlWithSessionId(boolean) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Sets whether to encode the service url with the session id or not.
- setGatewayStorage(GatewayResolver) - Method in class org.springframework.security.cas.web.CasGatewayResolverRequestMatcher
-
Sets the
GatewayResolverto check if the request was already gatewayed. - setKey(String) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setLoginUrl(String) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- setMessageSource(MessageSource) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setProxyAuthenticationFailureHandler(AuthenticationFailureHandler) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
Sets the
AuthenticationFailureHandlerfor proxy requests. - setProxyGrantingTicketStorage(ProxyGrantingTicketStorage) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- setProxyReceptorMatcher(RequestMatcher) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
Use this
RequestMatcherto match proxy receptor requests. - setProxyReceptorUrl(String) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- setRedirectStrategy(RedirectStrategy) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
-
Sets the
RedirectStrategyto use - setRedirectStrategy(RedirectStrategy) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
Set the
RedirectStrategyused to redirect to the saved request if there is one saved. - setRequestCache(RequestCache) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
-
The
RequestCacheused to retrieve the saved request in failed gateway authentication scenarios. - setRequestCache(RequestCache) - Method in class org.springframework.security.cas.web.CasGatewayAuthenticationRedirectFilter
-
Sets the
RequestCacheused to store the current request to be replayed after redirect from the CAS server. - setRequestMatcher(RequestMatcher) - Method in class org.springframework.security.cas.web.CasGatewayAuthenticationRedirectFilter
-
Sets the
RequestMatcherused to trigger this filter. - setSecurityContextHolderStrategy(SecurityContextHolderStrategy) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- setSecurityContextRepository(SecurityContextRepository) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- setSendRenew(boolean) - Method in class org.springframework.security.cas.ServiceProperties
- setService(String) - Method in class org.springframework.security.cas.ServiceProperties
- setServiceParameter(String) - Method in class org.springframework.security.cas.ServiceProperties
- setServiceProperties(ServiceProperties) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setServiceProperties(ServiceProperties) - Method in class org.springframework.security.cas.web.CasAuthenticationEntryPoint
- setServiceProperties(ServiceProperties) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- setStatelessTicketCache(StatelessTicketCache) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setTicketValidator(TicketValidator) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- setupModule(Module.SetupContext) - Method in class org.springframework.security.cas.jackson2.CasJackson2Module
-
Deprecated.
- setupModule(JacksonModule.SetupContext) - Method in class org.springframework.security.cas.jackson.CasJacksonModule
- setUserDetailsChecker(UserDetailsChecker) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
-
Sets the UserDetailsChecker to be used for checking the status of retrieved user details.
- setUserDetailsService(UserDetailsService) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
- SpringCacheBasedTicketCache - Class in org.springframework.security.cas.authentication
-
Caches tickets using a Spring IoC defined
Cache. - SpringCacheBasedTicketCache(Cache) - Constructor for class org.springframework.security.cas.authentication.SpringCacheBasedTicketCache
- stateful(Object) - Static method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- stateless(Object) - Static method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- StatelessTicketCache - Interface in org.springframework.security.cas.authentication
-
Caches CAS service tickets and CAS proxy tickets for stateless connections.
- successfulAuthentication(HttpServletRequest, HttpServletResponse, FilterChain, Authentication) - Method in class org.springframework.security.cas.web.CasAuthenticationFilter
- supports(Class<?>) - Method in class org.springframework.security.cas.authentication.CasAuthenticationProvider
T
- toBuilder() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
- toBuilder() - Method in class org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken
- toString() - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken
U
- userDetails(UserDetails) - Method in class org.springframework.security.cas.authentication.CasAuthenticationToken.Builder
-
Use this
UserDetails
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CasJacksonModulebased on Jackson 3