spring security with velocity? -


i have application pages not in jsp velocity, , isn't running spring either... want integrate spring security it, couldn't find documentation... searcher in springsource documentation documentation, couldn't find do.is possible start with? if so, how can it?

i tried prepare spring-security-context.xml

   <beans:beans xmlns="http://www.springframework.org/schema/security"   xmlns:beans="http://www.springframework.org/schema/beans"   xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xmlns:context="http://www.springframework.org/schema/context"   xsi:schemalocation="http://www.springframework.org/schema/beans            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd            http://www.springframework.org/schema/context            http://www.springframework.org/schema/context/spring-context-3.0.xsd            http://www.springframework.org/schema/security            http://www.springframework.org/schema/security/spring-security-3.1.xsd">  <http pattern="/app/template/login.vm" security="none" /> <http  auto-config="false" use-expressions="true" >  <form-login login-page="/app/template/login.vm/" username-parameter="loginname" password-parameter="password"                 login-processing-url="/app/template/login.vm"                 default-target-url="/app/template/home.vm" />  </http>   <authentication-provider>       <user-service>         <user name="xx" password="123" authorities="role_user, role_admin" />         <user name="yy" password="456" authorities="role_user" />       </user-service>     </authentication-provider>   </authentication-manager> </beans:beans> 

--thank help

there's nothing @ stop using spring security provide method-level security in project uses velocity template egine. 2 technologies play happily together. in fact, years ago, original author, ben alex, used tell students @ training courses how preferred velocity on jsp.

if wanted spring mvc framework, supports velocity template engine.

to give insights spring core consists of following:

  • a design pattern - dependency injection
  • a programming paradigm - aspect oriented programming

in providing rails around above, core useful in own right. serves foundation other portfolio products spring mvc , spring security.

i highly recommend book spring in action, getting started.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -