Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotation renamed. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/en/modules/robe-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ auth:
TokenBasedAuthBundle<T> authBundle = new TokenBasedAuthBundle<T>();
bootstrap.addBundle(authBundle);
```
* Use `@Auth` annotation to make your resource secure
* Use `@RobeAuth` annotation to make your resource secure

```java
@GET
@UnitOfWork
@Path("{id}")
public String get(@Auth Credentials credentials, @PathParam("id") String id) {
public String get(@RobeAuth Credentials credentials, @PathParam("id") String id) {
...
```
Now it is ready to control all request paths according to you provided stores. (Yes you will provide stores for user roles and permissions.)
Expand Down
4 changes: 2 additions & 2 deletions docs/tr/modules/robe-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ auth:
TokenBasedAuthBundle<T> authBundle = new TokenBasedAuthBundle<T>();
bootstrap.addBundle(authBundle);
```
* `@Auth` annotation ı ile servislerinizi güvenli hale getirin
* `@RobeAuth` annotation ı ile servislerinizi güvenli hale getirin

```java
@GET
@UnitOfWork
@Path("{id}")
public String get(@Auth Credentials credentials, @PathParam("id") String id) {
public String get(@RobeAuth Credentials credentials, @PathParam("id") String id) {
...
```
Artık istekler için kimlik doğrulamasını uyguladınız. Kullanıcı yetkileri ve izinleri üzerinden kontrolünüzü sağlamaya hazır.
Expand Down