public final class SAML2ActionSupport extends Object
Modifier and Type | Method and Description |
---|---|
static Advice |
addAdviceToAssertion(AbstractProfileAction action,
Assertion assertion)
|
static Assertion |
addAssertionToResponse(AbstractProfileAction action,
Response response,
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,
IdentifierGenerationStrategy idGenerator,
String issuer)
Constructs an
Assertion using the parameters supplied, with its issue instant set to the
current time. |
@Nonnull public static Assertion buildAssertion(@Nonnull AbstractProfileAction action, @Nonnull IdentifierGenerationStrategy idGenerator, @Nullable 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 IdentifierGenerationStrategy idGenerator, @Nullable 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 Assertion
Copyright © 2016 JBoss by Red Hat. All rights reserved.