Changing the Spring Security Core and Groovy Grails login form

Asked

Viewed 258 times

2

Good afternoon, I made a change in my application to use my login form instead of the standard Spring Security Core, the redirect is occurring normally, however when clicking the Login button nothing occurs. Follow the code of my form below:

<from action='${request.contextPath}/j_spring_security_check' method="POST" name="logar" id="logar" class="form-horizontal">
        <div class="control-group">
            <label class="control-label" for="username">Email</label>
            <div class="controls">
                <input type="text"  placeholder="Email" name="j_username" id="username">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="password">Senha</label>
            <div class="controls">
                <input type="password"  placeholder="Senha" name="j_password" id="password">
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <label class="checkbox">
                    <input type="checkbox"> Lembre-se de mim
                </label>
                <input type="submit" class="btn" value="Entrar" />
            </div>
        </div>
    </from>

Any suggestions ?

  • 1

    Personal I even found the solution, the grails allows us to edit the application with the same running however it seems that this does not work very well with the plugin spring security core I simply stopped the application and started again worked perfectly.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.