@Override
    public boolean supports(final AuthenticationResult authenticationResult, final Service service) {
        val serviceUrl = StringUtils.appendIfMissing(casProperties.getServer().getPrefix(), "/")
            .concat(CasWebflowConfigurer.FLOW_ID_ACCOUNT);
        return service != null && service.getId().equals(serviceUrl);
    }
This is {@link AccountProfileServiceTicketGeneratorAuthority}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/acct/AccountProfileServiceTicketGeneratorAuthority.java