content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package org.apereo.cas.acct.webflow;
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;
import o... | __label__POS | 0.993009 |
package org.apereo.cas.acct.webflow;
import org.apereo.cas.acct.AccountRegistrationService;
import org.apereo.cas.acct.AccountRegistrationUtils;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.support.WebUtils;
import lombok.RequiredArgsC... | __label__POS | 0.65506 |
package org.apereo.cas.acct.webflow;
import org.apereo.cas.acct.AccountRegistrationProperty;
import org.apereo.cas.acct.AccountRegistrationService;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.springframework.webflow.execution.Event;... | __label__POS | 0.969628 |
package org.apereo.cas.acct.webflow;
import org.apereo.cas.acct.AccountRegistrationUtils;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.CasWebflowConstants;
import org.apereo.cas.web.flow.actions.ConsumerExecutionAction;
import org.apereo.cas.web.flow.configurer.Abstrac... | __label__POS | 0.909676 |
package io.apicurio.registry;
/**
* Created by aohana
*/
public class JsonSchemas {
public static final String jsonSchema = "{\n" + " \"type\": \"object\",\n" + " \"properties\": {\n"
+ " \"age\": {\n"
+ " \"description\": \"Age in years which must be equal to or greater than z... | __label__POS | 0.937234 |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.ticket.TicketGrantingTicketImpl;
import org.apereo.cas.ticket.expiration.NeverExpiresExpirationPolicy;
import org.apereo.cas.ticket.registry.pubsub.DefaultQueueableTicketRegistryMessageReceiv... | __label__POS | 0.674645 |
package org.apereo.cas.ticket.registry.queue;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.ticket.TicketGrantingTicketImpl;
import org.apereo.cas.ticket.expiration.NeverExpiresExpirationPolicy;
import org.apereo.cas.ticket.registry.pubsub.commands.DeleteTicketsMessageQueueCom... | __label__POS | 0.878879 |
package org.apereo.cas.ticket.registry.queue;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.ticket.TicketGrantingTicketImpl;
import org.apereo.cas.ticket.expiration.NeverExpiresExpirationPolicy;
import org.apereo.cas.ticket.registry.pubsub.commands.UpdateTicketMessageQueueComm... | __label__POS | 0.787054 |
package org.apereo.cas.ticket.registry.queue;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.ticket.TicketGrantingTicketImpl;
import org.apereo.cas.ticket.expiration.NeverExpiresExpirationPolicy;
import org.apereo.cas.ticket.registry.pubsub.commands.AddTicketMessageQueueCommand... | __label__POS | 0.694591 |
package org.apereo.cas.ticket.registry.queue;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.ticket.TicketGrantingTicketImpl;
import org.apereo.cas.ticket.expiration.NeverExpiresExpirationPolicy;
import org.apereo.cas.ticket.registry.pubsub.commands.DeleteTicketMessageQueueComm... | __label__POS | 0.662082 |
package org.apereo.cas.ticket.registry.queue;
import org.apereo.cas.ticket.registry.pubsub.commands.BaseMessageQueueCommand;
import org.apereo.cas.ticket.registry.pubsub.queue.QueueableTicketRegistryMessagePublisher;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.la... | __label__POS | 0.770371 |
package io.apicurio.registry.rbac;
import io.apicurio.registry.logging.audit.AuditHttpRequestInfo;
import io.apicurio.registry.logging.audit.AuditLogService;
import io.quarkus.test.Mock;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArrayList;
@Mock
pub... | __label__POS | 0.984459 |
package org.apereo.cas.heimdall;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import org.springframework.http.HttpStatus;
import org.springframework.htt... | __label__POS | 0.947898 |
package org.apereo.cas.heimdall;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.NoArgsConstructor;
import lombok.experimental.Su... | __label__POS | 0.875199 |
package io.apicurio.registry.metrics;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import static io.apicurio.registry.metrics.MetricsConstants.REST_REQUESTS;
import static io.apicuri... | __label__POS | 0.988754 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package io.apicurio.registry.support;
public final class TestCmmn {
private TestCmmn() {
}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void regis... | __label__POS | 0.788585 |
package org.apereo.cas.heimdall.engine;
import org.apereo.cas.heimdall.AuthorizationRequest;
import org.apereo.cas.heimdall.AuthorizationResponse;
import org.apereo.cas.heimdall.authorizer.ResourceAuthorizer;
import org.apereo.cas.heimdall.authorizer.repository.AuthorizableResourceRepository;
import org.apereo.cas.hei... | __label__POS | 0.946494 |
package io.apicurio.registry.support;
import com.fasterxml.jackson.annotation.JsonProperty;
public class City {
@JsonProperty("name")
private String name;
@JsonProperty("zipCode")
private Integer zipCode;
@JsonProperty("qualification")
private CityQualification qualification;
public Ci... | __label__POS | 0.815052 |
package org.apereo.cas.heimdall.authzen;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.With;
import lombok.experimental.SuperBuilder;
import org.springfram... | __label__POS | 0.686183 |
package org.apereo.cas.heimdall.authorizer;
import org.apereo.cas.heimdall.AuthorizationRequest;
import org.apereo.cas.heimdall.authorizer.resource.AuthorizableResource;
import lombok.val;
import org.jooq.lambda.Unchecked;
/**
* This is {@link DefaultResourceAuthorizer}.
*
* @author Misagh Moayyed
* @since 7.2.0
... | __label__POS | 0.996481 |
---
id: scraping
title: Scraping
---
import ApiLink from '@site/src/components/ApiLink';
import RunnableCodeBlock from '@site/src/components/RunnableCodeBlock';
import ScrapingExample from '!!raw-loader!roa-loader!./code_examples/06_scraping.py';
In the [Real-world project](./real-world-project#choosing-the-data-you... | __label__POS | 0.754006 |
package io.apicurio.registry.support;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CitizenIdentifier {
@JsonProperty("identifier")
private Integer identifier;
@JsonProperty("qualification")
private IdentifierQualification identifierQualification;
public CitizenIdentifier()... | __label__POS | 0.863716 |
package org.apereo.cas.heimdall.authorizer.repository;
import org.apereo.cas.heimdall.AuthorizationRequest;
import org.apereo.cas.heimdall.authorizer.resource.AuthorizableResource;
import org.springframework.beans.factory.DisposableBean;
import java.util.List;
import java.util.Map;
import java.util.Optional;
/**
* T... | __label__POS | 0.990119 |
# ESLint
#
# Configuration: http://eslint.org/docs/user-guide/configuring
# Rules: http://eslint.org/docs/rules/
---
env:
node: true
rules:
array-bracket-spacing: [2, "never"]
brace-style: [2, "1tbs"]
comma-style: [2, "last"]
computed-property-spacing: [2, "never"]
curly: [2, "multi-li... | __label__POS | 0.83509 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.oidc.OidcConstants;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import lombok.Getter;
i... | __label__POS | 0.6528 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.oidc.OidcConstants;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import lombok.Getter;
i... | __label__POS | 0.64958 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.support.oauth.OAuth20Constants;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import lomb... | __label__POS | 0.631667 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.oidc.OidcConstants;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import lombok.Getter;
i... | __label__POS | 0.695439 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.heimdall.AuthorizationRequest;
import org.apereo.cas.heimdall.authorizer.AuthorizationResult;
import org.apereo.cas.heimdall.authorizer.resource.AuthorizableResource;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Eq... | __label__POS | 0.845927 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Apigee Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | __label__POS | 0.607612 |
package com.apigee.edge.config.mavenplugin.kvm;
import com.apigee.edge.config.rest.RestUtil;
import com.google.api.client.http.HttpResponse;
import org.apache.maven.plugin.MojoFailureException;
import java.io.IOException;
public class KvmOrg extends KvmOperations implements Kvm {
@Override
public HttpResponse ... | __label__POS | 0.999321 |
package com.apigee.edge.config.mavenplugin.kvm;
import com.apigee.edge.config.rest.RestUtil;
import com.google.api.client.http.HttpResponse;
import org.apache.maven.plugin.MojoFailureException;
import java.io.IOException;
public class KvmApi extends KvmOperations implements Kvm {
@Override
public HttpResponse ... | __label__POS | 0.999131 |
package com.apigee.edge.config.mavenplugin.kvm;
import com.apigee.edge.config.utils.ServerProfile;
public class KvmValueObject {
private ServerProfile profile;
private String api;
private String kvmName;
private String kvm;
public KvmValueObject(ServerProfile profile, String api, String kvmName,... | __label__POS | 0.754399 |
package com.apigee.edge.config.mavenplugin.kvm;
import com.apigee.edge.config.rest.RestUtil;
import com.google.api.client.http.HttpResponse;
import org.apache.maven.plugin.MojoFailureException;
import java.io.IOException;
public class KvmEnv extends KvmOperations implements Kvm {
@Override
public HttpResponse ... | __label__POS | 0.999327 |
package io.apicurio.registry.noprofile.maven;
import io.apicurio.registry.maven.RegisterRegistryMojo;
import io.apicurio.registry.utils.tests.TestUtils;
import io.quarkus.test.junit.QuarkusTest;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.junit... | __label__POS | 0.892303 |
package io.apicurio.registry.noprofile.maven;
import io.apicurio.registry.maven.DownloadArtifact;
import io.apicurio.registry.maven.DownloadRegistryMojo;
import io.apicurio.registry.rest.client.models.CreateArtifact;
import io.apicurio.registry.types.ArtifactType;
import io.apicurio.registry.types.ContentTypes;
import... | __label__POS | 0.734749 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | __label__POS | 0.873094 |
package org.apereo.cas.heimdall.authorizer.resource.policy;
import org.apereo.cas.oidc.OidcConstants;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import lombok.Getter;
i... | __label__POS | 0.630265 |
package io.apicurio.registry.noprofile.maven;
import io.apicurio.registry.maven.DownloadArtifact;
import io.apicurio.registry.maven.DownloadRegistryMojo;
import io.apicurio.registry.maven.RegisterArtifact;
import io.apicurio.registry.maven.RegisterArtifactReference;
import io.apicurio.registry.maven.RegisterRegistryMo... | __label__POS | 0.863129 |
package io.apicurio.registry.noprofile.config;
import io.apicurio.registry.AbstractResourceTestBase;
import io.quarkus.test.junit.QuarkusTest;
import org.eclipse.microprofile.config.ConfigProvider;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.stre... | __label__POS | 0.982674 |
package io.apicurio.registry.noprofile.ccompat;
import io.api.sample.TableNotification;
import io.apicurio.registry.AbstractResourceTestBase;
import io.apicurio.registry.rest.client.models.CreateRule;
import io.apicurio.registry.rest.client.models.RuleType;
import io.confluent.kafka.serializers.protobuf.KafkaProtobufD... | __label__POS | 0.733187 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | __label__POS | 0.964321 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | __label__POS | 0.932548 |
package org.apereo.cas.mongo;
import org.apereo.cas.configuration.model.support.mongo.BaseMongoDbProperties;
import org.apereo.cas.configuration.support.Beans;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.function.FunctionUtils;
import com.mongodb.Con... | __label__POS | 0.643669 |
package org.apereo.cas.mongo;
import org.apereo.cas.authentication.principal.attribute.PersonAttributes;
import org.apereo.cas.util.DateTimeUtils;
import org.apereo.cas.util.RegexUtils;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import... | __label__POS | 0.767602 |
package io.apicurio.registry.noprofile.rest.v3;
import io.apicurio.registry.AbstractResourceTestBase;
import io.apicurio.registry.rest.client.models.ArtifactMetaData;
import io.apicurio.registry.rest.client.models.CreateArtifact;
import io.apicurio.registry.rest.client.models.CreateVersion;
import io.apicurio.registry... | __label__POS | 0.60208 |
package org.apereo.cas.adaptors.x509.util;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import javax.security.auth.x500.X500Principal;
import java.math.BigInteger;
import java.security.PublicKey;
import java.security.cert.Certificate;
import java.security.cert.X509CRL;
import j... | __label__POS | 0.827716 |
package org.apereo.cas.adaptors.x509.util;
import org.apereo.cas.adaptors.x509.authentication.CasX509Certificate;
import org.apereo.cas.adaptors.x509.authentication.principal.X509CertificateCredential;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.core.type.TypeRefe... | __label__POS | 0.921183 |
package org.apereo.cas.adaptors.x509.authentication;
import org.apereo.cas.adaptors.x509.authentication.revocation.RevokedCertificateException;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
import java.secu... | __label__POS | 0.875392 |
package org.apereo.cas.adaptors.x509.authentication;
import org.apereo.cas.util.crypto.CertUtils;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import lombok.val;
import org.apache.commons.io.IOUtils;
import org.springframework.core.io.Class... | __label__POS | 0.856036 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import lombok.val;
import org.apache.commons.lang3.ArrayUtils;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import static org.junit.jupiter.api.Assertion... | __label__POS | 0.965622 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.ResourceUtils;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certi... | __label__POS | 0.929134 |
package io.apicurio.registry.noprofile.ccompat.rest.v7;
import io.apicurio.registry.content.ContentHandle;
import io.confluent.kafka.schemaregistry.avro.AvroSchema;
import io.confluent.kafka.schemaregistry.client.rest.RestService;
import io.confluent.kafka.schemaregistry.client.rest.entities.SchemaReference;
import io... | __label__POS | 0.912543 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.ResourceUtils;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certi... | __label__POS | 0.684179 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.adaptors.x509.authentication.CasX509Certificate;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUtils;
impo... | __label__POS | 0.942329 |
package org.apereo.cas.adaptors.x509.util;
import org.apereo.cas.adaptors.x509.authentication.principal.X509CertificateCredential;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.S... | __label__POS | 0.966643 |
package org.apereo.cas.adaptors.x509.util;
import org.apereo.cas.adaptors.x509.authentication.principal.X509CertificateCredential;
import org.apereo.cas.util.EncodingUtils;
import org.apereo.cas.util.crypto.CertUtils;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationC... | __label__POS | 0.990247 |
-- *********************************************************************
-- DDL for the Apicurio Registry - Database: MS SQL Server
-- *********************************************************************
CREATE TABLE apicurio (propName NVARCHAR(255) NOT NULL, propValue NVARCHAR(255));
ALTER TABLE apicurio ADD PRIMARY... | __label__POS | 0.983198 |
-- *********************************************************************
-- DDL for the Apicurio Registry - Database: H2
-- *********************************************************************
CREATE TABLE apicurio (propName VARCHAR(255) NOT NULL, propValue VARCHAR(255));
ALTER TABLE apicurio ADD PRIMARY KEY (propNam... | __label__POS | 0.975545 |
-- *********************************************************************
-- DDL for the Apicurio Registry - Database: MySQL 5.7+
-- *********************************************************************
CREATE TABLE apicurio (
propName VARCHAR(255) NOT NULL,
propValue VARCHAR(255)
) DEFAULT CHARACTER SET ascii... | __label__POS | 0.972399 |
package org.apereo.cas.adaptors.x509.authentication;
import org.springframework.core.io.Resource;
import jakarta.validation.constraints.Size;
import java.net.URI;
import java.net.URL;
import java.security.cert.X509CRL;
import java.util.Collection;
/**
* Defines operations needed to a fetch a CRL.
*
* @author Misag... | __label__POS | 0.968517 |
-- *********************************************************************
-- DDL for the Apicurio Registry - Database: PostgreSQL 10+
-- *********************************************************************
CREATE TABLE apicurio (propName VARCHAR(255) NOT NULL, propValue VARCHAR(255));
ALTER TABLE apicurio ADD PRIMARY ... | __label__POS | 0.965814 |
package org.apereo.cas.adaptors.x509.authentication;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import java.io.Serial;
import java.security.GeneralSecurityException;
import java.time.ZonedDateTime;
/**
* Exception describing an expired CRL condition.
*
* @author Marvin S. Addison
* @since 3.4.6... | __label__POS | 0.882038 |
package org.apereo.cas.adaptors.x509.authentication.revocation;
import org.apereo.cas.util.DateTimeUtils;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import java.io.Serial;
import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
imp... | __label__POS | 0.832821 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import java.security.cert.X509Certificate;
/**... | __label__POS | 0.720766 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext;
import lombok.Setter;
import lombok.ToString;
import lombok.val;
import java.security.cert.X509Certificate;
/**
* Returns a new principal based on the serial number of... | __label__POS | 0.981858 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext;
import lombok.Setter;
import lombok.ToString;
import java.security.cert.X509Certificate;
/**
* This class is targeted at usage for mapping to an existing user record. It... | __label__POS | 0.692921 |
package org.apereo.cas.adaptors.x509.authentication.principal;
import org.apereo.cas.authentication.principal.resolvers.PrincipalResolutionContext;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import java.security.cert.X509Certificate;
/**
* Extracts Subject Alternative Name UPN ext... | __label__POS | 0.829742 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2000, 2015 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.util;
/**
* A RuntimeException that can contain nested exceptions.
*
* @author Mark Hayes
*/
public class RuntimeExceptionWrapper extends Runt... | __label__POS | 0.936819 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2000, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.compat;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Comparator;
import java.ut... | __label__POS | 0.61009 |
package org.apereo.cas.adaptors.x509.authentication.revocation.policy;
import org.apereo.cas.adaptors.x509.authentication.ExpiredCRLException;
import org.apereo.cas.util.crypto.CertUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import java.security.cert.X509CRL;
im... | __label__POS | 0.815535 |
package org.apereo.cas.web.flow;
import org.apereo.cas.config.CasCoreSamlAutoConfiguration;
import org.apereo.cas.config.CasDelegatedAuthenticationAutoConfiguration;
import org.apereo.cas.config.CasSamlIdentityProviderDiscoveryAutoConfiguration;
import org.apereo.cas.util.spring.boot.SpringBootTestAutoConfigurations;
... | __label__POS | 0.739414 |
package io.apicurio.registry.rules;
import io.apicurio.registry.storage.dto.RuleConfigurationDto;
import io.apicurio.registry.types.RuleType;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import java.util.stream.Collectors;
public class RulesPropertiesImpl implements RulesProperties {
... | __label__POS | 0.974705 |
package io.apicurio.registry.rules;
import io.apicurio.registry.content.TypedContent;
import io.apicurio.registry.rest.v3.beans.ArtifactReference;
import io.apicurio.registry.types.RuleType;
import java.util.List;
import java.util.Map;
/**
* A service used to apply configured rules to a given content update. In oth... | __label__POS | 0.979701 |
package org.apereo.cas.entity;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import jakarta.annotation.Nonnull;
import java.io.Serial;
import java.io.Serializable;
import java.util.... | __label__POS | 0.988382 |
package io.apicurio.registry.rest;
import io.apicurio.registry.services.http.CCompatExceptionMapperService;
import io.apicurio.registry.services.http.CoreRegistryExceptionMapperService;
import io.apicurio.registry.services.http.CoreV2RegistryExceptionMapperService;
import jakarta.enterprise.context.ApplicationScoped;
... | __label__POS | 0.941263 |
package org.apereo.cas.services;
import org.apereo.cas.entity.SamlIdentityProviderEntity;
import org.apereo.cas.web.DelegatedClientIdentityProviderConfiguration;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.util.Collection;
/**
* This is {@link SamlIde... | __label__POS | 0.981115 |
package org.apereo.cas.web.flow;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.actions.ConsumerExecutionAction;
import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
import lombok.val;
import org.springframework.context.ConfigurableApplicationContext;
... | __label__POS | 0.997463 |
package io.apicurio.registry.metrics;
import io.micrometer.core.instrument.Meter;
import io.micrometer.core.instrument.config.MeterFilter;
import io.micrometer.core.instrument.distribution.DistributionStatisticConfig;
import jakarta.enterprise.inject.Produces;
import jakarta.inject.Singleton;
@Singleton
public class ... | __label__POS | 0.80091 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.db;
/**
An interface specifying how Btree compression works.
*/
public interface BtreeCompressor {
/**
The application-specific Bt... | __label__POS | 0.846993 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.db;
import com.sleepycat.db.internal.DbConstants;
/**
When using the default lock conflict matrix, the LockRequestMode class
defines the ... | __label__POS | 0.983097 |
package io.apicurio.registry.auth;
import io.quarkus.security.identity.SecurityIdentity;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Instance;
import jakarta.inject.Inject;
import org.eclipse.microprofile.jwt.JsonWebToken;
import java.util.Optional;
@ApplicationScoped
public... | __label__POS | 0.999695 |
/*-
* Automatically built by dist/s_java_stat.
* Only the javadoc comments can be edited.
*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*/
package com.sleepycat.db;
import com.sleepycat.db.internal.DbUtil;
/**
Statisti... | __label__POS | 0.799485 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.db;
import com.sleepycat.db.internal.DbConstants;
/**
* Advanced configuration is possible for various systems that use shared
* memory... | __label__POS | 0.913308 |
package io.apicurio.registry.auth;
import jakarta.inject.Inject;
import jakarta.inject.Singleton;
import jakarta.interceptor.InvocationContext;
@Singleton
public class RoleBasedAccessController extends AbstractAccessController {
@Inject
StorageRoleProvider storageRoleProvider;
@Inject
TokenRoleProvi... | __label__POS | 0.614367 |
package org.apereo.cas.support.saml.idp.metadata;
import org.apereo.cas.support.saml.BaseMongoDbSamlMetadataTests;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.test.context.TestPropertySour... | __label__POS | 0.811202 |
package org.apereo.cas.support.saml.idp.metadata;
import org.apereo.cas.support.saml.BaseMongoDbSamlMetadataTests;
import org.apereo.cas.support.saml.services.SamlRegisteredService;
import org.apereo.cas.util.junit.EnabledIfListeningOnPort;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter... | __label__POS | 0.727639 |
package io.apicurio.registry.auth;
import io.apicurio.common.apps.config.Info;
import jakarta.enterprise.context.RequestScoped;
import jakarta.inject.Inject;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.ws.rs.core.Context;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import java.uti... | __label__POS | 0.885701 |
package io.apicurio.registry.auth;
import io.apicurio.registry.storage.RegistryStorage;
import io.apicurio.registry.types.Current;
import io.apicurio.registry.types.RoleType;
import io.quarkus.security.identity.SecurityIdentity;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Inst... | __label__POS | 0.924885 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.OutboxEvent;
import io.apicurio.registry.types.VersionState;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_VERSION_STATE_CHANGED;
public class ArtifactVersionStateCh... | __label__POS | 0.912948 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.EditableGroupMetaDataDto;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.GROUP_METADATA_UPDATED;
public class GroupMetadat... | __label__POS | 0.949777 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.OutboxEvent;
import io.apicurio.registry.storage.dto.RuleConfigurationDto;
import io.apicurio.registry.types.RuleType;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.GLOBAL_RUL... | __label__POS | 0.909908 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.EditableArtifactMetaDataDto;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_METADATA_UPDATED;
public class Artifa... | __label__POS | 0.936115 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.OutboxEvent;
import io.apicurio.registry.storage.dto.RuleConfigurationDto;
import io.apicurio.registry.types.RuleType;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_R... | __label__POS | 0.905295 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.ArtifactMetaDataDto;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_CREATED;
public class ArtifactCreated extends... | __label__POS | 0.92113 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.OutboxEvent;
import io.apicurio.registry.storage.dto.RuleConfigurationDto;
import io.apicurio.registry.types.RuleType;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.GROUP_RULE... | __label__POS | 0.897869 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.db;
import com.sleepycat.db.internal.DbConstants;
/** Database types. */
public final class DatabaseType {
/**
The database is a ... | __label__POS | 0.648526 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.EditableVersionMetaDataDto;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_VERSION_METADATA_UPDATED;
public class... | __label__POS | 0.916039 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.ARTIFACT_VERSION_DELETED;
public class ArtifactVersionDeleted extends OutboxEvent {
private final JSONObject e... | __label__POS | 0.948025 |
package io.apicurio.registry.events;
import io.apicurio.registry.storage.dto.GroupMetaDataDto;
import io.apicurio.registry.storage.dto.OutboxEvent;
import org.json.JSONObject;
import java.util.UUID;
import static io.apicurio.registry.storage.StorageEventType.GROUP_CREATED;
public class GroupCreated extends OutboxEv... | __label__POS | 0.955217 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.