@Override
    public final Collection<ConfigAttribute> getAttributes(final Object object) throws IllegalArgumentException {
        if (object instanceof ServerCall) {
            return getAttributes((ServerCall<?, ?>) object);
        }
        throw new IllegalArgumentException("Object must be a ServerCall");
    }
Abstract implementation of {@link GrpcSecurityMetadataSource} which resolves the secured object type to a
{@link ServerCall}.

@author Daniel Theuke (daniel.theuke@aequitas-software.de)
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/security/check/AbstractGrpcSecurityMetadataSource.java