id
stringlengths
7
14
text
stringlengths
1
106k
223551095_2411
public static LogSearchConfigServer createLogSearchConfigServer(Map<String, String> properties, Class<? extends LogSearchConfigServer> defaultClass, boolean init) throws Exception { try { LogSearchConfigServer logSearchConfig = null; String configClassName = properties.get("logsearch.config.server.class")...
223551095_2412
public static LogSearchConfigLogFeeder createLogSearchConfigLogFeeder(Map<String, String> properties, String clusterName, Class<? extends LogSearchConfigLogFeeder> defaultClass, boolean init) throws Exception { try { LogSearchConfigLogFeeder logSearchConfig = null; String configClassName = properties.get(...
223551095_2413
public static LogSearchConfigLogFeeder createLogSearchConfigLogFeeder(Map<String, String> properties, String clusterName, Class<? extends LogSearchConfigLogFeeder> defaultClass, boolean init) throws Exception { try { LogSearchConfigLogFeeder logSearchConfig = null; String configClassName = properties.get(...
223551095_2414
public static LogSearchConfigLogFeeder createLogSearchConfigLogFeeder(Map<String, String> properties, String clusterName, Class<? extends LogSearchConfigLogFeeder> defaultClass, boolean init) throws Exception { try { LogSearchConfigLogFeeder logSearchConfig = null; String configClassName = properties.get(...
223551095_2435
@Override public SolrQuery convert(EventHistoryRequest eventHistoryRequest) { SolrQuery eventHistoryQuery = new SolrQuery(); eventHistoryQuery.setQuery("*:*"); int startIndex = StringUtils.isNotEmpty(eventHistoryRequest.getStartIndex()) && StringUtils.isNumeric(eventHistoryRequest.getStartIndex()) ? Integer.p...
223551095_2446
@Override public Authentication authenticate(Authentication authentication) throws AuthenticationException { if (!authPropsConfig.isAuthExternalEnabled()) { LOG.debug("external server auth is disabled."); return authentication; } String username = authentication.getName(); String password = (String) ...
223551095_2447
@Override public Authentication authenticate(Authentication authentication) throws AuthenticationException { if (!authPropsConfig.isAuthExternalEnabled()) { LOG.debug("external server auth is disabled."); return authentication; } String username = authentication.getName(); String password = (String) ...
223551095_2448
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2449
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2450
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2451
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2452
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2453
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2454
@Override public Authentication authenticate(Authentication inAuthentication) throws AuthenticationException { logger.info("Authenticating user:" + inAuthentication.getName() + ", userDetail=" + inAuthentication.toString()); logger.info("authentication.class=" + inAuthentication.getClass().getName()); HashMap<Str...
223551095_2468
static String joinPaths(String firstPath, String... paths) { StringBuilder joined = new StringBuilder(firstPath); for(String path: paths) { if (path.isEmpty()) { /* NOP */ } else if (joined.length() == 0) { joined.append(path); } else if (joined.charAt(joined.length() - 1) == '/') { if (...
223551095_2469
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2470
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2471
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2472
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2473
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2474
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....
223551095_2475
@Override public Swagger read(Set<Class<?>> classes) { // scan for and register nested API classes logger.debug("Looking for nested API's"); for (Class<?> cls: classes) { logger.debug("Examining API {}", cls.getSimpleName()); for (Method method: cls.getMethods()) { Path methodPath = AnnotationUtils....