public interface Principal extends com.vmware.vapi.bindings.Service, PrincipalTypes
Principal
interface contains information about the certificates
which sign the tokens used by vCenter for authentication. This interface was
added in vSphere API 7.0.0.0.PrincipalTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
PrincipalTypes.Info |
get()
Returns information about the STS used by this vCenter instance.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback)
Returns information about the STS used by this vCenter instance.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the STS used by this vCenter instance.
|
PrincipalTypes.Info |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the STS used by this vCenter instance.
|
PrincipalTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
PrincipalTypes.Info
a summary
containing the certificates used to sign tokens and the solution user used to
retrieve them.Error
- if there is a generic error.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadStsInfo
. PrincipalTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.PrincipalTypes.Info
a summary
containing the certificates used to sign tokens and the solution user used to
retrieve them.Error
- if there is a generic error.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadStsInfo
. void get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
PrincipalTypes.Info
a summary
containing the certificates used to sign tokens and the solution user used to
retrieve them.
Operation Errors:
Error
- if there is a generic error.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadStsInfo
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
PrincipalTypes.Info
a summary
containing the certificates used to sign tokens and the solution user used to
retrieve them.
Operation Errors:
Error
- if there is a generic error.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadStsInfo
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.