public final class SamlTokenSecurityContext extends Object implements com.vmware.vapi.core.ExecutionContext.SecurityContext
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIVATE_KEY_ID |
static String |
SAML_TOKEN_ID |
| Constructor and Description |
|---|
SamlTokenSecurityContext(com.vmware.vapi.saml.SamlToken token)
Internal.
|
SamlTokenSecurityContext(com.vmware.vapi.saml.SamlToken token,
PrivateKey privateKey) |
SamlTokenSecurityContext(String token,
PrivateKey privateKey)
Creates a SAML token security context from text.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAllProperties() |
Object |
getProperty(String key) |
public static final String SAML_TOKEN_ID
public static final String PRIVATE_KEY_ID
public SamlTokenSecurityContext(com.vmware.vapi.saml.SamlToken token,
PrivateKey privateKey)
token - cannot be null. will be serialized as part of the
signatureprivateKey - if null request payload signature will not be
generated. The private key will NOT be serialized in the request.public SamlTokenSecurityContext(String token, PrivateKey privateKey)
token - cannot be null. will be serialized as part of the
signature.privateKey - if null request payload signature will not be
generated. The private key will NOT be serialized in the request.public SamlTokenSecurityContext(com.vmware.vapi.saml.SamlToken token)
token - cannot be null.Copyright © 2022. All rights reserved.