content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package org.apereo.cas.util.cipher;
import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties;
import org.apereo.cas.configuration.model.core.util.EncryptionOptionalSigningOptionalJwtCryptographyProperties;
import org.apereo.cas.util.spring.SpringExpressionLanguageValueResolver;... | __label__POS | 0.996318 |
package org.apereo.cas.util.cipher;
import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties;
/**
* This is {@link ProtocolTicketCipherExecutor}.
*
* @author Misagh Moayyed
* @since 5.0.0
*/
public class ProtocolTicketCipherExecutor extends BaseStringCipherExecutor {
public Protoco... | __label__POS | 0.999706 |
package org.apereo.cas.util.cipher;
import org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties;
import org.apereo.cas.util.crypto.CipherExecutor;
import lombok.NoArgsConstructor;
/**
* This is {@link WebflowConversationStateCipherExecutor}, that reads webflow keys
* fr... | __label__POS | 0.996516 |
package org.apereo.cas.util.cipher;
import org.apereo.cas.util.crypto.CipherExecutor;
import lombok.Getter;
import lombok.val;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.jasypt.util.numeric.AES256IntegerNumberEncryptor;
import java.math.BigInteger;
import java.security.Security;
/**
* Th... | __label__POS | 0.998234 |
package org.apereo.cas.util.text;
import org.apereo.cas.util.InetAddressUtils;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import java.util.regex.Pattern;
/**
* This is {@link DefaultMessageSanitizer}.
*
* @author Misagh Moayyed
* @since 6.6.0
*/
@Requ... | __label__POS | 0.941446 |
url-prefix ../../jsreftest.html?test=js1_2/regexp/
script RegExp_dollar_number.js
script RegExp_input.js
script RegExp_input_as_array.js
skip script RegExp_lastIndex.js # obsolete test
script RegExp_lastMatch.js
script RegExp_lastMatch_as_array.js
script RegExp_lastParen.js
script RegExp_lastParen_as_array.js
script Re... | __label__POS | 1.00001 |
package org.apereo.cas.util.io;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.core.io.FileSystemResource;
import jakarta.annotation.Nonnull;
import java.io.Closeable;
import java.io.File;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
impor... | __label__POS | 0.928967 |
package org.apereo.cas.util.io;
import lombok.extern.slf4j.Slf4j;
import org.jooq.lambda.fi.util.function.CheckedConsumer;
import java.io.File;
/**
* This is {@link FileWatcherService}.
*
* @author Misagh Moayyed
* @since 5.2.0
*/
@Slf4j
public class FileWatcherService extends PathWatcherService {
public Fi... | __label__POS | 0.996468 |
package org.apereo.cas.util.gen;
import java.util.concurrent.atomic.AtomicLong;
/**
* The default numeric generator for generating long values. Implementation
* allows for wrapping (to restart count) if the maximum is reached.
*
* @author Scott Battaglia
* @since 3.0.0
*/
public class DefaultLongNumericGenerato... | __label__POS | 0.999798 |
package org.apereo.cas.util.gen;
import org.apereo.cas.util.RandomUtils;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.val;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
/**
* This is {@link AbstractRandomStringGenerator}.
* <p... | __label__POS | 0.944301 |
package org.apereo.cas.util.gen;
import lombok.NoArgsConstructor;
import lombok.val;
import java.util.stream.IntStream;
/**
* Implementation of the RandomStringGenerator that allows you to define the
* length of the random part.
*
* @author Scott Battaglia
* @since 3.0.0
*/
@NoArgsConstructor
public class Defa... | __label__POS | 0.942099 |
package org.apereo.cas.util.transforms;
import org.apereo.cas.authentication.handler.PrincipalNameTransformer;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.val;
import java... | __label__POS | 0.956952 |
package org.apereo.cas.util.transforms;
import org.apereo.cas.authentication.handler.PrincipalNameTransformer;
import org.apereo.cas.util.scripting.ExecutableCompiledScript;
import org.apereo.cas.util.scripting.ExecutableCompiledScriptFactory;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
im... | __label__POS | 0.968209 |
package org.apereo.cas.util.jpa;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.persistence.AttributeConverter;
import jakart... | __label__POS | 0.958262 |
package org.apereo.cas.util.jpa;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.persistence.AttributeConverter;
import jakart... | __label__POS | 0.93416 |
package org.apereo.cas.util.spring.beans;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import lombok.RequiredArgsConstructor;
import org.apache.commons.io.IOUtils;
import org.jooq.lambda.Unchecked;
import org.springframework.beans.factory.DisposableBean;
import java.io.Closeable;
import java.util.Ar... | __label__POS | 0.885039 |
package org.apereo.cas.util.spring.beans;
import org.apereo.cas.util.RegexUtils;
import org.apereo.cas.util.ResourceUtils;
import org.apereo.cas.util.spring.SpringExpressionLanguageValueResolver;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import lombok.Data;
import lombok.NoArgsConstructor;
import ... | __label__POS | 0.733216 |
package org.apereo.cas.util.spring.beans;
import org.apereo.cas.util.ResourceUtils;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.apache.commons.lang3.ArrayUtils;
import org.jooq.lambda.Unchecked;
import org.jooq.lambda.fi.util.func... | __label__POS | 0.919422 |
package org.apereo.cas.util.spring.beans;
import org.springframework.context.ApplicationContext;
import org.springframework.core.env.PropertyResolver;
import java.io.Serializable;
import java.util.Collection;
import java.util.function.Supplier;
/**
* This is {@link BeanCondition}.
*
* @author Misagh Moayyed
* @si... | __label__POS | 0.996518 |
package org.apereo.cas.util.spring.boot;
import lombok.val;
import org.springframework.boot.Banner;
import org.springframework.core.env.Environment;
import java.util.Formatter;
import java.util.ServiceLoader;
/**
* This is {@link CasBanner}.
*
* @author Misagh Moayyed
* @since 6.6.0
*/
public interface CasBanner... | __label__POS | 0.981518 |
package org.apereo.cas.util.spring.boot;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.Banner;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;... | __label__POS | 0.768799 |
package org.apereo.cas.util.spring.boot;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.apache.commons.lang3.StringUtils;
import org.springframework.context.annotation.Conditional;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.... | __label__POS | 0.721498 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder;
import org.apereo.cas.services.CasModelRegisteredService;
import org.... | __label__POS | 0.721934 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.Optional;
import static org.junit.jupiter.api.Assertions.*;
/**
* This is {@link Registered... | __label__POS | 0.984931 |
package org.apereo.cas.authentication.support;
import org.apereo.cas.authentication.ProtocolAttributeEncoder;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.services.RegisteredService;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
... | __label__POS | 0.906311 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.services.ServicesManager;
import lombok.val;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.*;
/**... | __label__POS | 0.908818 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.ExcludedAuthenticationHandlerAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndH... | __label__POS | 0.927207 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.RestfulAuthenticationPolicy;
import org.apereo.cas.configuration.model.core.authentication.RestAuthenticationPolicyProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
im... | __label__POS | 0.862549 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.AtLeastOneCredentialValidatedAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndH... | __label__POS | 0.816716 |
url-prefix ../../jsreftest.html?test=js1_8_5/extensions/
script typedarray.js
script typedarray-prototype.js
skip-if(!xulRuntime.shell) script worker-error.js # these tests sometimes hang in browser, bug 559954, bug 562333
skip-if(!xulRuntime.shell) script worker-error-propagation.js
skip-if(!xulRuntime.shell) script ... | __label__POS | 1.00001 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.AllAuthenticationHandlersSucceededAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Equal... | __label__POS | 0.927451 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.RequiredAuthenticationHandlerAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndH... | __label__POS | 0.924814 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.GroovyScriptAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import l... | __label__POS | 0.797272 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AuthenticationPolicy;
import org.apereo.cas.authentication.policy.NotPreventedAuthenticationPolicy;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndHashCode;
import l... | __label__POS | 0.81346 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.util.EncodingUtils;
import com.google.common.base.Splitter;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import java.io.Serial;
import java.util.Map;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
/**
* Encapsulates... | __label__POS | 0.780129 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.util.LoggingUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import java.net.URLDecoder;
import java.nio.... | __label__POS | 0.969402 |
url-prefix ../../jsreftest.html?test=js1_8_5/regress/
script regress-500528.js
script regress-533876.js
script regress-541255-0.js
script regress-541255-1.js
script regress-541255-2.js
script regress-541255-3.js
script regress-541255-4.js
script regress-541455.js
script regress-546615.js
script regress-551763-0.js
scri... | __label__POS | 1.00001 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.services.CasModelRegisteredService;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.uti... | __label__POS | 0.636966 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.multitenancy.TenantExtractor;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.http.HttpRequestUtils;
import org.apereo.cas.validation.ValidationResponseType;
import org.apereo.cas.w... | __label__POS | 0.764212 |
package org.apereo.cas.authentication.principal;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.NoArgsConstructor;
import jakarta.persistence.DiscriminatorValue;
import jakarta.persi... | __label__POS | 0.948576 |
import * as ipdb from 'ipip-ipdb';
/**
* 帮助类
*/
export default class Helper {
/**
* 获得请求IP
*/
public static async getReqIP () {
// @ts-ignore
const req = this.ctx.req;
return req.headers['x-forwarded-for'] || // 判断是否有反向代理 IP
req.connection.remoteAddress || // 判断 ... | __label__POS | 0.761281 |
package org.apereo.cas.logout;
import org.apereo.cas.logout.slo.SingleLogoutServiceMessageHandler;
import org.apereo.cas.util.spring.beans.BeanSupplier;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
import java.util.ArrayList;
impor... | __label__POS | 0.955234 |
package org.apereo.cas.logout;
import org.apereo.cas.logout.slo.SingleLogoutMessage;
import org.apereo.cas.logout.slo.SingleLogoutMessageCreator;
import org.apereo.cas.logout.slo.SingleLogoutRequestContext;
import org.apereo.cas.services.RegisteredServiceLogoutType;
import org.apereo.cas.ticket.UniqueTicketIdGenerator... | __label__POS | 0.690746 |
package org.apereo.cas.logout;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.authentication.principal.WebApplicationServiceFactory;
import org.apereo.cas.configuration.model.core.logout.LogoutProperties;
import org.apereo.cas.multitenancy.TenantExtractor;
import org.apereo.cas.web.UrlValidator;
im... | __label__POS | 0.797279 |
package org.apereo.cas.logout;
import org.apereo.cas.web.HttpMessage;
import lombok.Getter;
import lombok.Setter;
import org.springframework.http.MediaType;
import java.io.Serial;
import java.net.URL;
/**
* A logout http message that is accompanied by a special content type
* and formatting.
*
* @author Misagh Mo... | __label__POS | 0.916555 |
package org.apereo.cas.logout.slo;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.services.RegisteredService;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.util.Collecti... | __label__POS | 0.93644 |
package org.apereo.cas.logout.slo;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.services.CasRegisteredService;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.Service... | __label__POS | 0.994595 |
package org.apereo.cas.logout.slo;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.services.CasRegisteredService;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.web.UrlValidator;
import jakarta.servlet... | __label__POS | 0.986658 |
package org.apereo.cas.config;
import org.apereo.cas.TestOneTimePasswordAuthenticationHandler;
import org.apereo.cas.authentication.AcceptUsersAuthenticationHandler;
import org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import ... | __label__POS | 0.968234 |
package org.apereo.cas.web.flow;
import org.apereo.cas.BaseCasWebflowMultifactorAuthenticationTests;
import org.apereo.cas.authentication.DefaultMultifactorAuthenticationFailureModeEvaluator;
import org.apereo.cas.authentication.MultifactorAuthenticationProvider;
import org.apereo.cas.authentication.mfa.TestMultifacto... | __label__POS | 0.655267 |
url-prefix ../../jsreftest.html?test=js1_8_1/regress/
script regress-420399.js
script regress-452498-006.js
script regress-452498-027.js
script regress-452498-030.js
script regress-452498-038.js
script regress-452498-039.js
script regress-452498-040.js
script regress-452498-050.js
script regress-452498-051.js
script re... | __label__POS | 1.00001 |
package org.apereo.cas.web.flow.authentication;
import org.apereo.cas.authentication.DefaultChainingMultifactorAuthenticationProvider;
import org.apereo.cas.authentication.MultifactorAuthenticationFailureModeEvaluator;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.ca... | __label__POS | 0.966073 |
package org.apereo.cas.config;
import org.apereo.cas.util.spring.boot.SpringBootTestAutoConfigurations;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
/**
* This is {@link BaseAutoConfigurationTests}.
*
* @author Misagh Moayyed
* @si... | __label__POS | 0.999937 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.credential.HttpBasedServiceCredential;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
impo... | __label__POS | 0.986739 |
package org.apereo.cas.nativex;
import org.apereo.cas.services.BaseRegisteredService;
import org.apereo.cas.services.CasRegisteredService;
import org.apereo.cas.services.ServiceRegistry;
import org.apereo.cas.services.ServiceRegistryInitializer;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jup... | __label__POS | 0.937818 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.principal.ServiceFactory;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.test.CasTestExtension;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jup... | __label__POS | 0.825512 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import ... | __label__POS | 0.980268 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.net.URI;
import java.ni... | __label__POS | 0.923026 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.authentication.principal.ShibbolethCompatiblePersistentIdGenerator;
import org.apere... | __label__POS | 0.751572 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import ... | __label__POS | 0.974639 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.net.URI;
import java.ni... | __label__POS | 0.947966 |
package org.apereo.cas.services;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.MockWebServer;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectM... | __label__POS | 0.663715 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import org.apereo.cas.util.spring.ApplicationContextProvider;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import or... | __label__POS | 0.917268 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.j... | __label__POS | 0.888864 |
package org.apereo.cas.services;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.UUID;
import static org.junit.jupiter.api.Assertions.*;
/**
* @author Misagh Moayyed
* @since 4.0.0
*/
@Tag("Simple")
class UnauthorizedSsoServiceExceptionTests {
private s... | __label__POS | 0.996111 |
package org.apereo.cas.services;
import org.apereo.cas.config.CasCoreScriptingAutoConfiguration;
import org.apereo.cas.config.CasCoreUtilAutoConfiguration;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.CollectionUtils;
import org... | __label__POS | 0.817092 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.configuration.support.TriStateBoolean;
import org.apereo.cas.ticket.AuthenticationAwareTicket;
import org.apereo.cas.util.serialization.JacksonOb... | __label__POS | 0.948619 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import ... | __label__POS | 0.84559 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import ... | __label__POS | 0.990904 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import ja... | __label__POS | 0.854084 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.AcceptUsersAuthenticationHandler;
import org.apereo.cas.authentication.AuthenticationTransaction;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.handler.GroovyAuthenticationHandlerResolver;
im... | __label__POS | 0.690741 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.authentication.principal.ShibbolethCompatiblePersistentIdGenerator;
import org.apere... | __label__POS | 0.942997 |
package org.apereo.cas.services;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.a... | __label__POS | 0.97286 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.junit.jupiter.api.Tag;
impor... | __label__POS | 0.967025 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import ... | __label__POS | 0.894786 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import... | __label__POS | 0.98712 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUt... | __label__POS | 0.82923 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import ... | __label__POS | 0.891901 |
package org.apereo.cas.services;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import ... | __label__POS | 0.987844 |
package org.apereo.cas.services;
import org.apereo.cas.services.replication.RegisteredServiceReplicationStrategy;
import org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry;
import org.apereo.cas.services.resource.DefaultRegisteredServiceResourceNamingStrategy;
import org.apereo.cas.util.RandomUtils;... | __label__POS | 0.867087 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.MockWebServer;
import org.apereo.cas.util.RandomUtils;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jac... | __label__POS | 0.825072 |
package org.apereo.cas.services;
import org.apereo.cas.config.BaseAutoConfigurationTests;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.RandomUtils;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.j... | __label__POS | 0.825906 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.principal.ServiceFactory;
import org.apereo.cas.authentication.principal.WebApplicationService;
import org.apereo.cas.util.RandomUtils;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.jooq.lambda.Unchecked;
import org.junit.jupiter.... | __label__POS | 0.720387 |
package org.apereo.cas.services;
import org.apereo.cas.config.BaseAutoConfigurationTests;
import org.apereo.cas.services.query.RegisteredServiceQuery;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.util.RandomUtils;
import lombok.val;
import org.junit.jupiter.api.Assertions;
import org.junit.jupite... | __label__POS | 0.814635 |
package org.apereo.cas.services;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.authentication.AcceptUsersAuthenticationHandler;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.AuthenticationHandler;
import org.apereo.cas.authentication.AuthenticationResult;... | __label__POS | 0.95449 |
package org.apereo.cas.services;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.DefaultAuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.DefaultAuthenticationServiceSelectionStrategy;
import org.apereo.cas.authentication.policy.AllAuthentic... | __label__POS | 0.869707 |
package org.apereo.cas.authentication.principal;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.config.BaseAutoConfigurationTests;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.test.CasTestExtension;
import org.apereo... | __label__POS | 0.889135 |
package org.apereo.cas.authentication.principal;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.HashMap;
import static org.junit.jupiter.api.Assertions.*;
/**
* @author Scott Battaglia
* @since 3.4.4
*/
@Tag("Authentication")
class ResponseTests {
pr... | __label__POS | 0.965392 |
package org.apereo.cas.services.util;
import org.apereo.cas.services.CasRegisteredService;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.context.support.StaticApplicationContext;
import java.io.ByteArrayInputStream;
import java.io.File;
import java... | __label__POS | 0.991781 |
package org.apereo.cas.services.support;
import org.apereo.cas.util.CollectionUtils;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.Map;
import static org.junit.jupiter.api.Assertions.*;
/**
* This is {@link RegisteredServiceReverseM... | __label__POS | 0.988282 |
package org.apereo.cas.services.support;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupite... | __label__POS | 0.786485 |
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.987996 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | __label__POS | 0.887559 |
package org.apereo.cas.authentication.bypass;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.MultifactorAuthenticationPrincipalResolver;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.cas.services.DefaultRegister... | __label__POS | 0.747655 |
package org.apereo.cas.authentication.bypass;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.MultifactorAuthenticationPrincipalResolver;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.cas.configuration.model.supp... | __label__POS | 0.764065 |
package org.apereo.cas.authentication.bypass;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.credential.BasicIdentifiableCredential;
import org.apereo.cas.authentication.credential.UsernamePasswordCredential;
import org.apereo.cas.authentication.mfa.TestMultifact... | __label__POS | 0.675905 |
package org.apereo.cas.authentication.bypass;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties;
import lombok.val;
im... | __label__POS | 0.94766 |
package org.apereo.cas.authentication.bypass;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.cas.services.DefaultRegisteredServiceMultifactorPolicy;
import lombok.val;
import org.junit.jupiter.api.Tag;... | __label__POS | 0.867043 |
package org.apereo.cas.authentication.mfa.trigger;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider;
import org.apereo.cas.services.RegisteredServiceMultifactorPolicy;
import lombok.val;
import org.junit.jupiter.api.Tag;
im... | __label__POS | 0.696052 |
package org.apereo.cas.nativex;
import org.apereo.cas.authentication.ChainingMultifactorAuthenticationProvider;
import org.apereo.cas.authentication.MultifactorAuthenticationTrigger;
import org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator;
import org.apereo.cas.util.nativex.CasRunt... | __label__POS | 0.998179 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.