Quantcast
Channel: Spring Community Forums - Security
Browsing index pages (284 articles)

how to customize filters when using http namespace

I'm finding it difficult to make simple customization to default fiters when I use http namespace. For example, I simply want to set forceEagerSessionCreation to true on the...

View Article


Regd CSRF support.

Hi everyone, I have been using Spring MVC & Spring Security for quite some time now. For configuration of Spring Security I created beans for each individual filter and I am using it as shown...

View Article


Logout link not found with 3.2.0.RC1

Hi guys, I just updated to Spring Security 3.2.0.RC1 and the logout link stopped working :( .. It's all working fine with 3.2.0.M2, but not with the latest RC. I am using the java configuration so I...

View Article

SAML login + additional authenticate with custom authentication manager

I have a use case to login a user via SAML, then populate the authentication with an existing authentication provider (extends DaoAuthenticationProvider). Looking at ProviderManager code, it calls the...

View Article

Spring security and RSA secureID

Hello guys, I am looking for some information about how to integrate Spring security and RSA secureId. Is it currently supported? could you point me some link to the documentation? Thanks in advance

View Article


How to change ObjectIdentity naming policy?

I want to integrate ACL to my Spring MVC application based on a database. Everything works fine but I would like to change org.springframework.security.acls.domain.ObjectIde ntityImpl policies for...

View Article

How to access Spring Security port mappings from java

I have custom http/https port mappings in my Spring Security config.xml, typically we use different ports on different environments, 8080/8443 on localhost and pretty much anything else on QA or...

View Article

Roled Based Access Control Model

Hi there, I'm a fresher in building security problems.Now I am developing a project based on RBAC model,and I choose Spring Security 3 to implement it. It's known that every role has its permissions in...

View Article


ACL denying user on collection objects

I want to integrate ACL to my Spring MVC application. It is based on this tutorial, it uses a database. I use service/dao layer model and my services/dao's are based on generic service/dao class. I...

View Article


UsernamePasswordAuthenticationFilter sending snippet as a response

Hi Friends, I have implemented spring ldapSecuirty by using UsernamePasswordAuthenticationFilter with Extjs. I am able to authenticate successfully, but i am facing very strange problem i am not able...

View Article

sessionRegistry.getAllPrincipals() return empty

hi everybody, the problem when I integrate spring mvc3.1 with spring security3.1 is I can not get all login users by sessionRegistry.getAllPrincipals() ,because this method aways return empty. anybody...

View Article

How I Create dynamically ACL spring Security

hello I want to add security for my webApp with this properties: 1.Secure url ,xhtmls and java Objects(domain and methods) 2.And possible to add users and role in Database 3.And secure object...

View Article

Spring security, integrating Facebook authentication into restful basic auth

I am developing the server side for a mobile application as per below: - I'm using Spring MVC framework and I have already implemented BASIC AUTHENTICATION for restful requests (using JSON) as per code...

View Article


Does sample OpenID code need CSRF protection?

Reading about the new CSRF protection in 3.2.0.RC1 [1], does CSRF protection need to be added to the sample OpenID login code? Our new site is based off the sample XML site, so to make sure we're well...

View Article

REST API Authentication with OpenID/OAuth

Has anyone got any advice on how to secure a stateless REST API with OpenID and Spring Security ? Not expecting a complete solution here, but even a few pointers would be appreciated. Problem ===== I...

View Article


Session expiry directs to invalid-session-url even with RememberMe cookie

Hi, I posted a problem on Stackoverflow (http://stackoverflow.com/questions/1...n-with-remembe) I have with session expiry redirecting users to the invalid-session-url in a rememberMe cookie scenario....

View Article

Spring Security RC1 Java Config not working for Hessian Remoting ?

Hi, I'm trying to secure a server that uses Hessian Remoting with Spring Security and Java Configuration. I've created a small isolated integration test to play with it:...

View Article


[OAuth 1.0] OAuthProviderTokenServices custom implementation

Hi, I'm triying to implement a custom OAuthProviderTokenServices in order to store tokens in a database. All I got from the docs is: Quote: When creating your OAuthProviderTokenServices implementation,...

View Article

RunAs Authentication Replacement for ACL?

I have been trying to determine how to grant object access to users via an invitation but Spring Security doesn't appear to have any sort of capability to handle this design. What I want to do is to...

View Article

Spring authentication using multiple datasources

I would like to know how can i use multiple datasources to do authentication and authorization with Spring security. Currently, I am using only one database to provide user authentication. I am on...

View Article
Browsing index pages (284 articles)


Latest Images