JAX-RRは許可を得てより多くのデータを入手します
-
21-12-2019 - |
質問
私はJavaとGlassFishを使ってRESTful Webサービスを書いています。web.xmlを介して特定のURLをロックすることができます。 これで、ユーザーが許可されているかどうかを変更するリソースを変更したいです。例:
**Request:**
exampleuser/information
GET without BASIC Auth
**Response:**
username: example user
email: example@user.com
**Request:**
exampleuser/information
GET with BASIC Auth as exampleuser
**Response:**
username: example user
email: example@user.com
born: 1.1.1111
password: test
.
だから私はどういうわけか私は他の情報を返したいという承認され、それに基づいている場合には、方法でチェックインしたいです。それはどうですか?
解決
このリンクによると、
所属していません StackOverflow