spring securit3.x y integration with wicket 6.7.0 -
i new wicket , springsecurity. configured spring security follows.
<http create-session="never" auto-config="true"> <remember-me /> <http-basic /> <intercept-url pattern="/**" requires-channel="https" /> <!-- <form-login login-page="/admin"/> <logout invalidate-session="true" logout-url="/j_spring_security_logout" logout-success-url="/admin" delete-cookies="jsessionid"/> --> <session-management session-fixation-protection="migratesession"> <concurrency-control max-sessions="1" error-if-maximum-exceeded="true" /> </session-management> </http> <authentication-manager alias="authenticationmanager"> <authentication-provider user-service-ref="userdetailsservice"></authentication-provider> </authentication-manager> <global-method-security secured-annotations="enabled" />
i have extended authenticatedwebsession doing authentication in extended class.
my questions :
- how can configure form based authentication.
- how can configure session management.
- how can configure single sign in per user (here if user try login same user want invalidate session of previous logged in user. )
- need reference manual on spring security integration wicket.
please let me know if missing anything.
you can have @ following working example on wicket / spring-security integration on github: https://github.com/thombergs/wicket-spring-security-example.
your questions little vague helpful answer, i'd suggest yoiu have @ example on github , ask again if have problems.
regards, tom
Comments
Post a Comment