Class ReturnAllAttributeReleasePolicy

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

    public class ReturnAllAttributeReleasePolicy
    extends AbstractRegisteredServiceAttributeReleasePolicy
    Return all attributes for the service, regardless of service settings.
    Since:
    4.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ReturnAllAttributeReleasePolicy

        public ReturnAllAttributeReleasePolicy()
    • Method Detail

      • getAttributesInternal

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributesInternal​(org.apereo.cas.authentication.principal.Principal principal,
                                                                                                            java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> resolvedAttributes,
                                                                                                            org.apereo.cas.services.RegisteredService registeredService,
                                                                                                            org.apereo.cas.authentication.principal.Service selectedService)
        Description copied from class: AbstractRegisteredServiceAttributeReleasePolicy
        Gets the attributes internally from the implementation.
        Specified by:
        getAttributesInternal in class AbstractRegisteredServiceAttributeReleasePolicy
        Parameters:
        principal - the principal
        resolvedAttributes - the principal attributes
        registeredService - the service
        selectedService - the selected service
        Returns:
        the attributes allowed for release