Cusom identity asserter 구현시 주의사항

View Comments

Cusom identity asserter를 쿠키방식에서는 적용되지 않으나
헤더방식(토큰)에서는 필히 확인 할 것 

Pasted file 2
pasted-file-2.png 36.5 KB View full-size Download




위와 같이Base64 Decoding Require 옵션이  default True 이기 때문에
헤더값이 들어오면 Base64로 Decoding이 되어 올바른 인증값을 못받는 경우가 생긴다

SSO와 협의하여 인증토큰을 Base64로 보내달라고 하던가
Asserter.xml 에서 옵션을 조정 하면 된다

<MBeanAttribute 
  Name         = "Base64DecodingRequired" 
  Type         = "boolean" 
  Writeable    = "false" 
  Default      = "false" 
  Description  = "See MyIdentityAsserter-doc.xml." 
/>
위와 같은 옵션을 Asserter.xml에 추가하여 true,false를 조정하여 빌드 한 후 
사용한다.

2~3주간 삽질 지대로 했다! 

Comments (+add yours?)

Tracbacks (+view to the desc.)