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.
AbstractJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
AccessToken - Class in grails.plugin.springsecurity.rest.token
Encapsulates an OAuth 2.0 access token.
AccessToken(String, String, Integer) - Constructor 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.
afterPropertiesSet() - Method in FileRSAKeyProvider
afterPropertiesSet() - Method in SignedJwtTokenGenerator
Application - Class in grails.plugin.springsecurity.rest.redis
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.

B

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

C

callback(String) - Method in RestOauthController
Handles the OAuth provider callback.
CallbackErrorHandler - Interface in grails.plugin.springsecurity.rest.error
commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in BearerTokenAuthenticationEntryPoint
ContextClassLoaderAwareObjectInputStream - Class in grails.plugin.springsecurity.rest
ContextClassLoaderAwareObjectInputStream(InputStream) - Constructor in ContextClassLoaderAwareObjectInputStream
convert(Exception) - Method in CallbackErrorHandler
Converts an error that occurs during the callback to a parameter map that will be returned to the frontend
convert(Exception) - Method in DefaultCallbackErrorHandler
CredentialsExtractor - Interface in grails.plugin.springsecurity.rest.credentials
Extracts username and password from the request and creates and org.springframework.security.authentication.UsernamePasswordAuthenticationToken object
CustomClaimProvider - Interface in grails.plugin.springsecurity.rest.token.generation.jwt
Interface providing a hook to have a chance to add additional claims inside the JWT
CustomSerializingTranscoder - Class in grails.plugin.springsecurity.rest.token.storage.memcached
Copyright 2013-2016 Alvaro Sanchez-Mariscal

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"}.
DefaultCallbackErrorHandler - Class in grails.plugin.springsecurity.rest.error
Error handler that's backwardly compatible with the behaviour that was embedded within the callback action of RestOauthController up to and including version 1.5.2
DefaultJsonPayloadCredentialsExtractor - Class in grails.plugin.springsecurity.rest.credentials
Extracts credentials from a JSON request like: {"username": "foo", "password": "bar"}
DefaultOauthUserDetailsService - Class in grails.plugin.springsecurity.rest.oauth
Builds an OauthUser.
DefaultRestAuthenticationEventPublisher - Class in grails.plugin.springsecurity.rest.authentication
Copyright 2013-2016 Alvaro Sanchez-Mariscal
DefaultRestAuthenticationEventPublisher(ApplicationEventPublisher) - Constructor in DefaultRestAuthenticationEventPublisher
DefaultRSAKeyProvider - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates a key pair on the fly.
DefaultRSAKeyProvider() - Constructor in DefaultRSAKeyProvider
deserialize(byte[]) - Method in CustomSerializingTranscoder
deserialize(String) - Method in JwtService
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestAuthenticationFilter
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestLogoutFilter
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in RestTokenValidationFilter
doWithApplicationContext() - Method in SpringSecurityRestGormGrailsPlugin
doWithApplicationContext() - Method in SpringSecurityRestGrailsCacheGrailsPlugin
doWithApplicationContext() - Method in SpringSecurityRestGrailsPlugin
doWithApplicationContext() - Method in SpringSecurityRestMemcachedGrailsPlugin
doWithApplicationContext() - Method in SpringSecurityRestRedisGrailsPlugin
doWithSpring() - Method in SpringSecurityRestGormGrailsPlugin
doWithSpring() - Method in SpringSecurityRestGrailsCacheGrailsPlugin
doWithSpring() - Method in SpringSecurityRestGrailsPlugin
doWithSpring() - Method in SpringSecurityRestMemcachedGrailsPlugin
doWithSpring() - Method in SpringSecurityRestRedisGrailsPlugin

E

EncryptedJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates RSA-encrypted JWT's
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
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, Integer) - Method in SecureRandomTokenGenerator
generateAccessToken(JWTClaimsSet) - Method in SignedJwtTokenGenerator
generateAccessToken(UserDetails, Integer) - Method in TokenGenerator
Generates a token with the given expiration
generateAccessToken(UserDetails, Integer) - Method in UUIDTokenGenerator
generateClaims(UserDetails, String, Integer) - Method in AbstractJwtTokenGenerator
generateJson(AccessToken) - Method in AccessTokenJsonRenderer
generateJson(AccessToken) - Method in DefaultAccessTokenJsonRenderer
generateRefreshToken(UserDetails, String, Integer) - Method in AbstractJwtTokenGenerator
getClient(String) - Method in RestOauthService
getCredentials() - Method in AccessToken
getJsonBody(HttpServletRequest) - Method in AbstractJsonPayloadCredentialsExtractor
getOauthUser(String, CommonProfile) - Method in RestOauthService
getPrivateKey() - Method in RSAKeyProvider
getProfile(String, WebContext) - Method in RestOauthService
getPublicKey() - Method in RSAKeyProvider
GormTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
GORM implementation for token storage.
GormTokenStorageService() - Constructor in GormTokenStorageService
GrailsCacheTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
Uses Grails Cache plugin to store and retrieve tokens.

H

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

I

idToPasswordEncoder(ConfigObject) - Method in SpringSecurityRestGrailsPlugin
init() - Method in GrailsCacheTokenStorageService
instantiateOauthUser(CommonProfile, Collection<GrantedAuthority>) - Method in DefaultOauthUserDetailsService
IssuerClaimProvider - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Sets the issuer of the JWT as per a configuration value

J

JwtService - Class in grails.plugin.springsecurity.rest
Helper to perform actions with JWT tokens
JwtTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage.jwt
Re-hydrates JWT's with HMAC protection or JWE encryption

K

L

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.
loadUserByUserProfileWhenUserDomainClassIsSet(CommonProfile, Collection<GrantedAuthority>) - Method in DefaultOauthUserDetailsService

M

main(String) - Method in Application
MemcachedTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage.memcached
Stores and retrieves tokens in a memcached server.

N

NullRestAuthenticationEventPublisher - Class in grails.plugin.springsecurity.rest.authentication
Copyright 2013-2016 Alvaro Sanchez-Mariscal

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
onApplicationEvent(ApplicationEvent) - Method in RestSecurityEventListener
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.

P

parse(String) - Method in JwtService
Parses and verifies (for signed tokens) or decrypts (for encrypted tokens) the given token
provideCustomClaims(Builder, UserDetails, String, Integer) - Method in CustomClaimProvider
The method will be called when the JWT is built.
provideCustomClaims(Builder, UserDetails, String, Integer) - Method in IssuerClaimProvider
publishTokenCreation(AccessToken) - Method in DefaultRestAuthenticationEventPublisher
publishTokenCreation(AccessToken) - Method in NullRestAuthenticationEventPublisher
publishTokenCreation(AccessToken) - Method in RestAuthenticationEventPublisher

Q

R

RedisTokenStorageService - Class in grails.plugin.springsecurity.rest.token.storage
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.
RequestParamsCredentialsExtractor - Class in grails.plugin.springsecurity.rest.credentials
Extracts credentials from request parameters
resolveClass(ObjectStreamClass) - Method in ContextClassLoaderAwareObjectInputStream
RestAuthenticationEventPublisher - Interface in grails.plugin.springsecurity.rest.authentication
Copyright 2013-2016 Alvaro Sanchez-Mariscal
RestAuthenticationFailureHandler - Class in grails.plugin.springsecurity.rest
Sets the configured status code.
RestAuthenticationFilter - Class in grails.plugin.springsecurity.rest
This filter starts the initial authentication flow.
RestAuthenticationProvider - Class in grails.plugin.springsecurity.rest
Authenticates a request based on the token passed.
RestAuthenticationSuccessHandler - Class in grails.plugin.springsecurity.rest
Generates a JSON response using a AccessTokenJsonRenderer.
RestLogoutFilter - Class in grails.plugin.springsecurity.rest
Filter exposing an endpoint for deleting tokens.
RestOauthController - Class in grails.plugin.springsecurity.rest
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
RestOauthUrlMappings - Class in grails.plugin.springsecurity.rest
RestSecurityEventListener - Class in grails.plugin.springsecurity.rest
Copyright 2013-2016 Alvaro Sanchez-Mariscal
RestTokenCreationEvent - Class in grails.plugin.springsecurity.rest
RestTokenCreationEvent(Object) - Constructor in RestTokenCreationEvent
RestTokenValidationFilter - Class in grails.plugin.springsecurity.rest
This filter starts the token validation flow.
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

SecureRandomTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation
A TokenGenerator implementation using java.security.SecureRandom
serialize(UserDetails) - Method in JwtService
serializePrincipal(UserDetails) - Method in AbstractJwtTokenGenerator
setApplicationEventPublisher(ApplicationEventPublisher) - Method in DefaultRestAuthenticationEventPublisher
setAuthenticated(boolean) - Method in AccessToken
SignedJwtTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation.jwt
Generates JWT's protected using HMAC with SHA-256
SpringSecurityRestGormGrailsPlugin - Class in grails.plugin.springsecurity.rest
SpringSecurityRestGrailsCacheGrailsPlugin - Class in grails.plugin.springsecurity.rest
SpringSecurityRestGrailsPlugin - Class in grails.plugin.springsecurity.rest
SpringSecurityRestMemcachedGrailsPlugin - Class in grails.plugin.springsecurity.rest
SpringSecurityRestRedisGrailsPlugin - Class in grails.plugin.springsecurity.rest
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

TokenGenerator - Interface in grails.plugin.springsecurity.rest.token.generation
Implementations of this interface must provide a token generation strategy
TokenNotFoundException - Class in grails.plugin.springsecurity.rest.token.storage
Thrown if the desired token is not found by the TokenStorageService
TokenReader - Interface in grails.plugin.springsecurity.rest.token.reader
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.

U

userDomainClassName() - Method in DefaultOauthUserDetailsService
UUIDTokenGenerator - Class in grails.plugin.springsecurity.rest.token.generation
Uses java.util.UUID to generate tokens.

V

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 _