public interface SubjectProvider
Modifier and Type | Method and Description |
---|---|
Subject |
get(String subjectId,
String audienceId,
SAML2Config saml2Config,
SAML2SubjectConfirmation subjectConfirmation,
Date assertionIssueInstant,
ProofTokenState proofTokenState)
Called to obtain the Subject instance to be included in the generated SAML2 assertion
|
Subject get(String subjectId, String audienceId, SAML2Config saml2Config, SAML2SubjectConfirmation subjectConfirmation, Date assertionIssueInstant, ProofTokenState proofTokenState) throws TokenCreationException
subjectId
- The identifier for the subjectaudienceId
- Used to set the recipient in the SubjectConfirmationDatasaml2Config
- The STS-instance specific SAML2 configuration statesubjectConfirmation
- The type of subject confirmationassertionIssueInstant
- The issue instant assertionproofTokenState
- The instance containing the proof token necessary for HoK assertions.TokenCreationException
- If there was an error while creating the Subject.Copyright © 2010-2018, ForgeRock All Rights Reserved.