public class Capability extends Object
Capability is a portion of the OAuth scope and represents
the permission to invoke a specific set of operations defined by
cloud resource types.| Constructor and Description |
|---|
Capability(String uri) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
to(CloudResource cr) |
String |
to(URL resource)
Convenience method to create OAuth scope string representation of this capability to a cloud
resource at the given URL.
|
String |
toAll()
Creates a scope string that represents this capability on any node.
|
String |
toString() |
public Capability(String uri)
public String to(URL resource)
public String toAll()
public String to(CloudResource cr)
Copyright © 2011-2015. All Rights Reserved.