(Quick Reference)

22 Miscellaneous Properties - Reference Documentation

Authors: Burt Beckwith, Beverley Talbott

Version: 1.2.7.3

22 Miscellaneous Properties

PropertyDefault ValueMeaning
activetrueWhether the plugin is enabled.
rejectIfNoRulefalse'strict' mode where an explicit grant is required to access any resource; if true make sure to allow IS_AUTHENTICATED_ ANONYMOUSLY for '/', '/js/**', '/css/**', '/images/**', '/login/**', '/logout/**', and so on.
anon.key'foo'anonymousProcessingFilter key.
anon.userAttribute'anonymousUser, ROLE_ANONYMOUS'anonymousProcessingFilter username and role.
atr.anonymousClassAnonymousAuthenticationTokenAnonymous token class.
useHttpSession EventPublisherfalseIf true, an HttpSession EventPublisher will be configured.
cacheUsersfalseIf true, logins are cached using an EhCache. See Account Locking and Forcing Password Change, under User Cache.
useSecurityEventListenerfalseIf true, configure SecurityEventListener. See Events.
dao.reflectionSalt SourcePropertynoneWhich property to use for the reflection-based salt source. See Salted Passwords
dao.hideUserNot FoundExceptionstrueif true, throws a new BadCredentialsException if a username is not found or the password is incorrect, but if false re-throws the UsernameNot FoundException thrown by UserDetailsService (considered less secure than throwing BadCredentialsException for both exceptions)
requestCache.onlyOnGetfalseWhether to cache only a SavedRequest on GET requests.
requestCache.createSessiontrueWhether caching SavedRequest can trigger the creation of a session.
authenticationDetails. authClassWebAuthenticationDetailsThe Authentication details class to use.
roleHierarchynoneHierarchical role definition. See Hierarchical Role Definition.
voterNames['authenticatedVoter', 'roleVoter']Bean names of voters. See Voters.
providerNames['daoAuthenticationProvider', 'anonymousAuthenticationProvider', 'rememberMeAuthenticationProvider']Bean names of authentication providers. See Authentication Providers.
securityConfigTypeType of request mapping to useOne of "Annotation", "Requestmap", or "InterceptUrlMap" (or the corresponding enum value from SecurityConfigType). See Configuring Request Mappings to Secure URLs.
controllerAnnotations. matcher'ant'Use an Ant-style URL matcher ('ant') or Regex ('regex').
controllerAnnotations. lowercasetrueWhether to do URL comparisons using lowercase.
controllerAnnotations. staticRulesnoneExtra rules that cannot be mapped using annotations.
interceptUrlMapnoneRequest mapping definition when using "InterceptUrlMap". See Simple Map in Config.groovy.
registerLoggerListenerfalseIf true, registers a LoggerListener that logs interceptor-related application events.