content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package org.apereo.cas.authentication;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;
/**
* Unit test for {@link LdapAuthenticationHandler}.
* This test demonstrates using the AD type.
* Login name is {@code ... | __label__POS | 0.733931 |
package org.apereo.cas.authentication;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;
/**
* Unit test for {@link LdapAuthenticationHandler}.
*
* @author Marvin S. Addison
* @author Misagh Moayyed
* @since ... | __label__POS | 0.964668 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.attribute.PrincipalAttributeRepositoryFetcher;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import lombok.val;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.s... | __label__POS | 0.76492 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="is" lang="is">
<!-- TM Software build version: 2.0.0.0 | 11.9.2017 | 15:24 -->
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jquer... | __label__POS | 0.862717 |
<!doctype html>
<title>CodeMirror: Scheme mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="scheme.js"></script>
<style>.CodeMirror {background: #f8f8f8;}</style>
<di... | __label__POS | 0.604403 |
package org.apereo.cas.support.geo;
import org.apereo.cas.authentication.CasSSLContext;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationResponse;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
... | __label__POS | 0.88976 |
#include <emscripten.h>
#include <emscripten/bind.h>
#include <gvc.h>
using namespace emscripten;
extern gvplugin_library_t gvplugin_core_LTX_library;
extern gvplugin_library_t gvplugin_dot_layout_LTX_library;
static std::string errorMessages;
int vizErrorf(char *buf) {
errorMessages.append(buf);
return 0;
}
s... | __label__POS | 0.946023 |
<!doctype html>
<title>CodeMirror: Go mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<link rel="stylesheet" href="../../theme/elegant.css">
<script src="../../lib/codemirror.js"></script>
<script src="../../addon/edit/matchb... | __label__POS | 0.659392 |
package org.apereo.cas.support.geo;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationResponse;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationService;
import org.apereo.cas.util.function.FunctionUtils;
import lombok.extern... | __label__POS | 0.961464 |
package org.apereo.cas.support.geo;
import org.apereo.cas.authentication.adaptive.geo.GeoLocationResponse;
import org.apereo.cas.util.scripting.ExecutableCompiledScript;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.context.ApplicationContext;
im... | __label__POS | 0.992929 |
package org.apereo.cas.support.events;
import org.apereo.cas.configuration.model.core.events.DynamoDbEventsProperties;
import org.apereo.cas.dynamodb.DynamoDbQueryBuilder;
import org.apereo.cas.dynamodb.DynamoDbTableUtils;
import org.apereo.cas.support.events.dao.CasEvent;
import org.apereo.cas.util.serialization.Jack... | __label__POS | 0.631607 |
package org.apereo.cas.support.events;
import org.apereo.cas.support.events.dao.AbstractCasEventRepository;
import org.apereo.cas.support.events.dao.CasEvent;
import org.apereo.cas.util.function.FunctionUtils;
import java.time.ZonedDateTime;
import java.util.stream.Stream;
/**
* This is {@link DynamoDbCasEventRepos... | __label__POS | 0.979509 |
package io.apiman.gateway.platforms.vertx3.helpers;
import io.apiman.gateway.platforms.vertx3.common.config.VertxEngineConfig;
import org.apache.commons.lang3.StringUtils;
import java.net.URI;
/**
* Helper for Gateway and Api Endpoints (Reading Endpoint from Vertx Config)
*/
public class EndpointHelper {
priv... | __label__POS | 0.86672 |
package org.apereo.cas.oidc.jwks.generator;
import org.apereo.cas.config.CasOidcJwksMongoDbAutoConfiguration;
import org.apereo.cas.oidc.AbstractOidcTests;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import lombok.val;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Tag;
import org.ju... | __label__POS | 0.60872 |
package org.apereo.cas.oidc.jwks.generator.mongo;
import org.apereo.cas.configuration.model.support.oidc.OidcProperties;
import org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreEntity;
import org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService;
import lombok.RequiredArgsConstructor;
import lom... | __label__POS | 0.766685 |
var Parse = {
// 压缩JSON
compress: function (source) {
var index = 0, length = source.length, symbol, position, result = ""
while (index < length) {
symbol = source[index];
if ("\t\r\n ".indexOf(symbol) > -1) {
// Skip whitespace tokens.
index++;
} else if (symbol == "/") {... | __label__POS | 0.828906 |
package org.apereo.cas.interrupt;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.util.NamedObject;
import org.springframework.core.Orde... | __label__POS | 0.933357 |
package org.apereo.cas.interrupt;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serial;
import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* This is {... | __label__POS | 0.932931 |
/*Copyright ©2017 TommyLemon(https://github.com/TommyLemon/CVAuto)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use StringUtil file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | __label__POS | 0.715691 |
@font-face {
font-family: 'TencentSansW7';
src: url('data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAusAA4AAAAAEJQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAALkAAAABwAAAAchqPqzUdERUYAAAtwAAAAHgAAAB4AKQAbT1MvMgAAAbgAAABZAAAAYGmceoNjbWFwAAACYAAAAJcAAAHsPmfPZmdhc3AAAAtkAAAADAAAAAwACAAbZ2x5ZgAAAywAAAW8AAAG/Iv... | __label__POS | 0.866466 |
/**
* FinFeedAPI SEC 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 OpenAPI Generator (https://openapi-generator.tech).
* h... | __label__POS | 0.696295 |
package org.apereo.cas.config;
import org.apereo.cas.aws.ChainingAWSCredentialsProvider;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.apereo.cas.util.spring.boot.ConditionalOnFeatureEnabled;
import io.micrometer.cloudwatch2.CloudWatchConfig;
import io.micrometer.cloudwatch2.CloudWatchMeter... | __label__POS | 0.642613 |
package org.apereo.cas.webauthn;
import org.apereo.cas.config.CasHibernateJpaAutoConfiguration;
import org.apereo.cas.config.CasJpaWebAuthnAutoConfiguration;
import org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepositoryTests;
import org.jose4j.jwe.ContentEncryptionAlgorithmIdentifiers;
import org.junit.jupit... | __label__POS | 0.811471 |
package org.apereo.cas.webauthn;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.util.crypto.CipherExecutor;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository;
import com.fasterxml.jackson.core.type.TypeRefe... | __label__POS | 0.637751 |
package org.apereo.cas.services;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.PublisherIdentifier;
import org.apereo.cas.util.cache.DistributedCacheManager;
import org.apereo.cas.util.cache.DistributedCacheObject;
import org.apereo.cas.util.cache.MappableDistributedCacheManager;
import com.goog... | __label__POS | 0.988034 |
package org.apereo.cas.services;
import org.apereo.cas.support.events.service.CasRegisteredServiceDeletedEvent;
import org.apereo.cas.util.PublisherIdentifier;
import org.apereo.cas.util.cache.DistributedCacheManager;
import org.apereo.cas.util.cache.DistributedCacheObject;
import lombok.Getter;
import lombok.Require... | __label__POS | 0.969506 |
<!doctype html>
<title>CodeMirror: Language Modes</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../doc/docs.css">
<div id=nav>
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../doc/logo.png"></a>
<ul>
<li><a href="../index.html">Home</a>
<li><a href="../doc/manual.html"... | __label__POS | 0.999881 |
package org.apereo.cas.config;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.apereo.cas.dynamodb.AmazonDynamoDbClientFactory;
import org.apereo.cas.ticket.TicketCatalog;
import org.apereo.cas.ticket.catalog.CasTicketCatalogConf... | __label__POS | 0.638744 |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.configuration.model.support.dynamodb.DynamoDbTicketRegistryProperties;
import org.apereo.cas.dynamodb.DynamoDbQueryBuilder;
import org.apereo.cas.dynamodb.DynamoDbTableUtils;
import org.apereo.cas.tick... | __label__POS | 0.887698 |
note
description:"[
FinFeedAPI SEC 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 OpenAPI Generator (https://openapi-genera... | __label__POS | 0.651153 |
package org.apereo.cas.adaptors.trusted.authentication.principal;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.mock.web.MockHttpServletRequest;
import java.util.List;
import java.util.Map;
import static org.junit.jupiter.api.Assertions.*;
/**
* ... | __label__POS | 0.974362 |
package org.apereo.cas.adaptors.trusted.authentication.principal;
import org.apereo.cas.authentication.principal.PrincipalFactoryUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUtils;
im... | __label__POS | 0.757004 |
note
description: "Summary description for {JSON_BASIC_REFLECTOR_DESERIALIZER}."
date: "$Date$"
revision: "$Revision$"
class
JSON_BASIC_REFLECTOR_DESERIALIZER
inherit
JSON_DESERIALIZER
redefine
reset
end
JSON_TYPE_UTILITIES_EXT
feature -- Conversion
from_json (a_json: detachable JSON_VALUE; ctx: JSON... | __label__POS | 0.625568 |
package org.apereo.cas.adaptors.trusted.authentication.handler.support;
import org.apereo.cas.adaptors.trusted.authentication.principal.PrincipalBearingCredential;
import org.apereo.cas.authentication.credential.UsernamePasswordCredential;
import org.apereo.cas.authentication.principal.PrincipalFactoryUtils;
import or... | __label__POS | 0.982093 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.util.MockRequestContext;
import org.apereo.cas.web.flow.CasWebflowConstants;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... | __label__POS | 0.686685 |
package org.apereo.cas.adaptors.trusted.web.flow;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.mock.web.MockHttpServletRequ... | __label__POS | 0.753354 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.util.MockRequestContext;
import org.apereo.cas.web.flow.CasWebflowConstants;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... | __label__POS | 0.727868 |
package org.apereo.cas.adaptors.trusted.authentication.principal;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.RegexUtils;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import jakarta.servlet.http.HttpServletRequest;
import java.util... | __label__POS | 0.835361 |
package org.apereo.cas.adaptors.trusted.authentication.principal;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.authentication.principal.resolvers.PersonDirectoryPrincipalResolver;
import org.apereo.cas.authentication.principal.resolver... | __label__POS | 0.941623 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.adaptors.trusted.authentication.principal.RemoteRequestPrincipalAttributesExtractor;
import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy;
import org.apereo.cas.authentication.principal.PrincipalFactory;
import org.apereo.cas... | __label__POS | 0.963051 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.adaptors.trusted.authentication.principal.PrincipalBearingCredential;
import org.apereo.cas.adaptors.trusted.authentication.principal.RemoteRequestPrincipalAttributesExtractor;
import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPo... | __label__POS | 0.896933 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.adaptors.trusted.authentication.principal.RemoteRequestPrincipalAttributesExtractor;
import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy;
import org.apereo.cas.authentication.principal.PrincipalFactory;
import org.apereo.cas... | __label__POS | 0.6331 |
package org.apereo.cas.adaptors.trusted.web.flow;
import org.apereo.cas.adaptors.trusted.authentication.principal.PrincipalBearingCredential;
import org.apereo.cas.adaptors.trusted.authentication.principal.RemoteRequestPrincipalAttributesExtractor;
import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPo... | __label__POS | 0.933535 |
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 |
--[[
FinFeedAPI SEC 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 = require... | __label__POS | 0.616926 |
--[[
FinFeedAPI SEC 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 = require... | __label__POS | 0.681988 |
--[[
FinFeedAPI SEC 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 = require... | __label__POS | 0.66761 |
--[[
FinFeedAPI SEC 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 = require... | __label__POS | 0.699703 |
--[[
FinFeedAPI SEC 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 = require... | __label__POS | 0.762822 |
package org.apereo.cas.version;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.javers.core.Javers;
import org.javers.repository.jql.QueryBuilder;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
/**
* This is {@link JaversEntityHist... | __label__POS | 0.848682 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: /Users/msavy/oss/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 29/04/2022, 13:18
-- Against: apiman@offline:postg... | __label__POS | 0.60125 |
SET default_storage_engine=INNODB;
CREATE TABLE gw_apis (org_id VARCHAR(150) NOT NULL, id VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, bean LONGTEXT NOT NULL);
ALTER TABLE gw_apis ADD PRIMARY KEY (org_id, id, version);
CREATE TABLE gw_clients (api_key VARCHAR(255) NOT NULL, org_id VARCHAR(150) NOT NULL, id VA... | __label__POS | 0.965235 |
CREATE TABLE gw_apis (org_id VARCHAR2(255) NOT NULL, id VARCHAR2(255) NOT NULL, version VARCHAR2(255) NOT NULL, bean CLOB NOT NULL);
ALTER TABLE gw_apis ADD PRIMARY KEY (org_id, id, version);
CREATE TABLE gw_clients (api_key VARCHAR2(255) NOT NULL, org_id VARCHAR2(255) NOT NULL, id VARCHAR2(255) NOT NULL, version VAR... | __label__POS | 0.982444 |
CREATE TABLE gw_apis (org_id VARCHAR(255) NOT NULL, id VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, bean CLOB NOT NULL);
ALTER TABLE gw_apis ADD PRIMARY KEY (org_id, id, version);
CREATE TABLE gw_clients (api_key VARCHAR(255) NOT NULL, org_id VARCHAR(255) NOT NULL, id VARCHAR(255) NOT NULL, version VARCHAR(2... | __label__POS | 0.974031 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: /Users/msavy/oss/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 23/06/2022, 10:33
-- Against: apiman@offline:oracl... | __label__POS | 0.934131 |
CREATE TABLE gw_apis (org_id VARCHAR(255) NOT NULL, id VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, bean TEXT NOT NULL);
ALTER TABLE gw_apis ADD PRIMARY KEY (org_id, id, version);
CREATE TABLE gw_clients (api_key VARCHAR(255) NOT NULL, org_id VARCHAR(255) NOT NULL, id VARCHAR(255) NOT NULL, version VARCHAR(2... | __label__POS | 0.980663 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: /Users/msavy/oss/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 23/06/2022, 10:33
-- Against: apiman@offline... | __label__POS | 0.938345 |
CREATE TABLE [gw_apis] ([org_id] VARCHAR(255) NOT NULL, [id] VARCHAR(255) NOT NULL, [version] VARCHAR(255) NOT NULL, [bean] TEXT NOT NULL);
ALTER TABLE [gw_apis] ADD PRIMARY KEY ([org_id], [id], [version]);
CREATE TABLE [gw_clients] ([api_key] VARCHAR(255) NOT NULL, [org_id] VARCHAR(255) NOT NULL, [id] VARCHAR(255) N... | __label__POS | 0.996161 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: /Users/msavy/oss/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 29/04/2022, 13:23
-- Against: apiman@offline:mssql... | __label__POS | 0.936656 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: /Users/msavy/oss/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 23/06/2022, 10:33
-- Against: sa@offline:h2?versio... | __label__POS | 0.941682 |
package org.apereo.cas.ticket.registry.compact;
import org.apereo.cas.authentication.principal.ServiceFactory;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ticket.TicketFactory;
import org.apereo.cas.ticket.TransientSessionTicket;
import org.apereo.cas.ticket.TransientSessionTicketFactory;
import org.ape... | __label__POS | 0.717229 |
import io.apiman.manager.api.beans.events.ApimanEventHeaders;
import io.apiman.manager.api.beans.events.ContractApprovalEvent;
import io.apiman.manager.api.beans.events.ContractCreatedEvent;
import io.apiman.manager.api.beans.events.IVersionedApimanEvent;
import io.apiman.manager.api.beans.idm.UserDto;
import io.apiman... | __label__POS | 0.763268 |
package org.apereo.cas.web.flow;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.BrowserStorage;
import org.apereo.cas.web.flow.actions.ConsumerExecutionAction;
import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
import lombok.extern.slf4j.Slf4j;
import lom... | __label__POS | 0.913131 |
package org.apereo.cas.kafka;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.val;
import org.apache.kafka.clients.admin.AdminClient;
import org.apache.kafka.clients.admin.AdminClientConfig;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.producer.Pro... | __label__POS | 0.992796 |
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 9/29/15 2:11 PM
-- Against: null@offline:h2?v... | __label__POS | 0.962456 |
package org.apereo.cas.web;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.validation.ValidationResponseType;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
impo... | __label__POS | 0.772283 |
package org.apereo.cas.web.view;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.ProtocolAttributeEncoder;
import org.apereo.cas.authentication.attribute.AttributeDefinitionStore;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.service... | __label__POS | 0.889071 |
package org.apereo.cas.web.view;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.ProtocolAttributeEncoder;
import org.apereo.cas.authentication.attribute.AttributeDefinitionStore;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.validat... | __label__POS | 0.90451 |
package org.apereo.cas.web.view.json;
import org.apereo.cas.CasViewConstants;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.ProtocolAttributeEncoder;
import org.apereo.cas.authentication.attribute.AttributeDefinitionStore;
import org.apereo.cas.services.S... | __label__POS | 0.81257 |
package org.apereo.cas.web.view.attributes;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.validation.CasProtocolAttributesRenderer;
import lombok.val;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
import java.util.stream.Collectors;
/**
* This is {@link Attribut... | __label__POS | 0.996802 |
package org.apereo.cas.web.view.attributes;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.validation.CasProtocolAttributesRenderer;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.text.StringEscapeUtils;
import java.util.ArrayList;
import java.util.Collection;
import ... | __label__POS | 0.79115 |
/*
* Copyright 2015 JBoss Inc
*
* 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | __label__POS | 0.999952 |
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | __label__POS | 0.692729 |
<?php
use League\Fractal\Resource\Collection;
use League\Fractal\Resource\Item;
use League\Fractal\Manager;
class ApiController extends Controller
{
protected $statusCode = 200;
const CODE_WRONG_ARGS = 'GEN-FUBARGS';
const CODE_NOT_FOUND = 'GEN-LIKETHEWIND';
const CODE_INTERNAL_ERROR = 'GEN-AAAGGH';
... | __label__POS | 0.938737 |
package org.apereo.cas.support.saml.mdui.web.flow;
import org.apereo.cas.config.CasCoreSamlAutoConfiguration;
import org.apereo.cas.config.CasSamlMetadataUIAutoConfiguration;
import org.apereo.cas.web.flow.BaseWebflowConfigurerTests;
import org.apereo.cas.web.flow.CasWebflowConfigurer;
import lombok.val;
import org.ju... | __label__POS | 0.760611 |
<?php namespace App\Transformer;
use Place;
use League\Fractal\TransformerAbstract;
class PlaceTransformer extends TransformerAbstract
{
protected $availableEmbeds = [
'checkins'
];
/**
* Turn this item object into a generic array
*
* @return array
*/
public function trans... | __label__POS | 0.703284 |
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | __label__POS | 0.692729 |
package org.apereo.cas.support.saml.mdui.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.ConfigurableApplicationCon... | __label__POS | 0.996691 |
<!doctype html>
<title>CodeMirror: Dart mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="../clike/clike.js"></script>
<script src="dart.js"></script>
<style>.CodeMirr... | __label__POS | 0.610479 |
package org.apereo.cas.shell.commands.util;
import org.apereo.cas.shell.commands.BaseCasShellCommandTests;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import lombok.val;
import org.apache.commons.lang3.Strings;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframewo... | __label__POS | 0.905212 |
package org.apereo.cas.shell.commands.properties;
import org.apereo.cas.shell.commands.BaseCasShellCommandTests;
import lombok.val;
import org.apache.commons.io.FilenameUtils;
import org.cryptacular.io.ClassPathResource;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.FileWriter;
im... | __label__POS | 0.699187 |
package org.apereo.cas.shell.commands.jasypt;
import org.apereo.cas.shell.commands.BaseCasShellCommandTests;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
/**
* This is {@link JasyptDecryptPropertyCommandTests}.
*
* @author Misagh Moayyed
... | __label__POS | 0.68845 |
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | __label__POS | 0.692729 |
<?php
class RemindersController extends Controller {
/**
* Display the password reminder view.
*
* @return Response
*/
public function getRemind()
{
return View::make('password.remind');
}
/**
* Handle a POST request to remind a user of their password.
*
* @return Response
*/
public function ... | __label__POS | 0.932014 |
<?php
use League\Fractal\Resource\Collection;
use League\Fractal\Resource\Item;
use League\Fractal\Manager;
class ApiController extends Controller
{
protected $statusCode = 200;
const CODE_WRONG_ARGS = 'GEN-FUBARGS';
const CODE_NOT_FOUND = 'GEN-LIKETHEWIND';
const CODE_INTERNAL_ERROR = 'GEN-AAAGGH';
... | __label__POS | 0.96764 |
package org.apereo.cas;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.util.spring.boot.DefaultCasBanner;
import lombok.NoArgsConstructor;
import lombok.val;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boo... | __label__POS | 0.950677 |
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | __label__POS | 0.692729 |
<?php
class RemindersController extends Controller {
/**
* Display the password reminder view.
*
* @return Response
*/
public function getRemind()
{
return View::make('password.remind');
}
/**
* Handle a POST request to remind a user of their password.
*
* @return Response
*/
public function ... | __label__POS | 0.932014 |
<?php
use League\Fractal\Resource\Collection;
use League\Fractal\Resource\Item;
use League\Fractal\Manager;
class ApiController extends Controller
{
protected $statusCode = 200;
const CODE_WRONG_ARGS = 'GEN-FUBARGS';
const CODE_NOT_FOUND = 'GEN-LIKETHEWIND';
const CODE_INTERNAL_ERROR = 'GEN-AAAGGH';
... | __label__POS | 0.96764 |
/*
* Copyright 2015 JBoss Inc
*
* 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | __label__POS | 0.969354 |
package org.apereo.cas.support.sms;
import org.apereo.cas.configuration.model.support.sms.TextMagicProperties;
import org.apereo.cas.notifications.sms.SmsSender;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.http.HttpClient;
import com.squareup.... | __label__POS | 0.891526 |
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | __label__POS | 0.692729 |
<?php
use League\Fractal\Resource\Collection;
use League\Fractal\Resource\Item;
use League\Fractal\Manager;
class ApiController extends Controller
{
protected $statusCode = 200;
const CODE_WRONG_ARGS = 'GEN-FUBARGS';
const CODE_NOT_FOUND = 'GEN-LIKETHEWIND';
const CODE_INTERNAL_ERROR = 'GEN-AAAGGH';
... | __label__POS | 0.956368 |
<?php namespace App\Transformer;
use Checkin;
use League\Fractal\TransformerAbstract;
class CheckinTransformer extends TransformerAbstract
{
/**
* List of resources possible to embed via this processor
*
* @var array
*/
protected $availableEmbeds = [
'place',
'user',
];... | __label__POS | 0.879911 |
<?php namespace App\Transformer;
use Place;
use League\Fractal\TransformerAbstract;
class PlaceTransformer extends TransformerAbstract
{
protected $availableEmbeds = [
'checkins'
];
/**
* Turn this item object into a generic array
*
* @return array
*/
public function trans... | __label__POS | 0.703284 |
package org.apereo.cas.web.report;
import org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.MediaType;
import org.springframew... | __label__POS | 0.69027 |
package org.apereo.cas.web.report;
import org.apereo.cas.util.http.HttpUtils;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.MediaType;
import org.springframework.test.context.TestPropertySource;
import static org.springframework.test.web.servlet.request.MockMvcReq... | __label__POS | 0.753765 |
package org.apereo.cas.web.report;
import org.apereo.cas.authentication.handler.support.ProxyAuthenticationHandler;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.MediaType;
import org.springframework.test.context.TestPropertySource;
import static org.springframewo... | __label__POS | 0.866472 |
package org.apereo.cas.web.report;
import org.apereo.cas.authentication.policy.AtLeastOneCredentialValidatedAuthenticationPolicy;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.MediaType;
import org.springframework.test.context.TestPropertySource;
import static org... | __label__POS | 0.856171 |
package org.apereo.cas.web.report;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.MediaType;
import org.springframework.test.context.TestPropertySource;
import static org.junit.jupiter.api.Assertions.*;... | __label__POS | 0.81932 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.