Class ReturnRestfulAttributeReleasePolicy

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy, org.springframework.core.Ordered

    public class ReturnRestfulAttributeReleasePolicy
    extends AbstractRegisteredServiceAttributeReleasePolicy
    Return a collection of allowed attributes for the principal based on an external REST endpoint.
    Since:
    4.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ReturnRestfulAttributeReleasePolicy

        public ReturnRestfulAttributeReleasePolicy()
    • Method Detail

      • getAttributesInternal

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributesInternal​(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context,
                                                                                                            java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> attributes)
        Description copied from class: AbstractRegisteredServiceAttributeReleasePolicy
        Gets the attributes internally from the implementation.
        Specified by:
        getAttributesInternal in class AbstractRegisteredServiceAttributeReleasePolicy
        Parameters:
        context - the context
        attributes - the principal attributes
        Returns:
        the attributes allowed for release