/** * <p> * Sets the entropy that must be used when creating the key. * </p> * * @param entropy the {@code EntropyType} representing the entropy to be set. */ public void setEntropy(EntropyType entropy) { this.entropy = entropy; this.delegate.addAny(entropy); }
/** * <p> * Sets the requested security token in the response. * </p> * * @param requestedSecurityToken the {@code RequestedSecurityTokenType} instance to be set. */ public void setRequestedSecurityToken(RequestedSecurityTokenType requestedSecurityToken) { this.requestedSecurityToken = requestedSecurityToken; this.delegate.addAny(requestedSecurityToken); }
/** * <p> * Creates an instance of {@code RequestSecurityToken}. * </p> */ public RequestSecurityToken() { this.delegate = new RequestSecurityTokenType(); }
/** * <p> * Obtains the response context. * </p> * * @return a {@code String} that identifies the original request. */ public String getContext() { return this.delegate.getContext(); }
/** * <p> * Obtains the request context. * </p> * * @return a {@code String} that identifies the request. */ public String getContext() { return this.delegate.getContext(); }
/** * <p> * Sets the response context. * </p> * * @param context a {@code String} that identifies the original request. */ public void setContext(String context) { this.delegate.setContext(context); }
/** * <p> * Sets the size of the key in the request. * </p> * * @param keySize a {@code long} representing the key size. */ public void setKeySize(long keySize) { this.keySize = keySize; this.delegate.addAny(keySize); }
/** * <p> * Sets the reference to the {@code Policy} that was associated with the request. * </p> * * @param policyReference the {@code PolicyReference} object to be set. */ public void setPolicyReference(PolicyReference policyReference) { this.policyReference = policyReference; this.delegate.addAny(policyReference); }
/** * <p> * Specifies whether the requested token should be marked as "delegatable" or not. Using this flag, the returned token MAY * be delegated to another party. * </p> * * @param delegatable {@code true} if the requested token should be marked as "delegatable"; {@code false} otherwise. */ public void setDelegatable(boolean delegatable) { this.delegatable = delegatable; this.delegate.addAny(delegatable); }
/** * <p> * Sets the entropy that has been used in creating the key. * </p> * * @param entropy the {@code EntropyType} representing the entropy to be set. */ public void setEntropy(EntropyType entropy) { this.entropy = entropy; this.delegate.addAny(entropy); }
/** * <p> * Sets the entropy that must be used when creating the key. * </p> * * @param entropy the {@code EntropyType} representing the entropy to be set. */ public void setEntropy(EntropyType entropy) { this.entropy = entropy; this.delegate.addAny(entropy); }
/** * <p> * Specifies the identity on whose behalf the token request was made. * </p> * * @param onBehalfOf the {@code OnBehalfOfType} object representing the identity to be set. */ public void setOnBehalfOf(OnBehalfOfType onBehalfOf) { this.onBehalfOf = onBehalfOf; this.delegate.addAny(onBehalfOf); }
/** * <p> * Specifies whether a request for a postdated token should be allowed or not. * </p> * * @param allowPostDating {@code null} if the token can't have a future lifetime (e.g. a token to be used the next day); a * {@code AllowPostdatingType} otherwise. */ public void setAllowPostDating(AllowPostdatingType allowPostDating) { this.allowPostDating = allowPostDating; this.delegate.addAny(allowPostDating); }
/** * <p> * Sets the authenticator that must be used in authenticating exchanges. * </p> * * @param authenticator the {@code AuthenticatorType} instance to be set. */ public void setAuthenticator(AuthenticatorType authenticator) { this.authenticator = authenticator; this.delegate.addAny(authenticator); }
/** * <p> * Specifies the identity on whose behalf this request is being made. * </p> * * @param onBehalfOf the {@code OnBehalfOfType} object representing the identity to be set. */ public void setOnBehalfOf(OnBehalfOfType onBehalfOf) { this.onBehalfOf = onBehalfOf; this.delegate.addAny(onBehalfOf); }
/** * <p> * Sets the key that used in the returned token. * </p> * * @param useKey the {@code UseKeyType} instance to be set. */ public void setUseKey(UseKeyType useKey) { this.useKey = useKey; this.delegate.addAny(useKey); }
/** * <p> * Sets the identity to which the requested token should be delegated. * </p> * * @param delegateTo the {@code DelegateToType} object representing the identity to be set. */ public void setDelegateTo(DelegateToType delegateTo) { this.delegateTo = delegateTo; this.delegate.addAny(delegateTo); }
/** * <p> * Sets the reference to the {@code Policy} that was associated with the request. * </p> * * @param policyReference the {@code PolicyReference} object to be set. */ public void setPolicyReference(PolicyReference policyReference) { this.policyReference = policyReference; this.delegate.addAny(policyReference); }
/** * <p> * Sets the reference to the {@code Policy} that should be used. * </p> * * @param policyReference the {@code PolicyReference} object to be set. */ public void setPolicyReference(PolicyReference policyReference) { this.policyReference = policyReference; this.delegate.addAny(policyReference); }
/** * <p> * Sets the key that should be used in the returned token. * </p> * * @param useKey the {@code UseKeyType} instance to be set. */ public void setUseKey(UseKeyType useKey) { this.useKey = useKey; this.delegate.addAny(useKey); }