content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package com.seugi.chatdatail.model import android.graphics.Bitmap import kotlinx.collections.immutable.ImmutableList import kotlinx.collections.immutable.toImmutableList sealed class ChatLocalType( open val uuid: String, ) { data class FailedText(val text: String, val mention: List<Long>, override val uuid: S...
__label__POS
0.938659
package org.apereo.cas.configuration.model.support.saml.idp.profile; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import org.springframework.boot.context.properties.NestedConfigurationProperty; import java.io.Serial; imp...
__label__POS
0.89658
package org.apereo.cas.configuration.model.support.oidc.jwks; import org.apereo.cas.configuration.model.SpringResourceProperties; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import org.springframework.boot.context.proper...
__label__POS
0.911212
package org.apereo.cas.configuration.model.support.hazelcast.discovery; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; import java.io.Serializable; /** * This is {@link HazelcastGoogleCloudPlatform...
__label__POS
0.667653
package org.apereo.cas.configuration.model.support.hazelcast.discovery; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; import java.io.Ser...
__label__POS
0.901341
package org.apereo.cas.configuration.model.support.hazelcast.discovery; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; import java.io.Ser...
__label__POS
0.962236
package org.apereo.cas.configuration.model.support.hazelcast.discovery; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; import java.io.Ser...
__label__POS
0.689636
package org.apereo.cas.configuration.model.support.account.provision; import org.apereo.cas.configuration.features.CasFeatureModule; import org.apereo.cas.configuration.model.support.syncope.SyncopeAccountManagementRegistrationProvisioningProperties; import org.apereo.cas.configuration.support.RequiresModule; import ...
__label__POS
0.805924
package org.apereo.cas.configuration.model.support.geo.maxmind; import org.apereo.cas.configuration.model.support.geo.BaseGeoLocationProperties; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import ...
__label__POS
0.678974
package org.apereo.cas.configuration.model.support.geo.azure; import org.apereo.cas.configuration.model.support.geo.BaseGeoLocationProperties; import org.apereo.cas.configuration.support.ExpressionLanguageCapable; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; i...
__label__POS
0.95923
package org.apereo.cas.configuration.model.support.pac4j.saml; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; import java.io.Serializable; /** * This is {@link Pac4jSamlServiceProviderRequestedAttr...
__label__POS
0.746376
package org.apereo.cas.configuration.model.support.pac4j.oidc; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import org.springframework.boot.context.properties.NestedConfigurationProperty; import java.io.Serial; import ja...
__label__POS
0.890004
package com.seugi.notification.model import com.seugi.data.core.model.NotificationModel import kotlinx.collections.immutable.ImmutableList import kotlinx.collections.immutable.persistentListOf data class NotificationUiState( val isRefresh: Boolean = false, val notices: ImmutableList<NotificationModel> = persi...
__label__POS
0.870689
package org.apereo.cas.configuration.model.support.pac4j.oidc; import org.apereo.cas.configuration.support.DurationCapable; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serial; /** * This is {@link Pac4j...
__label__POS
0.882864
package org.apereo.cas.configuration.model.support.pac4j.oidc; import org.apereo.cas.configuration.support.ExpressionLanguageCapable; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.expe...
__label__POS
0.681926
package org.apereo.cas.configuration.model.support.pac4j.cas; import org.apereo.cas.configuration.model.support.pac4j.Pac4jBaseClientProperties; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import ...
__label__POS
0.738233
package org.apereo.cas.configuration.model.support.mfa.simple; import org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties; import org.apereo.cas.configuration.model.support.phone.PhoneProperties; import org.apereo.cas.configuration.model.support.sms.SmsProperties; import org....
__label__POS
0.632624
package org.apereo.cas.configuration.model.support.mfa.gauth; import org.apereo.cas.configuration.model.support.mongo.SingleCollectionMongoDbProperties; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter;...
__label__POS
0.865106
package org.apereo.cas.configuration.model.support.mfa.gauth; import org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import org.springframewo...
__label__POS
0.772027
package org.apereo.cas.configuration.model.support.mfa.gauth; import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties; import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.core.util.SigningJwtCryptoPropert...
__label__POS
0.750449
package org.apereo.cas.configuration.model.support.mfa.twilio; import org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import org....
__label__POS
0.894611
package org.apereo.cas.configuration.model.support.mfa.trusteddevice; import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties; import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.core.util.SigningJwtCrypt...
__label__POS
0.861941
package org.apereo.cas.configuration.model.support.mfa.trusteddevice; import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties; import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.core.util.SigningJwtCrypt...
__label__POS
0.613601
package org.apereo.cas.configuration.model.support.mfa.webauthn; import org.apereo.cas.configuration.model.core.util.EncryptionJwtCryptoProperties; import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.core.util.SigningJwtCryptoProp...
__label__POS
0.632194
package com.seugi.common.utiles import java.time.LocalDateTime import java.time.ZoneId import java.time.format.DateTimeFormatter import java.time.format.TextStyle import java.util.Locale import kotlinx.datetime.LocalDate fun LocalDateTime.toDeviceLocalDateTime(): LocalDateTime = this.atZone(ZoneId.of("UTC")).withZone...
__label__POS
0.789739
package org.apereo.cas.configuration.model.support.cassandra.ticketregistry; import org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.support.cassandra.authentication.BaseCassandraProperties; import org.apereo.cas.configuration....
__label__POS
0.691571
package org.apereo.cas.configuration.model.support.services.stream; import org.apereo.cas.configuration.model.support.services.stream.hazelcast.StreamServicesHazelcastProperties; import org.apereo.cas.configuration.model.support.services.stream.hazelcast.StreamServicesKafkaProperties; import org.apereo.cas.configurati...
__label__POS
0.7237
package org.apereo.cas.configuration.model.support.services.stream.hazelcast; import org.apereo.cas.configuration.model.support.kafka.BaseKafkaProperties; import org.apereo.cas.configuration.model.support.kafka.KafkaSingleTopicProperties; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Gette...
__label__POS
0.90748
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/licenses/publicdomain/ * Contributor: Bob Clary */ //----------------------------------------------------------------------------- var BUGNUMBER = 16955...
__label__POS
0.75049
package org.apereo.cas.multitenancy; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.springframework.context.ApplicationContext; import org.springframework.webflow.context.servlet.DefaultFlowUrlHandler; import org.springframework.webflow.context.servlet.FlowUrlHandler; import org.springframe...
__label__POS
0.916638
package org.apereo.cas.validation; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; /** * Functional interfac...
__label__POS
0.990463
package org.apereo.cas.validation; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.services.RegisteredService; import java.util.HashMap; import java.util.List; import java.util.Map; /** * This component is used to handle release of authentication attributes in validation responses. * * ...
__label__POS
0.896549
package org.apereo.cas.services; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.io.Serial; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; /** * This is {@link ServicesManagerTests}. * * @author Misagh Moayyed * @since 6...
__label__POS
0.925603
package org.apereo.cas.services; import org.apereo.cas.services.RegisteredServiceProperty.RegisteredServiceProperties; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.io.Serial; import java.util.Map; import java.util.Set; import static org.junit.jupiter.api.Assertion...
__label__POS
0.886866
package com.seugi.data.core.model import java.time.LocalDateTime import kotlinx.collections.immutable.ImmutableList data class NotificationModel( val id: Long, val workspaceId: String, val userId: Long, val userName: String, val title: String, val content: String, val emoji: ImmutableList<...
__label__POS
0.969179
package org.apereo.cas.services; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.io.Serial; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; /** * This is {@link ServiceRegistryTests}. * * @author Misagh Moayyed * @since 6...
__label__POS
0.816232
package org.apereo.cas.services; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Collection; import java.util.List; /** * Chaining multiple attribute release policies together. * * @author Misagh Moayyed * @since 6.6.0 */ @Jso...
__label__POS
0.869958
package org.apereo.cas.services; import java.util.Optional; /** * Defines how to encrypt data based on registered service's public key, etc. * * @author Misagh Moayyed * @since 4.1 */ public interface RegisteredServiceCipherExecutor { /** * The name of the customer header used to hold the identifier for...
__label__POS
0.98728
package org.apereo.cas.services; import org.apereo.cas.services.query.RegisteredServiceQuery; import java.util.Collection; import java.util.Optional; import java.util.stream.Stream; /** * This is {@link RegisteredServiceIndexService}. * * @author Misagh Moayyed * @since 7.3.0 */ public interface RegisteredServic...
__label__POS
0.996344
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.Service; import lombok.Builder; import lombok.Getter; import lombok.experimental.SuperBuilder; import org.springframework.context.ApplicationContext; import jakarta.validation.con...
__label__POS
0.864748
package org.apereo.cas.services; import org.springframework.core.Ordered; import java.io.Serial; import java.io.Serializable; /** * This is {@link ServiceRegistryListener}. * * @author Misagh Moayyed * @since 6.1.0 */ public interface ServiceRegistryListener extends Serializable, Ordered { /** * No op ...
__label__POS
0.875353
package org.apereo.cas.services; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.io.Serializable; import java.util.Set; /** * This is {@link RegisteredServiceAuthenticationPolicy}. * The authentication policy can be assigned to a service definition * to indicate how CAS should respond to authent...
__label__POS
0.912118
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.Service; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonTypeInfo; import lombok.Builder; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.With; import lombok.exper...
__label__POS
0.686284
package org.apereo.cas.services; import java.util.Collection; import java.util.List; /** * This is {@link ChainingServiceRegistry}. * * @author Misagh Moayyed * @since 6.2.0 */ public interface ChainingServiceRegistry extends ServiceRegistry { /** * Count registries in the chain. * * @return ...
__label__POS
0.948491
package org.apereo.cas.services; import lombok.Getter; import java.io.Serial; import java.util.List; import java.util.Map; /** * This is {@link UnauthorizedServiceForPrincipalException} * thrown when an attribute is missing from principal * attribute release policy that would otherwise grant access * to the serv...
__label__POS
0.878298
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.query.RegisteredServiceQueryIndex; import org.apereo.cas.util.NamedObject; import org.springframework.core.Ordered; import java.util.ArrayList; import java.util.Collection; import java.util.List; ...
__label__POS
0.967335
package org.apereo.cas.services; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.springframework.core.Ordered; import java.io.Serializable; /** * This is {@link RegisteredServiceAccessStrategyActivationCriteria}. * * @author Misagh Moayyed * @since 7.0.0 */ @FunctionalInterface @JsonTypeInfo(us...
__label__POS
0.861228
const logger = require('../modules/logger') /** * Inspired by Django, given a Mongoose Query to find ONE document with any middleware such as .select(), .where(), etc. * If the document is not found, it responds to the request with a 404. * * @param ctx Koa context * @param Query Mongoose Query * @returns Found ...
__label__POS
0.611022
package org.apereo.cas.services; import org.apereo.cas.authentication.RootCasException; import lombok.Getter; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; import java.io.Serial; /** * Exception that is thrown when an Unauthorized Service attempts to use C...
__label__POS
0.95546
package org.apereo.cas.authentication.attribute; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import lombok.Builder; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.With; i...
__label__POS
0.937293
package org.apereo.cas.authentication.principal; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.Credential; import org.apereo.cas.services.RegisteredService; /** * This is {@link PrincipalProvisioner}. * * @author Misagh Moayyed * @since 5.3.0 */ @FunctionalInterface pu...
__label__POS
0.994554
package com.seugi.stompclient.pathmatcher; import com.seugi.stompclient.dto.StompHeader; import com.seugi.stompclient.dto.StompMessage; import java.util.ArrayList; public class RabbitPathMatcher implements PathMatcher { /** * RMQ-style wildcards. * See more info <a href="https://www.rabbitmq.com/tutor...
__label__POS
0.652812
package org.apereo.cas.authentication.principal; import org.apereo.cas.services.RegisteredService; import java.util.List; import java.util.Map; /** * This is {@link PrincipalAttributesRepositoryCache}. * * @author Misagh Moayyed * @since 6.4.0 */ public interface PrincipalAttributesRepositoryCache { /** ...
__label__POS
0.992547
package com.seugi.stompclient.dto; import java.util.TreeMap; public class LifecycleEvent { public enum Type { OPENED, CLOSED, ERROR, FAILED_SERVER_HEARTBEAT, CONNECTED } private final Type mType; //Nullable private Exception mException; //Nullable private String mMessage; ...
__label__POS
0.647582
package com.seugi.stompclient.dto; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.seugi.stompclient.StompException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Matcher; import java....
__label__POS
0.796453
package org.apereo.cas.authentication; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.io.Serial; import java.util.UUID; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; /** * This is {@link MultifactorAuthenticationCredentia...
__label__POS
0.996301
package org.apereo.cas.authentication.bypass; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.MultifactorAuthenticationProvider; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.core.Ordered; import static org...
__label__POS
0.861045
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.services.RegisteredService; import java.util.Collection; /** * This is {@link MultifactorAuthenticationProviderSelector} * that decides how to resolve a single provider from a collection available...
__label__POS
0.949447
package org.apereo.cas.authentication; import org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties; import org.apereo.cas.services.RegisteredService; import org.springframework.core.Ordered; import java.io.Serializable; /** * This is {@link MultifactorAuthenticationFailure...
__label__POS
0.96287
#ifndef GENERICFACTORY_H #define GENERICFACTORY_H #include <vector> #include <functional> template<class BaseType> class GenericFactory { public: ~GenericFactory() { for(auto element : registeredDataProviders) { delete element; } } template <class T> void Register() { try { ...
__label__POS
0.756241
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.util.NamedObject; import org.springframework.core.Ordered; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResp...
__label__POS
0.969047
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import lombok.val; import org.springframework.beans.factory.ObjectProvider; import org.springframework.context.ApplicationContext; import org.springframework.core.annotation.AnnotationAwareOrderComparator; /** * This is...
__label__POS
0.949307
#include <QDirIterator> class IDataFilter { public: virtual bool ScanFolder(std::string folderPath) = 0; }; class DNGFilter : public IDataFilter { std::vector<std::string> fileNames; public: bool ScanFolder(std::string folderPath) { //std::string cwd(folderPath); QDir dir; dir.s...
__label__POS
0.961572
package org.apereo.cas.authentication; import org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties; import org.apereo.cas.services.RegisteredService; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; /** * This ...
__label__POS
0.855895
#include "RawSpeedDataProvider.h" using namespace std; int rawspeed_get_number_of_processor_cores() { return 1; } //LibRaw includes //#include "RawSpeed/RawSpeed-API.h" //using namespace RawSpeed; //static CameraMetaData *metadata = NULL; RawSpeedDataProvider::RawSpeedDataProvider() : IDataProvider("RawSpeedDa...
__label__POS
0.615421
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.util.NamedObject; import lombok.val; import org.slf4j.Logger; import org.slf4j.LoggerFactory;...
__label__POS
0.717707
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import org.springframework.core.Ordered; /** * This is {@link MultifactorAuthenticationPrincipalResolver}. * * @author Misagh Moayyed * @since 6.3.3 */ @FunctionalInterface public interface MultifactorAuthentication...
__label__POS
0.988574
package org.apereo.cas.authentication; import org.apereo.cas.services.RegisteredService; import java.util.Optional; /** * This is {@link MultifactorAuthenticationContextValidator}, which is responsible for evaluating an authentication * object to see whether it satisfied a requested authentication context. * * @...
__label__POS
0.953531
package org.apereo.cas.authentication.device; import org.apereo.cas.authentication.principal.Principal; import java.util.List; /** * This is {@link MultifactorAuthenticationDeviceManager}. * A general abstraction for each multifactor provider to determine * if a given user has registered devices and optionally fet...
__label__POS
0.99656
package org.apereo.cas.authentication.bypass; import java.util.Arrays; import java.util.List; /** * This is {@link ChainingMultifactorAuthenticationProviderBypassEvaluator}. * * @author Misagh Moayyed * @since 6.1.0 */ public interface ChainingMultifactorAuthenticationProviderBypassEvaluator extends MultifactorA...
__label__POS
0.986771
package org.apereo.cas.authentication.bypass; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.MultifactorAuthenticationProvider; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.util.NamedObject; i...
__label__POS
0.755226
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.configuration.model.core.authentication.AuthenticationHandlerStates; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Asserti...
__label__POS
0.993522
package org.apereo.cas.authentication.adaptive; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.Map; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito...
__label__POS
0.986591
export default { /** * Determine the weight of an assignment or exam * * @param {Object} assessment Assignment or exam * @returns {Number} Decimal weight */ calculateAssessmentWeight (assessment) { const { assessmentType, priority } = assessment let weight = 1 if (assessmentType === 'ass...
__label__POS
0.899459
export default { allowedKeys: { 37: 'left', 38: 'up', 39: 'right', 40: 'down', 65: 'a', 66: 'b' }, konamiCode: ['down', 'down', 'up', 'up', 'right', 'left', 'right', 'left', 'a', 'b'], // a variable to remember the 'position' the user has reached so far. konamiCodePosition: 0, // a...
__label__POS
0.736475
package org.apereo.cas.authentication; import org.springframework.core.Ordered; /** * This is {@link AuthenticationPreProcessor}. Authentication pre processors * run as the very first step in CAS authentication where credentials are about * to be authenticated. * * @author Misagh Moayyed * @since 5.3.0 */ @Fun...
__label__POS
0.772338
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; import java.io.Serializable; /** * This is {@link AuthenticationTransactionFactory}, * which produces {@link AuthenticationTransaction} objects * that may contain one more or credentials. * * @author Misagh Moayyed *...
__label__POS
0.990567
package org.apereo.cas.authentication; /** * This is {@link PrePostAuthenticationHandler}. * * @author Misagh Moayyed * @since 5.1.0 */ @FunctionalInterface public interface PrePostAuthenticationHandler extends AuthenticationHandler { /** * Template method to perform arbitrary pre-authentication actions...
__label__POS
0.995617
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.time.ZonedDateTime; import java.util.List; import java.util.Map; import java.util.function.Predicate; /** * Constr...
__label__POS
0.952934
package org.apereo.cas.authentication; /** * The {@link AuthenticationTransactionManager} deals exclusively with authentication concepts * e.g. Credentials, Principals, producing valid Authentication objects. It is invoked repeatedly with distinct credential type(s) * for interactive multi-staged authn flows that w...
__label__POS
0.816957
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.io.Serializable; import java.util.List; /** * This is {@link AuthenticationHandlerExecutionResult} that describes the result of an authentication attemp...
__label__POS
0.976758
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.merger.AttributeMerger; import org.springframework.core.Ordered; import java.io.Serializable; import java.util.Collection; import java.util.List; import java.util.Map; /** *...
__label__POS
0.97846
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; import java.io.Serializable; import java.util.Collection; import java.util.Optional; import java.util.Set; /** * This is {@link AuthenticationResultBuilder}. It attempts to collect authentication objects * and will put t...
__label__POS
0.910222
package org.apereo.cas.authentication; import org.apereo.cas.authentication.handler.TenantAuthenticationHandlerBuilder; import org.apereo.cas.authentication.principal.PrincipalResolver; import org.apereo.cas.multitenancy.TenantExtractor; import java.util.Collection; import java.util.List; import java.util.Map; import...
__label__POS
0.945409
package org.apereo.cas.authentication; import java.io.Serial; import java.util.Map; /** * Describes a principal resolution error, which is a subcategory of authentication error. * Principal resolution necessarily happens after successful authentication for a given credential. * * @author Marvin S. Addison * @sin...
__label__POS
0.995742
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; /** * This is {@link AuthenticationServiceSelectionPlan}. * * @author Misagh Moayyed * @since 5.1.0 */ public interface AuthenticationServiceSelectionPlan { /** * Bean name. */ String BEAN_NAME = "aut...
__label__POS
0.984259
package org.apereo.cas.authentication; import lombok.Getter; import lombok.ToString; import lombok.experimental.Accessors; import lombok.val; import org.apache.commons.lang3.StringUtils; import java.io.Serial; import java.util.ArrayList; import java.util.List; /** * Generic CAS exception that sits at the top of the ...
__label__POS
0.931743
package org.apereo.cas.authentication; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.io.Serializable; import java.util.Map; import java.util.Optional; /** * Describes a credential provided for authentication. Implementations should expect instances of this type to be * stored for periods of tim...
__label__POS
0.790262
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import java.io.Serializable; import java.util.List; /** * This is {@link PrincipalElectionStrategyConflictResolver} * that determines the final principal identifier * as part of the principal election strategy. * * @...
__label__POS
0.950757
package org.apereo.cas.authentication; import org.apereo.cas.configuration.model.core.authentication.AuthenticationHandlerStates; import lombok.val; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.Ordered; import java.util.LinkedHashSet; import java.util.Set; import java.util.s...
__label__POS
0.936353
package org.apereo.cas.authentication; import com.fasterxml.jackson.annotation.JsonTypeInfo; import lombok.Getter; import lombok.ToString; import lombok.experimental.SuperBuilder; import java.io.Serial; import java.io.Serializable; /** * This is {@link AuthenticationPolicyExecutionResult}. * * @author Misagh Moay...
__label__POS
0.998364
package org.apereo.cas.authentication; import org.apereo.cas.util.NamedObject; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.Ordered; import java.io.Serializable; import java.util.Map; import java.util.Set; /** ...
__label__POS
0.6945
package org.apereo.cas.authentication.adaptive; import org.apereo.cas.authentication.AuthenticationException; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import java.io.Serial; import java.util.HashMap; import java.util.Map; /** * This is {@link UnauthorizedAuthenticationException}. ...
__label__POS
0.987868
package org.apereo.cas.authentication.handler; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.support.ConfigurationPropertiesBindingContext; import org.apereo.cas.multitenancy.TenantDefinition; import lombo...
__label__POS
0.990855
package org.apereo.cas.authentication.principal; import java.io.Serializable; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Defines operations to create principals. * * @author Misagh Moayyed * @since 4.1.0 */ @FunctionalInterface public interface PrincipalFactory extends Serializa...
__label__POS
0.98083
package org.apereo.cas.authentication.adaptive.geo; import java.net.InetAddress; /** * This is {@link GeoLocationService}. * * @author Misagh Moayyed * @since 5.0.0 */ public interface GeoLocationService { /** * Bean name. */ String BEAN_NAME = "geoLocationService"; /** * Find a geo l...
__label__POS
0.990495
package org.apereo.cas.authentication.adaptive.geo; import com.google.errorprone.annotations.CanIgnoreReturnValue; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import lombok.experimental.Accessors; import lombok.experimental.SuperBuilder; import org.apache.common...
__label__POS
0.833566
package org.apereo.cas.authentication.adaptive.intel; import org.apereo.cas.util.NamedObject; import org.springframework.webflow.execution.RequestContext; /** * This is {@link IPAddressIntelligenceService}. * * @author Misagh Moayyed * @since 6.0.0 */ @FunctionalInterface public interface IPAddressIntelligenceSe...
__label__POS
0.705191
package org.apereo.cas.authentication.adaptive.intel; import lombok.Builder; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.experimental.SuperBuilder; import java.io.Serial; import java.io.Serializable; import java.util.Map; import java.util.TreeMap; /** * This is {@link IPAddressIntelli...
__label__POS
0.929211
package org.apereo.cas.web.support; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.mock.web.MockHttpServletResponse; import org.springframework.web.servlet.ModelAndView; import static org.ju...
__label__POS
0.687306