Class AsURLStringValidator

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
All Implemented Interfaces:
Validator<String>, net.shibboleth.shared.component.Component, net.shibboleth.shared.component.DestructableComponent, net.shibboleth.shared.component.IdentifiableComponent, net.shibboleth.shared.component.IdentifiedComponent, net.shibboleth.shared.component.InitializableComponent

public class AsURLStringValidator extends BaseAsValidator<String,URL> implements Validator<String>
A Validator that checks String values as URLs by converting the value to an URL and applying a sequence of validators to that value.

This validator fails (and returns Validator.Action.DONE) if the value can not be converted to a URL.

Otherwise, the validator applies the sequence of validators to the URL and returns the value of that sequence.

Since:
0.10.0