Doesn't retrieve data from identity selector, when there's no input for one of 
the required cliams.
---------------------------------------------------------------------------------------------------

                 Key: IDENTITY-188
                 URL: https://wso2.org/jira/browse/IDENTITY-188
             Project: WSO2 Identity Solution
          Issue Type: Bug
          Components: java-relying-party-servlet-filter
         Environment: WinXP, JDK1.5, IE7
            Reporter: Yumani Ranaweera
            Assignee: Ruchith Fernando



Steps:
------
1. From IS admin console make a claim 'supported' (e.g. make Mobile No within 
http://schemas.xmlsoap.org/ws/2005/05/identity "supported")

2. Map the claim

3. Go to $IS_HOME\lib\tomcat\webapps\javarp and change the index.html to make 
the above claim a 'required cliam'

4. Go to $IS_HOME\lib\tomcat\webapps\javarp and change the login.jsp to add 
this claim in javarp
if(auth != null && TokenVerifierConstants.STATE_SUCCESS.equals(auth)) {
String givenName = 
(String)request.getAttribute(IdentityConstants.CLAIM_GIVEN_NAME);
String surname = (String)request.getAttribute(IdentityConstants.CLAIM_SURNAME);
String email = 
(String)request.getAttribute(IdentityConstants.CLAIM_EMAIL_ADDRESS);
String mobile = 
(String)request.getAttribute("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobile";);


4. From Identity Provider, sign-up a new user without entering any value to 
mobile no.

5. Download a manged card from this user login.

6. Go to javarp and retrieve the information of the above card from the 
identity selector.


Issue:
------
In the step 6 above it doesn't retieve data for all mandatory fields.
If you send the information from the identity selector, javarp returns a null 
for mobile number and correct data for other fields.

The same issue is handled in Open ID by blocking the card at identity selector.

-- 
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

Reply via email to