public class PrincipalStub extends com.vmware.vapi.internal.bindings.Stub implements Principal
Principal
API service.
WARNING: Internal class, subject to change in future versions.
PrincipalTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PrincipalStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
PrincipalStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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.
|
public PrincipalStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public PrincipalStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public PrincipalTypes.Info get()
Principal
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Principal
PrincipalTypes.Info
a summary
containing the certificates used to sign tokens and the solution user used to
retrieve them.public PrincipalTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Principal
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Principal
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.public void get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback)
Principal
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
. public void get(com.vmware.vapi.bindings.client.AsyncCallback<PrincipalTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Principal
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
.