Error when trying to login from 'OpenID Attribute Exchange' when atleast one
attribute in openID profile is missing
-------------------------------------------------------------------------------------------------------------------
Key: IDENTITY-186
URL: https://wso2.org/jira/browse/IDENTITY-186
Project: WSO2 Identity Solution
Issue Type: Bug
Components: java-relying-party-servlet-filter
Affects Versions: Current (Nightly)
Environment: WinXP, JDK1.5
Reporter: Yumani Ranaweera
Assignee: Prabath Siriwardena
Priority: Critical
Error when trying to login from 'OpenID Attribute Exchange' when atleast one
attribute in openID profile of the other endpoint is missing
Steps:
------
1. Create an openid account in 'myOpenId' without entering data to one of the
fields in personal profile
2. Go to javarp (https://localhost:12443/javarp/index.html)>> OpenID Attribute
Exchange Demo
3. Give the OpenID Url
4. Check the 'Use http://schema.openid.net' check box
5. Login
Issue:
------
It gives the error below;
ERROR [2008-03-18 14:30:39,781] Error in token verification
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at
org.wso2.solutions.identity.relyingparty.openid.extensions.OpenIDAttributeExchange.setSessionAttributes(OpenIDAttributeExchange.java:137)
at
org.wso2.solutions.identity.relyingparty.openid.OpenIDConsumer.setSessionAttributes(OpenIDConsumer.java:123)
at
org.wso2.solutions.identity.relyingparty.servletfilter.RelyingPartyFilter.doFilter(RelyingPartyFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev