@Override
    default int getOrder() {
        return 0;
    }
Determines whether this instance supports principal resolution from the given credential. This method SHOULD
be called prior to {@link #resolve(Credential, Optional, Optional, Optional)})}.

@param credential The credential to check for support.
@return True if credential is supported, false otherwise.
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/PrincipalResolver.java