// Added by the Spring Security Core plugin:
grails.plugin.springsecurity.userLookup.userDomainClassName = 'org.lab2.security.User'
grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'org.lab2.security.UserRole'
grails.plugin.springsecurity.authority.className = 'org.lab2.security.Role'
// Aqui entra as alterações feitas por mim
grails.plugin.springsecurity.auth.loginFormUrl = '/areaRestrita/login' //Mostra qual a tela de login
rails.plugin.springsecurity.auth.afterLogoutUrl = '/areaRestrita/logout' //Mostra qual a tela de logout
grails.plugin.springsecurity.successHandler.defaultTargetUrl = '/contato/index' //Mostra qual URL chamada caso o login funcione
// Aqui termina minhas alterações
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
'/': ['permitAll'],
'/index': ['permitAll'],
'/index.gsp': ['permitAll'],
'/assets/**': ['permitAll'],
'/**/js/**': ['permitAll'],
'/**/css/**': ['permitAll'],
'/**/images/**': ['permitAll'],
'/**/favicon.ico': ['permitAll']
]
Since the bold line has been added by me to determine the form of login and logout, along with the home page when logging in. If someone has a solution, I'll be grateful for the help.