/** * <p> * Sets the claims of this request. * </p> * * @param claims the {@code ClaimsType} object that represents the claims to be set. */ public void setClaims(ClaimsType claims) { this.claims = claims; this.delegate.addAny(claims); }
/** * <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 {@code Policy} in the request. The policy specifies defaults that can be overridden by the previous properties. * </p> * * @param policy the {@code Policy} instance to be set. */ public void setPolicy(Policy policy) { this.policy = policy; this.delegate.addAny(policy); }
/** * <p> * Sets the {@code ValidateTarget} section of the request. This elements identifies the token that is to be validated. * </p> * * @param validateTarget a reference to the {@code ValidateTargetType} that identifies the token that must be validated. */ public void setValidateTarget(ValidateTargetType validateTarget) { this.validateTarget = validateTarget; this.delegate.addAny(validateTarget); }
/** * <p> * Sets the claims of this request. * </p> * * @param claims the {@code ClaimsType} object that represents the claims to be set. */ public void setClaims(ClaimsType claims) { this.claims = claims; this.delegate.addAny(claims); }
/** * <p> * Sets the {@code Policy} in the request. The policy specifies defaults that can be overridden by the previous properties. * </p> * * @param policy the {@code Policy} instance to be set. */ public void setPolicy(Policy policy) { this.policy = policy; this.delegate.addAny(policy); }
/** * <p> * Sets the {@code RenewTarget} section of the request. This element identifies the token that is to be renewed. * </p> * * @param renewTarget a reference to the {@code RenewTargetType} that identifies the token that must be renewed. */ public void setRenewTarget(RenewTargetType renewTarget) { this.renewTarget = renewTarget; this.delegate.addAny(renewTarget); }
/** * <p> * Sets the {@code ValidateTarget} section of the request. This elements identifies the token that is to be validated. * </p> * * @param validateTarget a reference to the {@code ValidateTargetType} that identifies the token that must be validated. */ public void setValidateTarget(ValidateTargetType validateTarget) { this.validateTarget = validateTarget; this.delegate.addAny(validateTarget); }
/** * <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 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> * 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 claims of this request. * </p> * * @param claims the {@code ClaimsType} object that represents the claims to be set. */ public void setClaims(ClaimsType claims) { this.claims = claims; this.delegate.addAny(claims); }
/** * <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 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 renew semantics for this request. * </p> * * @param renewing the {@code RenewingType} object representing the semantics to be set. */ public void setRenewing(RenewingType renewing) { this.renewing = renewing; this.delegate.addAny(renewing); }
/** * <p> * Sets the authentication type in the request. * </p> * * @param authenticationType a {@code URI} that identifies the authentication type to be set. */ public void setAuthenticationType(URI authenticationType) { this.authenticationType = authenticationType; this.delegate.addAny(authenticationType.toString()); }
/** * <p> * Sets the signature algorithm in the request. * </p> * * @param signatureAlgorithm a {@code URI} that represents the algorithm to be set. */ public void setSignatureAlgorithm(URI signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; this.delegate.addAny(signatureAlgorithm.toString()); }
/** * <p> * Sets the token type. * </p> * * @param tokenType a {@code URI} that identifies the token type. */ public void setTokenType(URI tokenType) { this.tokenType = tokenType; this.delegate.addAny(tokenType.toString()); }
/** * <p> * Sets the request type. The type must be one of the request types described in the WS-Trust specification. * </p> * * @param requestType a {@code URI} that identifies the request type. */ public void setRequestType(URI requestType) { this.requestType = requestType; this.delegate.addAny(requestType.toString()); }
/** * <p> * Sets the request type. The type must be one of the request types described in the WS-Trust specification. * </p> * * @param requestType a {@code URI} that identifies the request type. */ public void setRequestType(URI requestType) { this.requestType = requestType; this.delegate.addAny(requestType.toString()); }