[RESOLVIDO] Spring Security 3 - required não funciona

Boa tarde pessoal,

estou com um problema no login. Estou utilizando Spring Security 3. Coloquei os campos login e senha, como obrigatório, porém, ele deixa prosseguir mesmo assim.

Alguém sabe o que está errado?

[code]

<?xml version="1.0" encoding="UTF-8"?> BPP
<style type="text/css">

.ui-dialog .ui-dialog-titlebar {
display: none !important;
}

.ui-widget-content {
color: white;
}

</h:head>

<h:body
style=“background: url(‘resources/images/login/fundo_login.png’) no-repeat center center fixed; webkit-background-size: cover; moz-background-size: cover; -o-background-size: cover; background-size: cover;”>
<f:loadBundle
basename=“message_#{applicationBean.configProperties[‘web_idioma_inicial’]}”
var=“msgs” />
<p:dialog modal=“true” closable=“false” position=“center”
style=“background-color:#1F6794; border:none” widgetVar=“modalLogin”
minWidth=“250” width=“250” height=“150” draggable=“false”
resizable=“false” visible=“true”>

	<div style="text-align: center;">
		<p:messages id="mensagens" showDetail="true" showSummary="false" />
		<h:outputText style="color: red;"
			value="#{SPRING_SECURITY_LAST_EXCEPTION.message}" />

		<form action="${request.contextPath}/j_spring_security_check"
			method="post">

			<h:panelGrid columns="2">

				<h:column>
					<h:outputLabel styleClass="espacamento" value="#{msgs.global_email}:" />
				</h:column>
				<h:column>
					<h:inputText id="j_username" styleClass="espacamento" size="15" required="true"  requiredMessage="Favor preencher o login."/>
				</h:column>

				<h:column>
					<h:outputLabel styleClass="espacamento" value="#{msgs.global_password}:" />
				</h:column>
				<h:column> 
					<h:inputSecret styleClass="espacamento" id="j_password" size="15" required="true" requiredMessage="Favor preencher a senha." />
				</h:column>
			</h:panelGrid>
			<h:commandButton styleClass="btn_login" type="submit"  value="#{msgs.web_login_login}" />
		</form>
	</div>
</p:dialog>

</h:body>

[/code]