Announcement Announcement Module
Collapse
No announcement yet.
Spring Social and Spring Security Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Social and Spring Security

    I thought Spring Social was based on the early Spring Security Facebook integration, and that all of the oatuh/login would be integrated/exposed via the Spring Security framework.

    Are there any plans to provide this level of integration?

  • #2
    Hi Jabberz, see this thread http://forum.springsource.org/showthread.php?t=105565 Nothing offical though, but maybe helpful.

    Comment


    • #3
      Security

      I have my signin controller in social working and signin method of singinservice doesn't do anything :

      Code:
      public void signIn(String accountId) {
      		ArrayList<GrantedAuthority> roles = new ArrayList<GrantedAuthority>();
      		roles.add(new GrantedAuthorityImpl("ROLE_USER"));
      		SecurityContextHolder.getContext().setAuthentication(new FacebookAuthenticationToken(accountId, null, roles));
      		
      	}

      What is the best way to mark the user as authenticated from spring social??

      Comment


      • #4
        Originally posted by sfussenegger View Post
        Hi Jabberz, see this thread http://forum.springsource.org/showthread.php?t=105565 Nothing offical though, but maybe helpful.
        I read information from this link really good.
        Thanks for sharing this informative link.

        Comment

        Working...
        X