Class AbstractMechanismAuthenticationFactory<M,​F,​E extends Exception>

    • Method Detail

      • usesCredentials

        protected abstract boolean usesCredentials​(String mechName)
        Determine whether the given mechanism name needs credentials from a realm in order to authenticate.
        Parameters:
        mechName - the mechanism name
        Returns:
        true if the mechanism requires realm credential support, false if it does not
      • isKnownMechanism

        protected boolean isKnownMechanism​(String mechName)
        Determine whether the given mechanism name is known to WildFly Elytron. If it is not known we can't filter it out as we can not rely upon the other methods being able to return accurate responses about the mechanisms requirements. As this is a new method and other implementations may not know to override this has a default implementation to match the current behaviour i.e. assume we know about all mechanisms.
        Parameters:
        mechName - the mechanism name
        Returns:
        true if the mechanism is known to WildFly Elytron, false if it is not
      • getAllSupportedMechNames

        protected abstract Collection<String> getAllSupportedMechNames()