org.axway.grapes.server.webapp.tasks
Class AddRoleTask
java.lang.Object
com.yammer.dropwizard.tasks.Task
org.axway.grapes.server.webapp.tasks.AddRoleTask
public class AddRoleTask
- extends com.yammer.dropwizard.tasks.Task
Add Role Task
At runtime, this task is able to add a role to Grapes user.
To add a user: POST :/addRole?user=&>role=
- Author:
- jdcoffre
| Methods inherited from class com.yammer.dropwizard.tasks.Task |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddRoleTask
public AddRoleTask(RepositoryHandler repoHandler)
execute
public void execute(com.google.common.collect.ImmutableMultimap<String,String> args,
PrintWriter printer)
throws com.yammer.dropwizard.auth.AuthenticationException,
UnknownHostException
- Specified by:
execute in class com.yammer.dropwizard.tasks.Task
- Throws:
com.yammer.dropwizard.auth.AuthenticationException
UnknownHostException
Copyright © 2014. All Rights Reserved.