public class Consent extends AbstractIdentifiableInitializableComponent
| Modifier and Type | Field and Description |
|---|---|
private boolean |
approved
Whether consent is approved.
|
private String |
value
Consent value.
|
static String |
WILDCARD
Wildcard used to represent consent to any ID or value.
|
| Constructor and Description |
|---|
Consent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getValue()
Get the consent value.
|
int |
hashCode() |
boolean |
isApproved()
Whether consent is approved or denied.
|
void |
setApproved(boolean flag)
Set whether consent is approved.
|
void |
setValue(String val)
Set the consent value.
|
String |
toString() |
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId@Nonnull @NotEmpty public static final String WILDCARD
@Nullable private boolean approved
@Nullable public boolean isApproved()
public void setValue(@Nonnull@NotEmpty String val)
val - the consent valuepublic void setApproved(boolean flag)
flag - true if consent is approvedCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.