@Override
    public PluginBean get(Long pluginId) throws PluginNotFoundException, NotAuthorizedException {
        securityContext.checkAdminPermissions();

        try {
            PluginBean bean = storage.getPlugin(pluginId);
            if (bean == null) {
                throw ExceptionFactory.pluginNotFoundException(pluginId);
            }
            return bean;
        } catch (AbstractRestException e) {
            throw e;
        } catch (Exception e) {
            throw new SystemErrorException(e);
        }
    }
@see IPluginResource#get(java.lang.Long)
manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/PluginResourceImpl.java