Builder for registering a set of URL paths that an app handles as a dynamic identity provider endpoint. Obtained from dynamicIdpPaths on the controller mappings. Set the provider type and one or more paths, then call build to register them, so that requests to those paths are routed to the named identity provider type. Registration only takes effect while the app's controller mappings are still being assembled; calling build after that point has no effect.

Group: Builders


Methods

type(String type)

Returns: IdpDynamicPathsBuilder

Sets the identity provider type that the registered paths are handled as.

ParameterDescription
typethe identity provider type, matched against registered IDP implementations

addPaths(String paths)

Returns: IdpDynamicPathsBuilder

Adds one or more URL paths to be registered against the provider type set on this builder. May be called more than once to accumulate paths; null or empty arguments are ignored.

ParameterDescription
pathsthe paths to add

build()

Returns: void

Registers the accumulated paths against the provider type. Has no effect if the app's controller mappings have already finished initialising.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.