diff --git a/docs/en/modules/robe-auth.md b/docs/en/modules/robe-auth.md index ea91f519..1dda70e3 100644 --- a/docs/en/modules/robe-auth.md +++ b/docs/en/modules/robe-auth.md @@ -40,13 +40,13 @@ auth: TokenBasedAuthBundle authBundle = new TokenBasedAuthBundle(); 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.) diff --git a/docs/tr/modules/robe-auth.md b/docs/tr/modules/robe-auth.md index df542f52..d093f771 100644 --- a/docs/tr/modules/robe-auth.md +++ b/docs/tr/modules/robe-auth.md @@ -44,13 +44,13 @@ auth: TokenBasedAuthBundle authBundle = new TokenBasedAuthBundle(); 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.