fixed name to Identity

This commit is contained in:
Adrian Cole 2010-06-28 05:27:01 -07:00
parent 05d4b19fdd
commit 8df7468af3
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public interface RestContext<S, A> {
URI getEndpoint();
String getPrincipal();
String getIdentity();
String getProvider();

View File

@ -87,7 +87,7 @@ public class RestContextImpl<S, A> implements RestContext<S, A> {
}
@Override
public String getPrincipal() {
public String getIdentity() {
return identity;
}

View File

@ -90,7 +90,7 @@ public class GetPath {
String path = container + "/" + directory;
InputStreamMap map = context.createInputStreamMap(path);
System.out.printf("fetching %d entries from %s %s%n", map.size(), context
.getProviderSpecificContext().getPrincipal(), path);
.getProviderSpecificContext().getIdentity(), path);
for (Entry<String, InputStream> entry : map.entrySet()) {
System.out.printf("getting file: %s/%s%n", path, entry.getKey());
input = entry.getValue();