Getting password and username in spring -
have configuration fails build in netbeans please missing. using wicket
<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi= "http://www.w3.org/2001/xmlschema-instance" xmlns:security="http://www.springframework.org/schema/security" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-3.0.xsd"> <security:authentication-manager alias="authenticationmanager"> <authentication-provider> <jdbc-user-service data-source-ref="datasource" users-by-username-query="select username,password registration username=? , password = ?" /> </authentication-provider> </security:authentication-manager> <security:global-method-security secured-annotations="enabled" /> </beans>
Comments
Post a Comment