|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.xensource.xenapi.XenAPIObject
com.xensource.xenapi.Auth
public class Auth
Management of remote authentication services
| Constructor Summary | |
|---|---|
Auth()
|
|
| Method Summary | |
|---|---|
static Set<String> |
getGroupMembership(Connection c,
String subjectIdentifier)
This calls queries the external directory service to obtain the transitively-closed set of groups that the the subject_identifier is member of. |
static String |
getSubjectIdentifier(Connection c,
String subjectName)
This call queries the external directory service to obtain the subject_identifier as a string from the human-readable subject_name |
static Map<String,String> |
getSubjectInformationFromIdentifier(Connection c,
String subjectIdentifier)
This call queries the external directory service to obtain the user information (e.g. |
String |
toWireString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Auth()
| Method Detail |
|---|
public String toWireString()
toWireString in class XenAPIObject
public static String getSubjectIdentifier(Connection c,
String subjectName)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
subjectName - The human-readable subject_name, such as a username or a groupname
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Map<String,String> getSubjectInformationFromIdentifier(Connection c,
String subjectIdentifier)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
subjectIdentifier - A string containing the subject_identifier, unique in the external directory service
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Set<String> getGroupMembership(Connection c,
String subjectIdentifier)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
subjectIdentifier - A string containing the subject_identifier, unique in the external directory service
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||