/** * Set the RelatesTo URI value. * * @param uri the RelatesTo URI value */ public void setRelatesToURI(String uri) { relatesToURI = StringSupport.trimOrNull(uri); }
/** * Converts the supplied value to a list of strings delimited by {@link XMLConstants#LIST_DELIMITERS} and comma. * * @param value to convert to a list * * @return list of strings */ @Nonnull public static List<String> buildStringList(final String value) { return StringSupport.stringToList(value, XMLConstants.LIST_DELIMITERS + ","); }
/** * Set the MessageID URI value. * * @param uri the new MessageID URI value */ public void setMessageIDURI(String uri) { messageIDURI = StringSupport.trimOrNull(uri); }
/** * Sets the message describing why the validation process failed. * * @param message message describing why the validation process failed */ public void setValidationFailureMessage(String message) { validationFailureMessage = StringSupport.trimOrNull(message); } }
/** * Set the Fault Action URI value. * * @param uri the new Fault Action URI value */ public void setFaultActionURI(String uri) { faultActionURI = StringSupport.trimOrNull(uri); }
/** * Set the Action URI value. * * @param uri the new Action URI value */ public void setActionURI(String uri) { actionURI = StringSupport.trimOrNull(uri); }
/** * Get the RelatesTo RelationshipType attribute value. * * @param value the RelatesTo RelationshipType attribute value */ public void setRelatesToRelationshipType(String value) { relatesToRelationshipType = StringSupport.trimOrNull(value); }
/** * Constructor. * * @param uri the URI of the namespace * @param prefix the prefix of the namespace */ public Namespace(@Nullable final String uri, @Nullable final String prefix) { namespaceURI = StringSupport.trimOrNull(uri); namespacePrefix = StringSupport.trimOrNull(prefix); nsStr = null; }
/** * Set the artifact source entityID. * * @param entityId the new source entityID */ public void setSourceEntityId(@Nullable final String entityId) { sourceEntityId = StringSupport.trimOrNull(entityId); }
/** * Set the contextual description to output at the start of the action. * * @param value the description value */ public void setDescription(@Nullable final String value) { description = StringSupport.trimOrNull(value); }
/** * Set a logging ID to use when auditing this profile. * * @param id logging ID */ public void setLoggingId(@Nullable final String id) { loggingId = StringSupport.trimOrNull(id); }
/** * Set the protocol constant to use during resolution. * * @param protocol the protocol constant to set */ public void setProtocol(@Nullable final String protocol) { samlProtocol = StringSupport.trimOrNull(protocol); }
/** * Constructor. * * @param uri the URI of the namespace * @param prefix the prefix of the namespace */ public Namespace(@Nullable final String uri, @Nullable final String prefix) { namespaceURI = StringSupport.trimOrNull(uri); namespacePrefix = StringSupport.trimOrNull(prefix); nsStr = null; }
/** * Sets the relay state. * * @param state relay state associated with this protocol exchange */ public void setRelayState(@Nullable String state) { relayState = StringSupport.trimOrNull(state); }
/** * Set the artifact resolution service endpoint URL. * * @param url the new URL */ public void setSourceArtifactResolutionServiceEndpointURL(@Nullable final String url) { sourceArtifactResolutionServiceEndpointUrl = StringSupport.trimOrNull(url); }
/** * Set the SAML Consent value in use. * * @param consent SAML Consent value in use */ public void setConsent(@Nullable final String consent) { value = StringSupport.trimOrNull(consent); }
/** * Sets the entityId of the SAML entity. * * @param id the new entityId */ public void setEntityId(@Nullable final String id) { entityId = StringSupport.trimOrNull(id); }
/** * Set the group name. * * @param name Group name. */ public void setGroup(@NotEmpty final String name) { group = StringSupport.trimOrNull(name); }
/** * Set the required content type. * * @param contentType the content type */ public void setRequiredContentType(String contentType) { ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this); requiredContentType = contentType; requiredRequestMethod = StringSupport.trimOrNull(contentType); }
/** * Set the required request method. * * @param requestMethod the required request method */ public void setRequiredRequestMethod(String requestMethod) { ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this); requiredRequestMethod = StringSupport.trimOrNull(requestMethod); }