public JwtBuilder claim ( Map < String , Object > map ) throws InvalidClaimException { // if (map == null) { // String err = Tr.formatMessage(tc, "JWT_INVALID_CLAIMS_ERR");// "JWT_INVALID_CLAIMS_ERR"; // throw new InvalidClaimException(err); // } builder = builder . claim ( map ) ; return this ; //return copyClaimsMap(map); // claims.putAll(map); // return this; }
Sets the specified claims .