Groovy Documentation
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 com.odobo.grails.plugin.springsecurity.rest.credentials
Base class for JSON-based credentials extractors.
AbstractJsonPayloadCredentialsExtractor() - Constructor in AbstractJsonPayloadCredentialsExtractor
authenticate(Authentication) - Method in RestAuthenticationProvider
Returns an authentication object based on the token value contained in the authentication parameter.
authenticationDetailsSource - Property in RestAuthenticationFilter
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

B


C

CredentialsExtractor - Interface in com.odobo.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

D

DefaultJsonPayloadCredentialsExtractor - Class in com.odobo.grails.plugin.springsecurity.rest.credentials
Extracts credentials from a JSON request like: {"username": "foo", "password": "bar"}
DefaultJsonPayloadCredentialsExtractor() - Constructor in DefaultJsonPayloadCredentialsExtractor
DefaultRestAuthenticationTokenJsonRenderer - Class in com.odobo.grails.plugin.springsecurity.rest.token.rendering
Generates a JSON response like the following: {"username":"john.doe","token":"1a2b3c4d","roles":["ADMIN","USER"]}
DefaultRestAuthenticationTokenJsonRenderer() - Constructor in DefaultRestAuthenticationTokenJsonRenderer
description - Property in SpringSecurityRestGrailsPlugin
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

endpointUrl - Property in RestAuthenticationFilter
endpointUrl - Property in RestLogoutFilter
endpointUrl - Property in RestTokenValidationFilter
expiration - Property in MemcachedTokenStorageService
Expiration in seconds
extractCredentials(HttpServletRequest) - Method in CredentialsExtractor
extractCredentials(HttpServletRequest) - Method in DefaultJsonPayloadCredentialsExtractor
extractCredentials(HttpServletRequest) - Method in RequestParamsCredentialsExtractor

F

findExistingToken(String) - Method in GormTokenStorageService
findExistingUserDetails(String) - Method in MemcachedTokenStorageService

G

generateJson(RestAuthenticationToken) - Method in DefaultRestAuthenticationTokenJsonRenderer
generateJson(RestAuthenticationToken) - Method in RestAuthenticationTokenJsonRenderer
generateToken() - Method in SecureRandomTokenGenerator
Generates a token using java.security.SecureRandom, a cryptographically strong random number generator.
generateToken() - Method in TokenGenerator
Generates a globally unique token.
generateToken() - Method in UUIDTokenGenerator
Generates a UUID based token
getJsonBody(HttpServletRequest) - Method in AbstractJsonPayloadCredentialsExtractor
GormTokenStorageService - Class in com.odobo.grails.plugin.springsecurity.rest.token.storage
GORM implementation for token storage.
GormTokenStorageService() - Constructor in GormTokenStorageService
grailsApplication - Property in GormTokenStorageService
Dependency injection for the application.
grailsVersion - Property in SpringSecurityRestGrailsPlugin

H

headerName - Property in RestLogoutFilter
headerName - Property in RestTokenValidationFilter

I

issueManagement - Property in SpringSecurityRestGrailsPlugin

J


K


L

license - Property in SpringSecurityRestGrailsPlugin
loadAfter - Property in SpringSecurityRestGrailsPlugin
loadUserByToken(String) - Method in GormTokenStorageService
loadUserByToken(String) - Method in MemcachedTokenStorageService
loadUserByToken(String) - Method in TokenStorageService
Returns a UserDetails object given the passed token value

M

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

N


O

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

passwordParameter - Property in RequestParamsCredentialsExtractor
pluginExcludes - Property in SpringSecurityRestGrailsPlugin
processFilterChain(ServletRequest, ServletResponse, FilterChain, String) - Method in RestTokenValidationFilter

Q


R

random - Property in SecureRandomTokenGenerator
removeToken(String) - Method in GormTokenStorageService
removeToken(String) - Method in MemcachedTokenStorageService
removeToken(String) - Method in TokenStorageService
Removes a token from the storage.
renderer - Property in RestAuthenticationSuccessHandler
RequestParamsCredentialsExtractor - Class in com.odobo.grails.plugin.springsecurity.rest.credentials
Extracts credentials from request parameters
RequestParamsCredentialsExtractor() - Constructor in RequestParamsCredentialsExtractor
RestAuthenticationFailureHandler - Class in com.odobo.grails.plugin.springsecurity.rest
Sets the configured status code.
RestAuthenticationFailureHandler() - Constructor in RestAuthenticationFailureHandler
RestAuthenticationFilter - Class in com.odobo.grails.plugin.springsecurity.rest
This filter starts the initial authentication flow.
RestAuthenticationFilter() - Constructor in RestAuthenticationFilter
RestAuthenticationProvider - Class in com.odobo.grails.plugin.springsecurity.rest
Authenticates a request based on the token passed.
RestAuthenticationProvider() - Constructor in RestAuthenticationProvider
restAuthenticationProvider - Property in RestTokenValidationFilter
RestAuthenticationSuccessHandler - Class in com.odobo.grails.plugin.springsecurity.rest
Generates a JSON response using a RestAuthenticationTokenJsonRenderer.
RestAuthenticationSuccessHandler() - Constructor in RestAuthenticationSuccessHandler
RestAuthenticationToken - Class in com.odobo.grails.plugin.springsecurity.rest
Holds the API token, passed by the client via a custom HTTP header
RestAuthenticationToken(String, Collection) - Constructor in RestAuthenticationToken
RestAuthenticationTokenJsonRenderer - Interface in com.odobo.grails.plugin.springsecurity.rest.token.rendering
Generates a JSON representation of a org.springframework.security.core.userdetails.UserDetails object.
RestLogoutFilter - Class in com.odobo.grails.plugin.springsecurity.rest
Filter exposing an endpoint for deleting tokens.
RestLogoutFilter() - Constructor in RestLogoutFilter
RestTokenValidationFilter - Class in com.odobo.grails.plugin.springsecurity.rest
This filter starts the token validation flow.
RestTokenValidationFilter() - Constructor in RestTokenValidationFilter

S

scm - Property in SpringSecurityRestGrailsPlugin
SecureRandomTokenGenerator - Class in com.odobo.grails.plugin.springsecurity.rest.token.generation
A TokenGenerator implementation using java.security.SecureRandom
SecureRandomTokenGenerator() - Constructor in SecureRandomTokenGenerator
SpringSecurityRestGrailsPlugin - Class in SpringSecurityRestGrailsPlugin
SpringSecurityRestGrailsPlugin() - Constructor in SpringSecurityRestGrailsPlugin
statusCode - Property in RestAuthenticationFailureHandler
Configurable status code, by default: conf.rest.login.failureStatusCode?
storeToken(String, UserDetails) - Method in GormTokenStorageService
storeToken(String, UserDetails) - Method in MemcachedTokenStorageService
storeToken(String, UserDetails) - Method in TokenStorageService
Stores a token.
supports(Class) - Method in RestAuthenticationProvider

T

title - Property in SpringSecurityRestGrailsPlugin
TokenGenerator - Interface in com.odobo.grails.plugin.springsecurity.rest.token.generation
Implementations of this interface must provide a token generation strategy
tokenGenerator - Property in RestAuthenticationFilter
TokenNotFoundException - Class in com.odobo.grails.plugin.springsecurity.rest.token.storage
Thrown if the desired token is not found by the TokenStorageService
TokenNotFoundException(String) - Constructor in TokenNotFoundException
TokenStorageService - Interface in com.odobo.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
tokenValue - Property in RestAuthenticationToken

U

userDetailsService - Property in GormTokenStorageService
usernameParameter - Property in RequestParamsCredentialsExtractor
UUIDTokenGenerator - Class in com.odobo.grails.plugin.springsecurity.rest.token.generation
Uses java.util.UUID to generate tokens.
UUIDTokenGenerator() - Constructor in UUIDTokenGenerator

V

version - Property in SpringSecurityRestGrailsPlugin

W


X


Y


Z


_


Groovy Documentation