We should not be changing case behind the scenes 

/Chris
+1.678.431.1656


> On Oct 10, 2013, at 8:03, Dinusha Senanayaka <[email protected]> wrote:
> 
> Hi,
> 
> In APIM, we store the userName of subscribers as they given in the signUp.. 
> But in identity.oauth, when storing a new access token, it stores the 
> userName by converting to lower case.. check the code segment [1].  We are 
> facing some issues due to this inconsistency.. Is there any specific reason 
> to do it like that ? What should be the correct way of storing the userName 
> (Shouldn't it be consistence across the platform )?  
> 
> [1]
> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.java --> storeAccessToken()
> 
> prepStmt.setString(4, accessTokenDO.getAuthzUser().toLowerCase());  
> 
> Regards,
> Dinusha.
> 
> -- 
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to