新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Java SDK JWT authentication

新規投稿

コメント

2件のコメント

  • TheFelix

    In the web I found a hack to get around this problem.

     

            // hack for JCE Unlimited Strength
            Field field = Class.forName("javax.crypto.JceSecurity").getDeclaredField("isRestricted");
            field.setAccessible(true);
    
            Field modifiersField = Field.class.getDeclaredField("modifiers");
            modifiersField.setAccessible(true);
            modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL);
    
            field.set(null, false);
    0
    コメントアクション パーマリンク
  • scottdodds

    Thanks  for following up and posting the solution for others to see! Greatly appreciated!

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。