Dell DX6004S DX Object Storage Application Guide - Page 63
Managing Security, for Application Developers
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 63 highlights
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-realmput.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 Chapter 13, Managing Security for Application Developers. Copyright © 2010 Caringo, Inc. All rights reserved 58 Version 5.0 December 2010