Results 1 to 2 of 2

Thread: user login problem with multiple domains

  1. #1
    Join Date
    Feb 2012
    Posts
    3

    Default user login problem with multiple domains

    hi,
    we are using spring security for our project,and it is working fine.i want to modify spring security a little bit according to my requirements but i was unable to make it.we have multiple domains in our project so for each and every domain the user need to be authenticated.
    Spring Security Behaviour is: if the user is authenticated using one domain,the user is saved in cache,and for the other domain it is not authenticating the user and getting the user from the cache and displaying the user but how i need to modify it.

    eg:http://localhost:8080/ProjectName?domain=1

    the user is authenticated successfully for first time


    eg:http://localhost:8080/ProjectName?domain=2

    Now the user is brought from cache

    so what i need to do here.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    As I already replied on your earlier attempt it has nothing to do with Spring Security but with the browser and the shared session state. If you want to change this you will need to reimplement some of the Spring Security classes.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •