@Override
    public boolean supports(final Credential credential) {
        return credential instanceof RemoteAuthenticationCredential;
    }
Checks if a subnet contains a specific IP address.

@param network The network address.
@param netmask The subnet mask.
@param ip      The IP address to check.
@return A boolean value.
support/cas-server-support-generic-remote-webflow/src/main/java/org/apereo/cas/adaptors/generic/remote/RemoteAddressAuthenticationHandler.java