org.jclouds.openstack.keystone.v2_0.extensions
Interface UserAdminAsyncApi


@Beta
public interface UserAdminAsyncApi

Provides asynchronous access to Users Administration actions.

See Also:
UserAdminApi

Method Summary
 com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name, String password)
          Creates a new user
 com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name, String password, CreateUserOptions options)
          Creates a new user
 com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
          Deletes an user.
 com.google.common.util.concurrent.ListenableFuture<? extends User> update(String id, UpdateUserOptions options)
          Updates an user
 

Method Detail

create

@Named(value="user:create")
com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name,
                                                                                String password)
Creates a new user

Returns:
the new user

create

@Named(value="user:create")
com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name,
                                                                                String password,
                                                                                CreateUserOptions options)
Creates a new user

Returns:
the new user

delete

@Named(value="user:delete")
com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
Deletes an user.

Returns:
true if successful

update

@Named(value="user:updateuser")
com.google.common.util.concurrent.ListenableFuture<? extends User> update(String id,
                                                                                UpdateUserOptions options)
Updates an user

Returns:
the updated user


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.