Class AsDomainNameStringValidator

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 AsDomainNameStringValidator extends BaseAsValidator<String,InternetDomainName> implements Validator<String>
A Validator that checks String values as domain names by converting the value to an InternetDomainName 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 an InternetDomainName.

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

Since:
0.10.0