public class TransientIdParameters extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
ATTRIBUTE_RECIPIENT_FIELD
Field name of creation instant.
|
private String |
attributeRecipient
The Attribute Recipient.
|
static String |
CONTEXT
Context label for storage of IDs.
|
private org.slf4j.Logger |
log
Class logger.
|
private String |
principal
The principal.
|
private static String |
PRINCIPAL_FIELD
Field name of principal name.
|
| Constructor and Description |
|---|
TransientIdParameters(String encoded)
Constructor for the decoding definitions.
|
TransientIdParameters(String recipient,
String thePrincipal)
Constructor for the attribute definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Encode up for storing.
|
String |
getAttributeRecipient()
Get the SP.
|
String |
getPrincipal()
Get the Principal.
|
@Nonnull @NotEmpty public static final String CONTEXT
private static final String ATTRIBUTE_RECIPIENT_FIELD
private static final String PRINCIPAL_FIELD
private final org.slf4j.Logger log
private final String attributeRecipient
private final String principal
public TransientIdParameters(@Nullable String recipient, @Nullable String thePrincipal)
recipient - the SPthePrincipal - the userpublic TransientIdParameters(@Nonnull@NotEmpty String encoded) throws IOException
encoded - the JSON encoded dataIOException - if decoding failed@Nonnull public String encode() throws IOException
IOException - if encoding failedCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.