content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
/*
* FinFeedAPI Stock REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://github.com/O... | __label__POS | 0.733686 |
package io.apicurio.registry.rules.compatibility;
import io.apicurio.registry.content.TypedContent;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.BiFunction;
import java.util.stream.Collectors;
import static java.util.Objects.requireNonNull;
p... | __label__POS | 0.699309 |
package io.apicurio.registry.rules.compatibility;
import java.util.Collections;
import java.util.Set;
/**
* Created by aohana
* <p>
* Holds the result for a compatibility check incompatibleDifferences - will contain values in case the schema
* type has difference type information in case the new schema is not com... | __label__POS | 0.682647 |
package com.xindawn.music.lrc;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.HttpGet;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullP... | __label__POS | 0.782274 |
package io.apicurio.registry.content;
import io.apicurio.registry.content.util.ContentTypeUtil;
import io.apicurio.registry.util.DocumentBuilderAccessor;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import java.util.Map;
public class WsdlContentAccepter implements ContentAccepter {
@Override
pub... | __label__POS | 0.978046 |
package org.apereo.cas.config;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.apereo.cas.util.spring.boot.ConditionalOnFeatureEnabled;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.b... | __label__POS | 0.995799 |
package com.xindawn.music.lrc;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Iterator;
import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.content.C... | __label__POS | 0.708771 |
package com.xindawn.music.lrc;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import com.xindawn.util.CommonLog;
import com.xindawn.util.LogFactory;
public class LrcDownLoadHelper {
private static final CommonLog log = LogFactory.createLog();
private final static int THREAD... | __label__POS | 0.967041 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: DLNAMediaSupport.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-11-17 上午10:48:34
*
* Modification History:
* Date Author Version D... | __label__POS | 0.835139 |
/*
* FinFeedAPI Stock REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://github.com/O... | __label__POS | 0.626938 |
package com.xindawn.DLAN.DMRBridge;
import android.util.Log;
public final class DMRClass {
public interface OnEventListener {
int onEvent(int notifyID, String info);
}
// Define the Notify ID
public static final int NOTIFY_ID_QUERYFORCONNECTION = 0;
public static final int NOTIFY_ID_SETAV... | __label__POS | 0.999993 |
package io.apicurio.registry.content.canon;
import org.apache.avro.Schema;
import org.apache.avro.SchemaValidationException;
import org.apache.avro.SchemaValidator;
import org.apache.avro.SchemaValidatorBuilder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class TestAvroCom... | __label__POS | 0.99847 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: PlayerUtil.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-6-16 下午04:56:15
*
* Modification History:
* Date Author Version Descript... | __label__POS | 0.973695 |
package com.xindawn.DLAN.plugins.pictureplay;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.os.StrictMode;
import android.view.KeyEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import an... | __label__POS | 0.67382 |
package io.apicurio.registry.content;
import io.apicurio.registry.content.util.ContentTypeUtil;
import org.apache.avro.Schema;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
public class AvroContentAccepter implements ContentAccepter {
private static fin... | __label__POS | 0.993963 |
package io.apicurio.registry.content.canon;
import io.apicurio.registry.content.ContentHandle;
import io.apicurio.registry.content.TypedContent;
import io.apicurio.registry.types.ContentTypes;
import org.apache.avro.AvroRuntimeException;
import org.apache.avro.Schema;
import java.util.ArrayList;
import java.util.Hash... | __label__POS | 0.812883 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: PictureController.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-5-17 上午09:49:37
*
* Modification History:
* Date Author Version D... | __label__POS | 0.815904 |
package org.apereo.cas.nativex;
import org.apereo.cas.CentralAuthenticationService;
import org.apereo.cas.support.saml.idp.SamlIdPDistributedSessionCookieCipherExecutor;
import org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGenerator;
import org.apereo.cas.support.saml.idp.metadata.locator.SamlIdPMe... | __label__POS | 0.718199 |
package io.apicurio.registry.content.canon;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import... | __label__POS | 0.687321 |
/*
* FinFeedAPI Stock REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://github.com/O... | __label__POS | 0.636072 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: WindowUtils.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2015-1-14 下午09:34:50
*
* Modification History:
* Date Author Version Descrip... | __label__POS | 0.994683 |
package com.xindawn.DLAN.plugins.videoplay;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnPreparedListener;
import android.net.... | __label__POS | 0.768584 |
package io.apicurio.registry.util;
import javax.xml.XMLConstants;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
/**
* Base class for any class that needs to use a DocumentBuilder.
*/
public final class DocumentBuilde... | __label__POS | 0.97126 |
package io.apicurio.registry.content;
import io.apicurio.registry.content.util.ContentTypeUtil;
import io.apicurio.registry.util.DocumentBuilderAccessor;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import java.util.Map;
public class XmlContentAccepter implements ContentAccepter {
@Override
publ... | __label__POS | 0.988869 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: MediaPlayListView.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2011-9-2 下午02:20:25
*
* Modification History:
* Date Author Version De... | __label__POS | 0.990335 |
/*
* FinFeedAPI Stock REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://github.com/O... | __label__POS | 0.835791 |
package io.apicurio.registry.content.canon;
import io.apicurio.registry.content.ContentHandle;
import io.apicurio.registry.content.TypedContent;
import io.apicurio.registry.types.ContentTypes;
import org.apache.xml.security.Init;
import org.apache.xml.security.c14n.CanonicalizationException;
import org.apache.xml.secu... | __label__POS | 0.721581 |
public class OAS {
private static final String HEADER_CONTENT_TYPE = 'Content-Type';
private static final String HEADER_ACCEPT = 'Accept';
private static final String HEADER_ACCEPT_DELIMITER = ',';
private static final Map<String, String> DELIMITERS = new Map<String, String> {
'csv' => ',',
... | __label__POS | 0.807744 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: MediaListAdapter.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-4-6 下午12:04:29
*
* Modification History:
* Date Author Version Des... | __label__POS | 0.982669 |
package org.apereo.cas.mail;
import org.apereo.cas.notifications.mail.EmailCommunicationResult;
import org.apereo.cas.notifications.mail.EmailMessageRequest;
import org.apereo.cas.notifications.mail.EmailSender;
import org.apereo.cas.util.function.FunctionUtils;
import com.sendgrid.Method;
import com.sendgrid.Request... | __label__POS | 0.682677 |
package io.apicurio.registry.content;
import com.fasterxml.jackson.databind.JsonNode;
import io.apicurio.registry.content.util.ContentTypeUtil;
import java.util.Map;
public class AsyncApiContentAccepter implements ContentAccepter {
@Override
public boolean acceptsContent(TypedContent content, Map<String, Ty... | __label__POS | 0.995163 |
/*
* FinFeedAPI Stock REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://github.com/O... | __label__POS | 0.622677 |
@isTest
private class OASMetadataApiTest {
/**
* List of exchanges
*
*
*/
@isTest
private static void v1ExchangesGetTest() {
HttpResponse res = new HttpResponse();
res.setStatusCode(200);
res.setStatus('OK');
Test.setMock(HttpCalloutMock.class, new OASRes... | __label__POS | 0.726261 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: IndicatorGridView.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-4-19 上午11:05:38
*
* Modification History:
* Date Author Version D... | __label__POS | 0.761811 |
package org.apereo.cas.authentication;
import org.apereo.cas.cassandra.CassandraSessionFactory;
import org.apereo.cas.configuration.model.support.cassandra.authentication.CassandraAuthenticationProperties;
import org.apereo.cas.util.CollectionUtils;
import com.datastax.oss.driver.api.core.CqlSession;
import com.datas... | __label__POS | 0.870263 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.credential.UsernamePasswordCredential;
import org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler;
import org.apereo.cas.authentication.principal.PrincipalFactory;
import org.apereo.cas.configuration.mod... | __label__POS | 0.71515 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: StorageDevice.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2011-9-5 上午10:31:04
*
* Modification History:
* Date Author Version Descri... | __label__POS | 0.792059 |
/*******************************************************************
* Company: Fuzhou Rockchip Electronics Co., Ltd
* Filename: FileInfo.java
* Description:
* @author: fxw@rock-chips.com
* Create at: 2012-4-6 下午04:03:08
*
* Modification History:
* Date Author Version Description... | __label__POS | 0.968301 |
package io.apicurio.deployment;
public class KubernetesTestResources {
protected static final String E2E_NAMESPACE_RESOURCE = "/infra/e2e-namespace.yml";
protected static final String REGISTRY_OPENSHIFT_ROUTE = "/infra/openshift/registry-route.yml";
protected static final String APPLICATION_IN_MEMORY_RESO... | __label__POS | 0.998513 |
const path = require('path');
module.exports = function (context, options) {
const { writeKey, allowedInDev = false } = options;
return {
name: 'docusaurus-plugin-segment',
getClientModules() {
return [path.resolve(__dirname, './segment')];
},
injectHtmlTags() {
... | __label__POS | 0.890974 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: integration-tests/testsuite/src/test/resources/serdes/testmessage.proto
package io.apicurio.tests.protobuf;
public interface ProtobufTestMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.apicurio.tests.protobuf.Prot... | __label__POS | 0.993855 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: integration-tests/testsuite/src/test/resources/serdes/testmessage.proto
package io.apicurio.tests.protobuf;
/**
* Protobuf type {@code io.apicurio.tests.protobuf.Point}
*/
public final class Point extends com.google.protobuf.GeneratedMessageV3 i... | __label__POS | 0.820996 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: integration-tests/testsuite/src/test/resources/serdes/testmessage.proto
package io.apicurio.tests.protobuf;
public interface PointOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.apicurio.tests.protobuf.Point)
com... | __label__POS | 0.957599 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: integration-tests/testsuite/src/test/resources/serdes/testmessage.proto
package io.apicurio.tests.protobuf;
public interface HeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.apicurio.tests.protobuf.Header)
c... | __label__POS | 0.957855 |
/* -*- Mode: Java; tab-width: 4 -*-
*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... | __label__POS | 0.786544 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: integration-tests/testsuite/src/test/resources/serdes/testmessage.proto
package io.apicurio.tests.protobuf;
/**
* Protobuf type {@code io.apicurio.tests.protobuf.ProtobufTestMessage}
*/
public final class ProtobufTestMessage extends com.google.p... | __label__POS | 0.832969 |
--[[
FinFeedAPI Stock REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_request = requi... | __label__POS | 0.805259 |
import javax.script.ScriptEngineManager;
import javax.script.ScriptEngine;
public class JavaDynamicExecutionScriptmanagerTest {
public static void main(String[] args) throws Exception {
// TP
if (true) {
ScriptEngine engine = new ScriptEngineManager().getEngineByName("JavaScript");
... | __label__POS | 0.995048 |
--[[
FinFeedAPI Stock REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_request = requi... | __label__POS | 0.818289 |
--[[
FinFeedAPI Stock REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_request = requi... | __label__POS | 0.765712 |
package io.apicurio.tests.utils;
import org.apache.pulsar.client.api.PulsarClient;
import org.apache.pulsar.client.api.PulsarClientException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.PulsarContainer;
import org.testcontainers.utility.DockerImageName;
public class P... | __label__POS | 0.703516 |
package io.apicurio.tests.utils;
import io.strimzi.test.container.StrimziKafkaContainer;
import org.apache.kafka.clients.CommonClientConfigs;
import org.apache.kafka.clients.admin.AdminClient;
import org.apache.kafka.clients.admin.NewTopic;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Arr... | __label__POS | 0.738144 |
package io.apicurio.tests.utils;
import io.apicurio.registry.utils.IoUtil;
import io.apicurio.registry.utils.tests.TestUtils;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericRecord;
import java.io.InputStream;
import java.util.List;
import java.util.Obj... | __label__POS | 0.632606 |
package io.apicurio.tests.utils;
import io.restassured.response.Response;
import java.net.URL;
import static io.restassured.RestAssured.given;
public class BaseHttpUtils {
public static Response getRequest(String contentType, String endpoint, int returnCode) {
return given().when().contentType(contentT... | __label__POS | 0.99947 |
--[[
FinFeedAPI Stock REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
-- admin_operational_halt_status_model class
local ... | __label__POS | 0.62875 |
package io.apicurio.tests.utils;
import io.apicurio.tests.ApicurioRegistryBaseIT;
import io.restassured.response.Response;
import java.io.UncheckedIOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
public class ArtifactUtils {
public s... | __label__POS | 0.892713 |
package org.apereo.cas.lucene;
import org.apereo.cas.util.function.FunctionUtils;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Splitter;
import lombok.RequiredArgsConstructor;
import... | __label__POS | 0.925359 |
package io.apicurio.tests.serdes.apicurio;
import org.apache.kafka.clients.consumer.Consumer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import java.util.Objects;
import java.util.co... | __label__POS | 0.778181 |
package org.apereo.cas.token;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.ticket.AuthenticationAwareTicket;
import java.util.List;
import java.util.Map;
import java.uti... | __label__POS | 0.775289 |
package io.apicurio.tests.serdes.apicurio;
import io.apicurio.registry.utils.IoUtil;
import io.apicurio.registry.utils.tests.TestUtils;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericRecord;
import org.junit.jupiter.api.Assertions;
import java.io.Input... | __label__POS | 0.641156 |
package org.apereo.cas.token.cipher;
import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.RegisteredServiceCipherExecutor;
import org.apereo.cas.services.RegisteredServiceProperty;
import org.apereo.cas.servi... | __label__POS | 0.955809 |
package org.apereo.cas.token.cipher;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.RegisteredServiceProperty;
import org.apereo.cas.util.cipher.BaseStringCipherExecutor;
import lombok.val;
import java.util.Optional;
/**
* This is {@link JwtTicketCipherExecutor}.
*
* @author Mi... | __label__POS | 0.999552 |
package io.apicurio.tests.smokeTests.confluent;
import io.apicurio.tests.ApicurioRegistryBaseIT;
import io.apicurio.tests.utils.BaseHttpUtils;
import io.apicurio.tests.utils.RestConstants;
import io.restassured.response.Response;
import java.io.UncheckedIOException;
import java.net.MalformedURLException;
import java.... | __label__POS | 0.840867 |
package io.apicurio.tests.smokeTests.confluent;
import io.apicurio.tests.ApicurioRegistryBaseIT;
import io.apicurio.tests.utils.BaseHttpUtils;
import io.apicurio.tests.utils.RestConstants;
import io.restassured.response.Response;
import java.io.UncheckedIOException;
import java.net.MalformedURLException;
import java.... | __label__POS | 0.67968 |
package org.openapitools.model;
import groovy.transform.Canonical
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.openapitools.jackson.nullable.JsonNullable;
@Canonical
class OHLCVExchangeTimeseriesItem {
/* Gets or sets the start time of the time period. */
... | __label__POS | 0.909593 |
package org.openapitools.model;
import groovy.transform.Canonical
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.openapitools.jackson.nullable.JsonNullable;
@Canonical
class OHLCVTimeseriesItem {
/* Gets or sets the start time of the time period. */
Date tim... | __label__POS | 0.899292 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package io.apicurio.tests.common.serdes.proto;
public final class TestCmmn {
private TestCmmn() {
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
}
public static v... | __label__POS | 0.858559 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: log.proto
package io.apicurio.tests.common.serdes.proto;
@SuppressWarnings("all")
public final class MsgTypes {
private MsgTypes() {
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
... | __label__POS | 0.767274 |
package org.apereo.cas.ws.idp.metadata;
import org.apereo.cas.BaseCoreWsSecurityIdentityProviderConfigurationTests;
import lombok.val;
import org.apache.hc.core5.http.HttpStatus;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import ... | __label__POS | 0.820004 |
package org.apereo.cas.ws.idp.web;
import org.apereo.cas.ws.idp.WSFederationConstants;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.mock.web.MockHttpServletRequest;
import java.util.UUID;
import static org.junit.jupiter.api.Assertions.*;
/**
* ... | __label__POS | 0.982611 |
package io.apicurio.registry.client.auth;
import io.vertx.core.Vertx;
import io.vertx.ext.auth.oauth2.OAuth2Auth;
import io.vertx.ext.auth.oauth2.OAuth2FlowType;
import io.vertx.ext.auth.oauth2.OAuth2Options;
import io.vertx.ext.auth.oauth2.Oauth2Credentials;
import io.vertx.ext.web.client.OAuth2WebClient;
import io.v... | __label__POS | 0.983637 |
package org.apereo.cas.ws.idp.web;
import org.apereo.cas.ws.idp.WSFederationConstants;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import jakarta.servlet.http.HttpServletRequest;
/**
* This is {@link WSFederationRequest}.
*
* @author Misagh Moayyed
* @since 5.1.0
*/
public record WSFederation... | __label__POS | 0.998416 |
package org.apereo.cas.ws.idp.web;
import org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy;
import org.apereo.cas.authentication.SecurityTokenServiceTokenFetcher;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.authentication.principal.ServiceFactory;
import org.apereo... | __label__POS | 0.614916 |
package org.apereo.cas.ws.idp.services;
import org.apereo.cas.validation.TicketValidationResult;
import org.apereo.cas.ws.idp.web.WSFederationRequest;
import org.apache.cxf.ws.security.tokenstore.SecurityToken;
import jakarta.servlet.http.HttpServletRequest;
/**
* This is {@link WSFederationRelyingPartyTokenProduc... | __label__POS | 0.951567 |
package org.apereo.cas.ws.idp.services;
import org.apereo.cas.services.ImmutableInMemoryServiceRegistry;
import org.apereo.cas.services.RegisteredService;
import org.springframework.context.ConfigurableApplicationContext;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.st... | __label__POS | 0.999156 |
package org.apereo.cas.ws.idp.web.flow;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.CasWebflowConstants;
import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
import lombok.val;
import org.springframework.context.ConfigurableApplicationContext;
impor... | __label__POS | 0.997539 |
package org.apereo.cas.ws.idp.web.flow;
import org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy;
import org.apereo.cas.services.RegisteredServiceAccessStrategyUtils;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.we... | __label__POS | 0.899166 |
package org.apereo.cas.web.flow;
import org.apereo.cas.authentication.MultifactorAuthenticationPrincipalResolver;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.util.spring.SecurityContextUtils;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.supp... | __label__POS | 0.731816 |
package org.apereo.cas.web.flow.login;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.support.WebUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.webflow... | __label__POS | 0.858898 |
package org.apereo.cas.web.flow.login;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.services.RegisteredServiceProperty.RegisteredServiceProperties;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.serv... | __label__POS | 0.624063 |
package org.apereo.cas.web.flow.account;
import org.apereo.cas.ticket.registry.TicketRegistry;
import org.apereo.cas.web.flow.CasWebflowConstants;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.support.WebUtils;
import lombok.RequiredArgsConstructor;
import lombok.val;
import o... | __label__POS | 0.932572 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.logout.LogoutExecutionPlan;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.ticket.registry.TicketRegistry;
import org.apereo.cas.web.cookie.CasCookieBuilder;
import org.a... | __label__POS | 0.797421 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.logout.LogoutExecutionPlan;
import org.apereo.cas.logout.slo.SingleLogoutContinuation;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.ticket.registry.TicketRegistry;
impo... | __label__POS | 0.742253 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.CentralAuthenticationService;
import org.apereo.cas.configuration.model.core.logout.LogoutProperties;
import org.apereo.cas.logout.LogoutConfirmationResolver;
import org.apereo.cas.logout.LogoutManager;
import org.apereo.cas.logout.SessionTerminationHandler... | __label__POS | 0.796602 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.logout.LogoutExecutionPlan;
import org.apereo.cas.logout.LogoutRequestStatus;
import org.apereo.cas.logout.slo.SingleLogoutRequestContext;
import org.apereo.cas.logout.slo.SingleLogoutServiceMe... | __label__POS | 0.781172 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.logout.LogoutExecutionPlan;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.ticket.registry.TicketRegistry;
import org.apereo.cas.web.cookie.CasCookieBuilder;
import org.a... | __label__POS | 0.926158 |
package org.apereo.cas.web.flow.logout;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.logout.LogoutExecutionPlan;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.ticket.TicketGrantingTicket;
import org.apereo.cas.ticket.registry.TicketRegistry;
import org.a... | __label__POS | 0.990369 |
package org.apereo.cas.services.cassandra;
import org.apereo.cas.cassandra.CassandraSessionFactory;
import org.apereo.cas.configuration.model.support.cassandra.serviceregistry.CassandraServiceRegistryProperties;
import org.apereo.cas.configuration.support.Beans;
import org.apereo.cas.services.AbstractServiceRegistry;... | __label__POS | 0.638826 |
package org.apereo.cas.zookeeper;
import org.apereo.cas.configuration.model.support.hazelcast.HazelcastClusterProperties;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import com.hazelcast.config.Config;
import com.hazelcast.config.JoinConfig;
import com.hazelcast.config.NetworkConfig;
import lombok.val;... | __label__POS | 0.938751 |
package org.apereo.cas.zookeeper;
import org.apereo.cas.configuration.model.support.hazelcast.HazelcastClusterProperties;
import org.apereo.cas.hz.HazelcastDiscoveryStrategy;
import com.hazelcast.config.Config;
import com.hazelcast.config.DiscoveryStrategyConfig;
import com.hazelcast.config.JoinConfig;
import com.haz... | __label__POS | 0.991395 |
package org.apereo.cas.support.saml.idp.metadata;
import org.apereo.cas.support.saml.services.SamlRegisteredService;
import org.apereo.cas.support.saml.services.idp.metadata.SamlIdPMetadataDocument;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import ... | __label__POS | 0.788223 |
package org.apereo.cas.support.saml.idp.metadata;
import org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator;
import org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGeneratorConfigurationContext;
import org.apereo.cas.support.saml.services.SamlRegisteredService;
import org... | __label__POS | 0.885399 |
package org.apereo.cas.support.saml.idp.metadata;
import org.apereo.cas.util.cipher.BaseStringCipherExecutor;
/**
* This is {@link AmazonS3SamlIdPMetadataCipherExecutor}.
*
* @author Misagh Moayyed
* @since 6.0.0
*/
public class AmazonS3SamlIdPMetadataCipherExecutor extends BaseStringCipherExecutor {
public ... | __label__POS | 0.999925 |
import javax.script.ScriptEngineManager;
import javax.script.ScriptEngine;
public class JavaDynamicExecutionScriptmanagerTest {
public static void main(String[] args) throws Exception {
// TP
if (true) {
ScriptEngine engine = new ScriptEngineManager().getEngineByName("JavaScript");
... | __label__POS | 0.995048 |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;
/**
* Unit test for {@link RedisTicketRegistry}.
*
* @author Julien Gribonvald
* @since 6.1.0
*/
@TestPropertySource(pr... | __label__POS | 0.941014 |
package org.apereo.cas.nativex;
import org.apereo.cas.CentralAuthenticationService;
import org.apereo.cas.ticket.registry.CachedTicketExpirationPolicy;
import org.apereo.cas.ticket.registry.RedisTicketDocument;
import org.apereo.cas.ticket.registry.pub.RedisMessagePayload;
import org.apereo.cas.ticket.registry.sub.Red... | __label__POS | 0.939059 |
package io.apigee.trireme.test;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Arr... | __label__POS | 0.786191 |
package io.apigee.trireme.test;
import io.apigee.trireme.core.NodeEnvironment;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Map;
import java.util.regex.Pattern;
public abstract class TestBase
{
public static final int DEFAULT_TIMEOUT =... | __label__POS | 0.786271 |
package org.apereo.cas.ticket.registry;
import lombok.Builder;
import org.springframework.data.annotation.Id;
import java.io.Serial;
import java.io.Serializable;
import java.util.Map;
/**
* This is {@link RedisTicketDocument}.
*
* @author Misagh Moayyed
* @since 5.1.0
*/
@Builder
public record RedisTicketDocumen... | __label__POS | 0.99683 |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ticket.registry.key.RedisKeyGenerator;
import com.github.benmanes.caffeine.cache.Expiry;
import lombok.extern.slf4j.Slf4j;
import java.time.Duration;
/**
* This is {@link CachedTicketExpirationPolicy}.
*
* @author ... | __label__POS | 0.999438 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.