A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractJsonPayloadCredentialsExtractor - Class in grails.plugin.springsecurity.rest.credentials
Base class for JSON-based credentials extractors.
AbstractJsonPayloadCredentialsExtractor() - Constructor in AbstractJsonPayloadCredentialsExtractor
AbstractJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
AbstractJwtTokenGenerator() - Constructor in AbstractJwtTokenGenerator
AccessToken - Class in grails.plugin.springsecurity.rest.token
Encapsulates an OAuth 2.0 access token.
accessToken - Property in AccessToken
accessToken() - Method in RestOauthController
Generates a new access token given the refresh token passed
AccessTokenJsonRenderer - Interface in grails.plugin.springsecurity.rest.token.rendering
Generates a JSON representation of a org.springframework.security.core.userdetails.UserDetails object.
accessTokenJsonRenderer - Property in RestOauthController
active - Property in RestTokenValidationFilter
afterPropertiesSet() - Method in FileRSAKeyProvider
afterPropertiesSet() - Method in SignedJwtTokenGenerator
allowedMethods - Property in RestOauthController
authenticate(Authentication) - Method in RestAuthenticationProvider
Returns an authentication object based on the token value contained in the authentication parameter.
authenticate(String, String) - Method in RestOauthController
Starts the OAuth authentication flow, redirecting to the provider's Login URL.
authenticationDetailsSource - Property in RestAuthenticationFilter
authenticationEventPublisher - Property in RestTokenValidationFilter
authenticationFailureHandler - Property in RestAuthenticationFilter
authenticationFailureHandler - Property in RestTokenValidationFilter
authenticationManager - Property in RestAuthenticationFilter
authenticationSuccessHandler - Property in RestAuthenticationFilter
authenticationSuccessHandler - Property in RestTokenValidationFilter
author - Property in SpringSecurityRestGrailsPlugin
authorEmail - Property in SpringSecurityRestGrailsPlugin
authoritiesPropertyName - Property in DefaultAccessTokenJsonRenderer

B

BearerTokenAccessDeniedHandler - Class in grails.plugin.springsecurity.rest.token.bearer
BearerTokenAccessDeniedHandler() - Constructor in BearerTokenAccessDeniedHandler
BearerTokenAuthenticationEntryPoint - Class in grails.plugin.springsecurity.rest.token.bearer
Handles prompting the client for authentication when using bearer tokens.
BearerTokenAuthenticationEntryPoint() - Constructor in BearerTokenAuthenticationEntryPoint
BearerTokenAuthenticationFailureHandler - Class in grails.plugin.springsecurity.rest.token.bearer
Handles authentication failure when BearerToken authentication is enabled.
BearerTokenAuthenticationFailureHandler() - Constructor in BearerTokenAuthenticationFailureHandler
BearerTokenReader - Class in grails.plugin.springsecurity.rest.token.bearer
RFC 6750 implementation of a TokenReader
BearerTokenReader() - Constructor in BearerTokenReader
buildKey(String) - Method in RedisTokenStorageService

C

cache - Property in GrailsCacheTokenStorageService
cacheName - Property in GrailsCacheTokenStorageService
CALLBACK_ATTR - Property in RestOauthController
callback(String) - Method in RestOauthController
Handles the OAuth provider callback.
closeStream(Closeable) - Method in CustomSerializingTranscoder
commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in BearerTokenAuthenticationEntryPoint
CredentialsExtractor - Interface in grails.plugin.springsecurity.rest.credentials
Extracts username and password from the request and creates and org.springframework.security.authentication.UsernamePasswordAuthenticationToken object
credentialsExtractor - Property in RestAuthenticationFilter
CustomSerializingTranscoder - Class in grails.plugin.springsecurity.rest
Copyright 2013-2015 Alvaro Sanchez-Mariscal
CustomSerializingTranscoder() - Constructor in CustomSerializingTranscoder

D

DefaultAccessTokenJsonRenderer - Class in grails.plugin.springsecurity.rest.token.rendering
Generates a JSON response like the following: {"username":"john.doe","roles":["USER","ADMIN"],"access_token":"1a2b3c4d"}.
DefaultAccessTokenJsonRenderer() - Constructor in DefaultAccessTokenJsonRenderer
DefaultJsonPayloadCredentialsExtractor - Class in grails.plugin.springsecurity.rest.credentials
Extracts credentials from a JSON request like: {"username": "foo", "password": "bar"}
DefaultJsonPayloadCredentialsExtractor() - Constructor in DefaultJsonPayloadCredentialsExtractor
DefaultOauthUserDetailsService - Class in grails.plugin.springsecurity.rest.oauth
Builds an OauthUser.
DefaultOauthUserDetailsService() - Constructor in DefaultOauthUserDetailsService
DefaultRSAKeyProvider - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates a key pair on the fly.
DefaultRSAKeyProvider() - Constructor in DefaultRSAKeyProvider
description - Property in SpringSecurityRestGrailsPlugin
deserialize(byte[]) - Method in CustomSerializingTranscoder
deserialize(byte[]) - Method in RedisTokenStorageService
deserializer - Property in RedisTokenStorageService
documentation - Property in SpringSecurityRestGrailsPlugin
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestAuthenticationFilter
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestLogoutFilter
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestTokenValidationFilter
doWithSpring - Property in SpringSecurityRestGrailsPlugin

E

enableAnonymousAccess - Property in RestTokenValidationFilter
EncryptedJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates RSA-encrypted JWT's
EncryptedJwtTokenGenerator() - Constructor in EncryptedJwtTokenGenerator
endpointUrl - Property in RestAuthenticationFilter
endpointUrl - Property in RestLogoutFilter
expiration - Property in AbstractJwtTokenGenerator
expiration - Property in AccessToken
expiration - Property in MemcachedTokenStorageService
Expiration in seconds
expiration - Property in RedisTokenStorageService
Expiration in seconds
extractCredentials(HttpServletRequest) - Method in CredentialsExtractor
extractCredentials(HttpServletRequest) - Method in DefaultJsonPayloadCredentialsExtractor
extractCredentials(HttpServletRequest) - Method in RequestParamsCredentialsExtractor

F

FileRSAKeyProvider - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Loads RSA public/private key's from files
FileRSAKeyProvider() - Constructor in FileRSAKeyProvider
findExistingToken(String) - Method in GormTokenStorageService
findExistingUserDetails(String) - Method in MemcachedTokenStorageService
findToken(HttpServletRequest) - Method in BearerTokenReader
Finds the bearer token within the specified request.
findToken(HttpServletRequest) - Method in HttpHeaderTokenReader
@return the token from the header headerName, null otherwise
findToken(HttpServletRequest) - Method in TokenReader
Reads a token (if any) from the request

G

generateAccessToken(JWTClaimsSet) - Method in AbstractJwtTokenGenerator
generateAccessToken(JWTClaimsSet) - Method in EncryptedJwtTokenGenerator
generateAccessToken(UserDetails) - Method in SecureRandomTokenGenerator
Generates a token using java.security.SecureRandom, a cryptographically strong random number generator.
generateAccessToken(JWTClaimsSet) - Method in SignedJwtTokenGenerator
generateAccessToken(UserDetails) - Method in TokenGenerator
Generates a globally unique token.
generateAccessToken(UserDetails) - Method in UUIDTokenGenerator
Generates a UUID based token
generateClaims(UserDetails) - Method in AbstractJwtTokenGenerator
generateJson(AccessToken) - Method in AccessTokenJsonRenderer
generateJson(AccessToken) - Method in DefaultAccessTokenJsonRenderer
generateRefreshToken(String) - Method in AbstractJwtTokenGenerator
getClient(String) - Method in RestOauthService
getCredentials() - Method in AccessToken
getJsonBody(HttpServletRequest) - Method in AbstractJsonPayloadCredentialsExtractor
getPrivateKey() - Method in RSAKeyProvider
getPublicKey() - Method in RSAKeyProvider
GormTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
GORM implementation for token storage.
GormTokenStorageService() - Constructor in GormTokenStorageService
grailsApplication - Property in GormTokenStorageService
Dependency injection for the application.
grailsApplication - Property in JwtTokenStorageService
grailsApplication - Property in RestOauthController
grailsApplication - Property in RestOauthService
grailsCacheManager - Property in GrailsCacheTokenStorageService
GrailsCacheTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
Uses Grails Cache plugin to store and retrieve tokens.
GrailsCacheTokenStorageService() - Constructor in GrailsCacheTokenStorageService
grailsLinkGenerator - Property in RestOauthService
grailsVersion - Property in SpringSecurityRestGrailsPlugin

H

handle(HttpServletRequest, HttpServletResponse, AccessDeniedException) - Method in BearerTokenAccessDeniedHandler
headerName - Property in HttpHeaderTokenReader
headerName - Property in RestLogoutFilter
headerName - Property in RestTokenValidationFilter
HttpHeaderTokenReader - Class in grails.plugin.springsecurity.rest.token.reader
Reads the token from a configurable HTTP Header
HttpHeaderTokenReader() - Constructor in HttpHeaderTokenReader

I

init() - Method in GrailsCacheTokenStorageService
isFormEncoded(HttpServletRequest) - Method in BearerTokenReader
issueManagement - Property in SpringSecurityRestGrailsPlugin

J

jwtSecret - Property in JwtService
jwtSecret - Property in SignedJwtTokenGenerator
JwtService - Class in grails.plugin.springsecurity.rest
Helper to perform actions with JWT tokens
JwtService() - Constructor in JwtService
jwtService - Property in JwtTokenStorageService
jwtService - Property in RestAuthenticationProvider
JwtTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage.jwt
Re-hydrates JWT's with HMAC protection or JWE encryption
JwtTokenStorageService.ContextClassLoaderAwareObjectInputStream - Class in grails.plugin.springsecurity.rest.token.storage.jwt
JwtTokenStorageService.ContextClassLoaderAwareObjectInputStream(InputStream) - Constructor in JwtTokenStorageService.ContextClassLoaderAwareObjectInputStream
jwtTokenStorageService - Property in AbstractJwtTokenGenerator
JwtTokenStorageService() - Constructor in JwtTokenStorageService

K

keyProvider - Property in EncryptedJwtTokenGenerator
keyProvider - Property in JwtService

L

license - Property in SpringSecurityRestGrailsPlugin
loadAfter - Property in SpringSecurityRestGrailsPlugin
loadUserByToken(String) - Method in GormTokenStorageService
loadUserByToken(String) - Method in GrailsCacheTokenStorageService
loadUserByToken(String) - Method in JwtTokenStorageService
loadUserByToken(String) - Method in MemcachedTokenStorageService
loadUserByToken(String) - Method in RedisTokenStorageService
loadUserByToken(String) - Method in TokenStorageService
Returns a principal object given the passed token value
loadUserByUserProfile(CommonProfile, Collection<GrantedAuthority>) - Method in DefaultOauthUserDetailsService
loadUserByUserProfile(CommonProfile, Collection<GrantedAuthority>) - Method in OauthUserDetailsService
Search for a user based on his org.pac4j.oauth.profile.OAuth20Profile.

M

mappings - Property in RestOauthUrlMappings
memcachedClient - Property in MemcachedTokenStorageService
MemcachedTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
Stores and retrieves tokens in a memcached server.
MemcachedTokenStorageService() - Constructor in MemcachedTokenStorageService

N

O

OauthUser - Class in grails.plugin.springsecurity.rest.oauth
A org.springframework.security.core.userdetails.UserDetails implementation that holds the org.pac4j.core.profile.CommonProfile returned by the OAuth provider
OauthUser(String, String, Collection<? extends GrantedAuthority>, CommonProfile) - Constructor in OauthUser
OauthUserDetailsService - Interface in grails.plugin.springsecurity.rest.oauth
Load users based on a org.pac4j.oauth.profile.OAuth20Profile
oauthUserDetailsService - Property in RestOauthService
onAuthenticationFailure(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in BearerTokenAuthenticationFailureHandler
Sends the proper response code and headers, as defined by RFC6750.
onAuthenticationFailure(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in RestAuthenticationFailureHandler
Called when an authentication attempt fails.
onAuthenticationSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in RestAuthenticationSuccessHandler
Called when a user has been successfully authenticated.
organization - Property in SpringSecurityRestGrailsPlugin

P

parse(String) - Method in JwtService
Parses and verifies (for signed tokens) or decrypts (for encrypted tokens) the given token
passwordPropertyName - Property in DefaultJsonPayloadCredentialsExtractor
passwordPropertyName - Property in RequestParamsCredentialsExtractor
pluginExcludes - Property in SpringSecurityRestGrailsPlugin
PREFIX - Field in RedisTokenStorageService
principal - Property in AccessToken
The username
privateKey - Property in DefaultRSAKeyProvider
privateKey - Property in FileRSAKeyProvider
privateKeyPath - Property in FileRSAKeyProvider
Full path to the private key so that new File(publicKeyPath).exists() == true
processFilterChain(ServletRequest, ServletResponse, FilterChain, AccessToken) - Method in RestTokenValidationFilter
publicKey - Property in DefaultRSAKeyProvider
publicKey - Property in FileRSAKeyProvider
publicKeyPath - Property in FileRSAKeyProvider
Full path to the public key so that new File(publicKeyPath).exists() == true

Q

R

random - Property in SecureRandomTokenGenerator
redisService - Property in RedisTokenStorageService
RedisTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
RedisTokenStorageService() - Constructor in RedisTokenStorageService
refreshToken - Property in AccessToken
removeToken(String) - Method in GormTokenStorageService
removeToken(String) - Method in GrailsCacheTokenStorageService
removeToken(String) - Method in JwtTokenStorageService
removeToken(String) - Method in MemcachedTokenStorageService
removeToken(String) - Method in RedisTokenStorageService
removeToken(String) - Method in TokenStorageService
Removes a token from the storage.
renderer - Property in RestAuthenticationSuccessHandler
RequestParamsCredentialsExtractor - Class in grails.plugin.springsecurity.rest.credentials
Extracts credentials from request parameters
RequestParamsCredentialsExtractor() - Constructor in RequestParamsCredentialsExtractor
resolveClass(ObjectStreamClass) - Method in JwtTokenStorageService.ContextClassLoaderAwareObjectInputStream
RestAuthenticationFailureHandler - Class in grails.plugin.springsecurity.rest
Sets the configured status code.
RestAuthenticationFailureHandler() - Constructor in RestAuthenticationFailureHandler
RestAuthenticationFilter - Class in grails.plugin.springsecurity.rest
This filter starts the initial authentication flow.
RestAuthenticationFilter() - Constructor in RestAuthenticationFilter
RestAuthenticationProvider - Class in grails.plugin.springsecurity.rest
Authenticates a request based on the token passed.
RestAuthenticationProvider() - Constructor in RestAuthenticationProvider
restAuthenticationProvider - Property in RestTokenValidationFilter
RestAuthenticationSuccessHandler - Class in grails.plugin.springsecurity.rest
Generates a JSON response using a AccessTokenJsonRenderer.
RestAuthenticationSuccessHandler() - Constructor in RestAuthenticationSuccessHandler
RestLogoutFilter - Class in grails.plugin.springsecurity.rest
Filter exposing an endpoint for deleting tokens.
RestLogoutFilter() - Constructor in RestLogoutFilter
RestOauthController - Class in grails.plugin.springsecurity.rest
RestOauthController() - Constructor in RestOauthController
RestOauthService - Class in grails.plugin.springsecurity.rest
Deals with pac4j library to fetch a user profile from the selected OAuth provider, and stores it on the security context
restOauthService - Property in RestOauthController
RestOauthService() - Constructor in RestOauthService
RestOauthUrlMappings - Class in RestOauthUrlMappings
RestOauthUrlMappings() - Constructor in RestOauthUrlMappings
RestTokenValidationFilter - Class in grails.plugin.springsecurity.rest
This filter starts the token validation flow.
RestTokenValidationFilter() - Constructor in RestTokenValidationFilter
RSAKeyProvider - Interface in grails.plugin.springsecurity.rest.token.generation.jwt
Implementations of this interface must take care of providing a pair of RSA private/public keys

S

scm - Property in SpringSecurityRestGrailsPlugin
SecureRandomTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation
A TokenGenerator implementation using java.security.SecureRandom
SecureRandomTokenGenerator() - Constructor in SecureRandomTokenGenerator
serialize(Object) - Method in RedisTokenStorageService
serializer - Property in RedisTokenStorageService
serialVersionUID - Property in AccessToken
serialVersionUID - Field in OauthUser
setAuthenticated(boolean) - Method in AccessToken
SignedJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates JWT's protected using HMAC with SHA-256
SignedJwtTokenGenerator() - Constructor in SignedJwtTokenGenerator
signer - Property in SignedJwtTokenGenerator
SpringSecurityRestGrailsPlugin - Class in SpringSecurityRestGrailsPlugin
SpringSecurityRestGrailsPlugin() - Constructor in SpringSecurityRestGrailsPlugin
statusCode - Property in RestAuthenticationFailureHandler
Configurable status code, by default: conf.rest.login.failureStatusCode?
storeAuthentication(String, WebContext) - Method in RestOauthService
storeToken(String, UserDetails) - Method in GormTokenStorageService
storeToken(String, UserDetails) - Method in GrailsCacheTokenStorageService
storeToken(String, UserDetails) - Method in JwtTokenStorageService
storeToken(String, UserDetails) - Method in MemcachedTokenStorageService
storeToken(String, UserDetails) - Method in RedisTokenStorageService
storeToken(String, UserDetails) - Method in TokenStorageService
Stores a token.
supports(Class<?>) - Method in RestAuthenticationProvider

T

title - Property in SpringSecurityRestGrailsPlugin
TokenGenerator - Interface in grails.plugin.springsecurity.rest.token.generation
Implementations of this interface must provide a token generation strategy
tokenGenerator - Property in RestAuthenticationFilter
tokenGenerator - Property in RestOauthController
tokenGenerator - Property in RestOauthService
TokenNotFoundException - Class in grails.plugin.springsecurity.rest.token.storage
Thrown if the desired token is not found by the TokenStorageService
TokenNotFoundException() - Constructor in TokenNotFoundException
tokenPropertyName - Property in DefaultAccessTokenJsonRenderer
TokenReader - Interface in grails.plugin.springsecurity.rest.token.reader
tokenReader - Property in BearerTokenAuthenticationEntryPoint
tokenReader - Property in BearerTokenAuthenticationFailureHandler
tokenReader - Property in RestLogoutFilter
tokenReader - Property in RestTokenValidationFilter
TokenStorageService - Interface in grails.plugin.springsecurity.rest.token.storage
Implementations of this interface are responsible to load user information from a token storage system, and to store token information into it.
tokenStorageService - Property in RestAuthenticationFilter
tokenStorageService - Property in RestAuthenticationProvider
tokenStorageService - Property in RestLogoutFilter
tokenStorageService - Property in RestOauthController
tokenStorageService - Property in RestOauthService
transactional - Property in RestOauthService

U

useBearerToken - Property in DefaultAccessTokenJsonRenderer
useJwt - Property in RestAuthenticationProvider
userDetailsService - Property in DefaultOauthUserDetailsService
userDetailsService - Property in GormTokenStorageService
userDetailsService - Property in RedisTokenStorageService
userDetailsService - Property in RestOauthService
usernamePropertyName - Property in DefaultAccessTokenJsonRenderer
usernamePropertyName - Property in DefaultJsonPayloadCredentialsExtractor
usernamePropertyName - Property in RequestParamsCredentialsExtractor
userProfile - Property in OauthUser
UUIDTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation
Uses java.util.UUID to generate tokens.
UUIDTokenGenerator() - Constructor in UUIDTokenGenerator

V

validationEndpointUrl - Property in RestTokenValidationFilter
version - Property in SpringSecurityRestGrailsPlugin

W

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _