@FunctionalInterface
public interface RegisteredServiceAttributeReleasePolicy
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes(Principal p,
Service selectedService,
RegisteredService service)
Gets the attributes, having applied the filter.
|
default java.util.Map<java.lang.String,java.lang.Object> |
getConsentableAttributes(Principal p,
Service selectedService,
RegisteredService service)
Gets the attributes that qualify for consent.
|
default boolean |
isAuthorizedToReleaseAuthenticationAttributes()
Is authorized to release authentication attributes boolean.
|
default boolean |
isAuthorizedToReleaseCredentialPassword()
Is authorized to release credential password?
|
default boolean |
isAuthorizedToReleaseProxyGrantingTicket()
Is authorized to release proxy granting ticket?
|
default void |
setAttributeFilter(RegisteredServiceAttributeFilter filter)
Sets the attribute filter.
|
default boolean isAuthorizedToReleaseAuthenticationAttributes()
default boolean isAuthorizedToReleaseCredentialPassword()
default boolean isAuthorizedToReleaseProxyGrantingTicket()
default void setAttributeFilter(RegisteredServiceAttributeFilter filter)
filter
- the new attribute filterjava.util.Map<java.lang.String,java.lang.Object> getAttributes(Principal p, Service selectedService, RegisteredService service)
p
- the principal that contains the resolved attributesselectedService
- the selected serviceservice
- the servicedefault java.util.Map<java.lang.String,java.lang.Object> getConsentableAttributes(Principal p, Service selectedService, RegisteredService service)
p
- the principal that contains the resolved attributesselectedService
- the selected serviceservice
- the service