비빔국수
851
2015-10-08 16:00:55
0
1926

공공아이핀 질문입니다.


안녕하세요.


공공아이핀을 적용하려고 합니다.


개발서버는 윈도우 2008서버였습니다.


거기서는 매뉴얼대로 해서 적용잘해보고 운영서버 적용하려고 합니다.


운영서버는 리눅스입니다. 


일단 매뉴얼대로 파일위치시키고 테스트를 해보니 공공아이핀 창은 뜨는데 끝에 가서 "수신받은 인증값이 없습니다." 라고 팝업이 뜹니다.


그래서 로그를 살펴봤더니 

org.apache.xml.security.exceptions.Base64DecodingException: Error while decoding

	at org.apache.xml.security.utils.Base64.decodeInternal(Base64.java:578)

	at org.apache.xml.security.utils.Base64.decode(Base64.java:490)

	at gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseSAMLResponse(SAMLMessageHandler.java:503)

	at gov.mogaha.gpin.sp.proxy.GPinProxy.parseSAMLResponse(GPinProxy.java:86)

	at org.apache.jsp.G_002dPIN.ServiceResponse_jsp._jspService(ServiceResponse_jsp.java:93)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at com.gwanak.edu.utils.xssFilter.doFilter(xssFilter.java:43)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)

	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

	at java.lang.Thread.run(Thread.java:636)

2015-10-06 16:53:06,641 [TP-Processor7] ERROR gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseUserAttribute(SAMLMessageHandler.java:589) - 응답메시지를 분석하는데 실패했습니다.

com.etri.saml2.exceptions.SAMLProtocolException

	at com.etri.saml2.protocol.profiles.SAMLSSOResponse.<init>(SAMLSSOResponse.java:162)

	at gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseUserAttribute(SAMLMessageHandler.java:585)

	at gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseSAMLResponse(SAMLMessageHandler.java:509)

	at gov.mogaha.gpin.sp.proxy.GPinProxy.parseSAMLResponse(GPinProxy.java:86)

	at org.apache.jsp.G_002dPIN.ServiceResponse_jsp._jspService(ServiceResponse_jsp.java:93)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at com.gwanak.edu.utils.xssFilter.doFilter(xssFilter.java:43)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)

	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

	at java.lang.Thread.run(Thread.java:636)

com.etri.saml2.exceptions.SAMLProtocolException

	at com.etri.saml2.protocol.profiles.SAMLSSOResponse.<init>(SAMLSSOResponse.java:162)

	at gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseUserAttribute(SAMLMessageHandler.java:585)

	at gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseSAMLResponse(SAMLMessageHandler.java:509)

	at gov.mogaha.gpin.sp.proxy.GPinProxy.parseSAMLResponse(GPinProxy.java:86)

	at org.apache.jsp.G_002dPIN.ServiceResponse_jsp._jspService(ServiceResponse_jsp.java:93)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at com.gwanak.edu.utils.xssFilter.doFilter(xssFilter.java:43)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)

	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

	at java.lang.Thread.run(Thread.java:636)

2015-10-06 16:53:06,643 [TP-Processor7] INFO  gov.mogaha.gpin.sp.common.SAMLMessageHandler.parseSAMLResponse(SAMLMessageHandler.java:510) - END

2015-10-06 16:53:06,643 [TP-Processor7] ERROR gov.mogaha.gpin.sp.proxy.GPinProxy.parseSAMLResponse(GPinProxy.java:89) - 응답을 분석하는데 실패했습니다.


이렇게 나옵니다.


해당 라이브러리를 넣어줬는데도 자꾸 이런 에러가 발생해서 난감합니다.


혹시 해결하신 분 계신가요??


조언 부탁드립니다.


수고하세요.

0
  • 답변 0

  • 로그인을 하시면 답변을 등록할 수 있습니다.