spring-security: manually log out selected users

ison

New member
As a application administrator I would like to be able to log off any user, for example, after setting the flag "enabled = false" to the selected user. Is it possible in spring-security?

I should add that my application allows the use of "remember Me" for users.

I'm using:
grails 2.2.1
plugin spring-security-core 1.2.7.3

Settings spring-security-core (config.groovy):

grails.plugins.springsecurity.useHttpSessionEventPublisher = true
grails.plugins.springsecurity.useSessionFixationPrevention = true
grails.plugins.springsecurity.userLookup.userDomainClassName = 'com.app.User'
grails.plugins.springsecurity.userLookup.authorityJoinClassName = 'com.app.UserRole'
grails.plugins.springsecurity.authority.className = 'com.app.Role'
grails.plugins.springsecurity.userLookup.usernamePropertyName = 'email'

grails.plugins.springsecurity.securityConfigType = "Requestmap"
grails.plugins.springsecurity.rejectIfNoRule = true
grails.plugins.springsecurity.requestMap.className='com.app.Requestmap'
grails.plugins.springsecurity.requestMap.urlField='url'
grails.plugins.springsecurity.requestMap.configAttributeField='configAttribute'
grails.plugins.springsecurity.rememberMe.cookieName = 'remember_me'
grails.plugins.springsecurity.cacheUsers = false
grails.plugins.springsecurity.rememberMe.tokenValiditySeconds=604800


Has anyone had a similar problem may be?
thank you in advance :)
 
Top