Class ClientHelper


  • public class ClientHelper
    extends Object
    Helper class for creating pac4j clients.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Method Detail

      • isAuthenticationTargetSupported

        public static boolean isAuthenticationTargetSupported​(IClientDescriptor client,
                                                              String target)
        Checks if the given authentication target is supported by the given client.
        Parameters:
        client - descriptor of the authentication client to check
        target - authentication target to check
        Returns:
        true if the target is supported, false otherwise