public class DiscoveryBootstrap extends Object
DiscoBootstrap
helps in generating the discovery
boot strap statement i.e. Discovery Resource Offering as part of the SAML2
assertion that is generated during the Single Sign-On. This class checks
if there are any credentials that need to be generated for accesing
discovery service and do the needful.Constructor and Description |
---|
DiscoveryBootstrap(Object session,
Subject sub,
String authnContextClassRef,
String wscID,
String realm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AttributeStatement |
getBootstrapStatement()
Gets the bootstrap attribute statement
|
Advice |
getCredentials()
Gets the credential for discovery boot strap resource offering
|
public DiscoveryBootstrap(Object session, Subject sub, String authnContextClassRef, String wscID, String realm) throws SAML2Exception
session
- session of the user.sub
- SAML2 Subject.authnContextClassRef
- Authentication context class ref
that the user is signed-on.wscID
- wsc entity ID.realm
- the realm name.SAML2Exception
- if there is any failure.public AttributeStatement getBootstrapStatement()
public Advice getCredentials() throws SAML2Exception
SAML2Exception
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.