Re: Authentication exceptions in client

2018-03-02 Thread ilgrosso
PeeDub wrote > In a related question. I created a user and gave that user a basic ADMIN > role > on the "/" realm with only the "USER_CREATE" entitlement, and I get a > ForbiddenException (javax.ws.rs.ForbiddenException: Access is denied) for > that user. Should this user not be able to create a

Re: Authentication exceptions in client

2018-03-01 Thread PeeDub
In a related question. I created a user and gave that user a basic ADMIN role on the "/" realm with only the "USER_CREATE" entitlement, and I get a ForbiddenException (javax.ws.rs.ForbiddenException: Access is denied) for that user. Should this user not be able to create a user via the client?

Authentication exceptions in client

2018-03-01 Thread PeeDub
Hello, I tried creating a user by - creating a client with an incorrect token SyncopeClient client = getSyncopeClientFactory().create("gobbledygook"); - retrieving the service UserService service = client.getService(UserService.class); - invoking the call Response response =