Dell DX6000 Application Manual page 63

Dx object storage application guide version 5.0
Table of Contents

Advertisement

The Castor-Authorization header in this example is:
Castor-Authorization: cluster.example.com/_administrators,
POST=cluster.example.com
3. PUT the updated realm on the domain:
curl -X PUT --data-binary @cluster_example_com -H "Castor-Authorization:
cluster.example.com/_administrators, POST=cluster.example.com" -H
"Castor-Stream-Type: admin" --anyauth -u "jeannie.clark:jeannie" --
location-trusted "http://172.16.0.35?domain=cluster.example.com" --
post301 -D domain-realm-put.log
4. GET the user list:
curl --anyauth -u "fred.bell:fred" --location-trusted
http://172.16.0.35?domain=cluster.example.com -D get-domain-realm-
put.log
The updated user list displays:
john.rogers:cluster.example.com:7258c81943bb715d75eb7cfecf4295de
jane.lalane:cluster.example.com:98ce0bb175aae28a291a6ecbe545dcd4
Notice that the users you previously added to the realm, such as earl.grey and
james.north, are no longer in the realm. This is the result of the PUT operation.
5. HEAD the domain again to verify the Castor-Authorization header has not changed:
curl -I --anyauth -u "jeannie.clark:jeannie" --location-trusted
http://172.16.0.35?domain=cluster.example.com -D get-domain-realm4.log
The Castor-Authorization header is still:
Castor-Authorization: cluster.example.com/_administrators,
POST=cluster.example.com
6. Provide the list of cluster.example.com realm user names and passwords to your application
developers because they will need them to run the examples in
for Application
Copyright © 2010 Caringo, Inc.
All rights reserved
Developers.
Chapter 13, Managing Security
58
Version 5.0
December 2010

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx6004sDx6012sDx object storage

Table of Contents