public static Map<String,String> compareAndGetState(String stateRecive,HttpSession session)
    {
        
    	Map<String,String> data = null;
    	String stateInSession = (String)session.getAttribute("state");
        if (stateInSession != null && stateInSession.equals(stateRecive)) {
            data = (Map<String,String>)JSON.parse(Base64.decodeBase64(stateRecive));
            
        } else {
        	logger.warn("session中的state:" + stateInSession 
        			+",url中的code：" +stateRecive);
        }
        return data;
    }