Skip to content

Commit

Permalink
minor change in jaxrs page
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemers committed Dec 12, 2016
1 parent 555d49a commit 8467671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The `ShiroFeature` does three things:

* configures exception mapping from Shiro's `AuthorizationException` to HTTP status codes (401 and 403)
* exposes Shiro's `Subject` as a `java.security.Principal`
* Configures processing of Shiro's annotations.
* Configures processing of Shiro's annotations

In the above example, requests to either `/api/shiro` or `/api/shiro/define` will return an HTTP status of `401` if a user is not currently logged in. A request to `/api/shiro/define` made by a user without the `hello:define` will return a `403`.

Expand Down

0 comments on commit 8467671

Please sign in to comment.