今回は Jersey (JAX-RS) で作った WebAPI でアクセス制御を行う方法について書きます。 JAX-RS は J2EE の仕様である以上、アクセス制御をロール単位で行う点に変わりはありません。とはいえ、アプローチの方法は複数あります。主に 3 つです。 1. web.xml (など) で設定する 2. アクセス制御用のフィルタを使う 3. SecurityContext を元に自分でロジックを書く 上記 3 つやり方についてサンプルを元に解説します。 サンプル まずは web.xml です。 <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSc
サービス終了のお知らせ NAVERまとめは2020年9月30日をもちましてサービス終了いたしました。 約11年間、NAVERまとめをご利用・ご愛顧いただき誠にありがとうございました。
先日の #jawsug 福岡の会で、 https://twitter.com/#!/kaz_goto/status/167571575296634881 へーほーふー、知らなかったわーと思ってEBSのスナップショットだけにフォーカスして見ました。 記事 Amazon Elastic Block Store (EBS)->日本語 by AWS Feature Guide: Elastic Block Store ->英語 by AWS Amazon's Elastic Block Store explained ->英語 by RightScale About Elastic Block Store (EBS) ->英語 by RightScale 今更感なEBSの機能おさらい☆ 外付け出来るブロックストレージ 1Gから1Tまでのストレージ領域を作成出来る 同じアベーラビリティゾーン内のイン
Document your API with Style Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters and models are tightly integrated into the server code, allowing APIs
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く