Class SectorID
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.id.Identifier
-
- com.nimbusds.openid.connect.sdk.id.SectorID
-
- All Implemented Interfaces:
Serializable,Comparable<Identifier>,net.minidev.json.JSONAware
@Immutable public final class SectorID extends Identifier
Sector identifier.Related specifications:
- OpenID Connect Core 1.0, section 8.1.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringensureHostComponent(URI sectorURI)Ensures the specified URI contains a host component.static voidensureHTTPScheme(URI sectorURI)Ensures the specified URI has ahttpsscheme.-
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, equals, getValue, hashCode, toJSONString, toString, toStringList
-
-
-
-
Method Detail
-
ensureHTTPScheme
public static void ensureHTTPScheme(URI sectorURI)
Ensures the specified URI has ahttpsscheme.- Parameters:
sectorURI- The URI. Must have ahttpsscheme and not benull.
-
ensureHostComponent
public static String ensureHostComponent(URI sectorURI)
Ensures the specified URI contains a host component.- Parameters:
sectorURI- The URI. Must contain a host component and not benull.- Returns:
- The host component.
-
-