public final class StringOrURI extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validateStringOrURI(String s)
Validates that the given String is either an arbitrary string without any ":" characters, otherwise validates
that the String is a valid URI.
|
public static void validateStringOrURI(String s)
s
- The String to validate.JwtRuntimeException
- if the given String contains a ":" character and is not a valid URI.Copyright © 2010-2018, ForgeRock All Rights Reserved.