본문 바로가기

Java

Spring Security가 Session에 넣은 내용들

1. 확인 방법


2. 출력 내용들

name = SPRING_SECURITY_CONTEXT , value = org.springframework.security.core.context.SecurityContextImpl@b6b02800: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@b6b02800: Principal: org.springframework.security.core.userdetails.User@a4c850a4: Username: tazz001; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_USER; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 6A00D615E835002CF2E182EF7C229666; Granted Authorities: ROLE_USER

authentication : org.springframework.security.authentication.UsernamePasswordAuthenticationToken@b6b02800: Principal: org.springframework.security.core.userdetails.User@a4c850a4: Username: tazz001; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_USER; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 6A00D615E835002CF2E182EF7C229666; Granted Authorities: ROLE_USER

principal : org.springframework.security.core.userdetails.User@a4c850a4: Username: tazz001; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_USER

details : org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 6A00D615E835002CF2E182EF7C229666

username : tazz001

password : 111111

'Java' 카테고리의 다른 글

java.util.Date 에 원하는 날짜 넣기  (0) 2011.06.30
log 찍기 생활화 System.out.println 탈출  (0) 2011.05.06
게시판 Paging Source Code  (0) 2011.04.11
Custom Tag  (0) 2011.02.18
결론 ibatis insert 리턴은 null 입니다.  (0) 2011.02.17