public final class SAML1ActionSupport extends Object
| Modifier | Constructor and Description |
|---|---|
private |
SAML1ActionSupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Assertion |
addAssertionToResponse(AbstractProfileAction action,
Response response,
net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy idGenerator,
String issuer)
|
static Conditions |
addConditionsToAssertion(AbstractProfileAction action,
Assertion assertion)
Creates and adds a
Conditions to a given Assertion. |
static Assertion |
buildAssertion(AbstractProfileAction action,
net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy idGenerator,
String issuer)
Constructs an
Assertion using the parameters supplied, with its issue instant set to the
current time. |
private static Logger |
getLogger()
Gets the logger for this class.
|
@Nonnull public static Assertion buildAssertion(@Nonnull AbstractProfileAction action, @Nonnull net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy idGenerator, @Nonnull@NotEmpty String issuer)
Assertion using the parameters supplied, with its issue instant set to the
current time.action - the current actionidGenerator - source of assertion IDissuer - value for assertion@Nonnull public static Assertion addAssertionToResponse(@Nonnull AbstractProfileAction action, @Nonnull Response response, @Nonnull net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy idGenerator, @Nonnull@NotEmpty String issuer)
Assertion to the given Response. The Assertion is constructed
using the parameters supplied, and its issue instant is set to the issue instant of the given Response.action - the current actionresponse - the response to which the assertion will be addedidGenerator - source of assertion IDissuer - value for assertion@Nonnull public static Conditions addConditionsToAssertion(@Nonnull AbstractProfileAction action, @Nonnull Assertion assertion)
Conditions to a given Assertion. If the Assertion already contains an
Conditions this method just returns.action - current actionassertion - assertion to which the condition will be addedConditions that already existed on, or the one that was added to, the AssertionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.