sshd-contrib/src/main/java/org/apache/sshd/contrib/server/scp/SimpleAccessControlScpEventListener.java [58:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        switch (op) {
            case SEND:
                if (!isFileDownloadAllowed(session, file)) {
                    throw new AccessDeniedException(file.toString());
                }
                break;

            case RECEIVE:
                if (!isFileUploadAllowed(session, file)) {
                    throw new AccessDeniedException(file.toString());
                }
                break;
            default:
                throw new UnsupportedOperationException("Unknown file operation: " + op);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sshd-contrib/src/main/java/org/apache/sshd/contrib/server/scp/SimpleAccessControlScpEventListener.java [80:93]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        switch (op) {
            case SEND:
                if (!isFileDownloadAllowed(session, file)) {
                    throw new AccessDeniedException(file.toString());
                }
                break;

            case RECEIVE:
                if (!isFileUploadAllowed(session, file)) {
                    throw new AccessDeniedException(file.toString());
                }
                break;
            default:
                throw new UnsupportedOperationException("Unknown file operation: " + op);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



