content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.877895
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.62326
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
__label__POS
0.624833
package org.apereo.cas.client.validation.jwt; import org.junit.Test; import static org.junit.Assert.*; public class CasJWTTicketValidatorTests { private static CasJWTTicketValidator getValidator(final String url) { var validator = new CasJWTTicketValidator(); validator.setEncryptionKey("GR7E6uL9...
__label__POS
0.99418
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace DotNetCasClient.Utils { /// <summary> /// A utility class for serializing and deserializing objects. /// </summary> public sealed class SerializationUtil { /// <summary> /// Serializes an...
__label__POS
0.635836
package org.apereo.openlrw; import com.mongodb.MongoClient; import de.bwaldvogel.mongo.MongoServer; import com.mongodb.ServerAddress; import de.bwaldvogel.mongo.backend.memory.MemoryBackend; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.spri...
__label__POS
0.63369
package org.apereo.openlrw.tenant; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.openlrw.tenant.Tenant; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; imp...
__label__POS
0.917521
package org.apereo.openlrw.risk; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Test; import java.util.Map; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; /** * @author xch...
__label__POS
0.993829
package org.apereo.openlrw.risk; import org.apereo.openlrw.MongoServerConfig; import org.apereo.openlrw.OpenLRW; import org.apereo.openlrw.risk.service.RiskService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.con...
__label__POS
0.658986
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.AcademicSession; import org.apereo.model.oneroster.AcademicSessionType; import org.apereo.model.oneroster.Status; import org.junit.Test;...
__label__POS
0.962234
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.LineItem; import org.apereo.model.oneroster.Link; import org.junit.Test; import java.util.Map; import org.apereo.model.oneroster.Class;...
__label__POS
0.993098
package org.apereo.openlrw.oneroster; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; /** @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = {FongoConfig.class}) @WebAppConfiguration public class MongoEnro...
__label__POS
0.723409
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.*; import org.apereo.model.oneroster.Class; import org.junit.Test; import java.util.Map; import static org.hamcrest.CoreMatchers.conta...
__label__POS
0.978339
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.Org; import org.junit.Test; import java.util.Map; import java.util.UUID; import static org.hamcrest.CoreMatchers.containsString; impor...
__label__POS
0.987545
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.Status; import org.junit.Test; import org.apereo.model.oneroster.Class; import java.util.Map; import static org.hamcrest.CoreMatchers.c...
__label__POS
0.995336
package org.apereo.openlrw.oneroster; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.model.oneroster.Link; import org.apereo.model.oneroster.Result; import org.apereo.model.oneroster.Status; import org.junit.Test; import java.time.Insta...
__label__POS
0.962417
package org.apereo.openlrw.event.caliper; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apereo.openlrw.OpenLRW; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.s...
__label__POS
0.673516
package org.apereo.cas.client.validation.jwt; import org.apereo.cas.client.Protocol; import org.apereo.cas.client.configuration.ConfigurationKey; import org.apereo.cas.client.validation.AbstractTicketValidationFilter; import org.apereo.cas.client.validation.TicketValidator; import jakarta.servlet.FilterConfig; publi...
__label__POS
0.996219
package org.apereo.openlrw.oneroster.service; import org.apereo.model.oneroster.*; import org.apereo.model.oneroster.Class; import org.apereo.openlrw.MongoServerConfig; import org.apereo.openlrw.OpenLRW; import org.apereo.openlrw.oneroster.exception.EnrollmentNotFoundException; import org.junit.Test; import org.junit....
__label__POS
0.773437
package org.apereo.openlrw.oneroster.integration; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.io.Serializable; /** This class is created only for the integration testing * @author stalele * */ @JsonDeserialize(builder = Token.Builder.class) public class Token implements Serializa...
__label__POS
0.784865
package org.apereo.openlrw.oneroster.service.repository; import org.apereo.model.oneroster.AcademicSession; import org.apereo.openlrw.Vocabulary; import org.apereo.openlrw.oneroster.TestData; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframe...
__label__POS
0.659575
/** * */ package org.apereo.openlrw.tenant; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.bu...
__label__POS
0.985784
package org.apereo.openlrw.admin; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStrin...
__label__POS
0.922787
package org.apereo.openlrw.entity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.io.Serializable; import java.time.LocalDateTime; ...
__label__POS
0.975894
package org.apereo.openlrw.common; import org.springframework.http.HttpStatus; import java.util.Date; /** * Error model for interacting with client. * * @author vladimir.stankovic * * Aug 3, 2016 */ public class ErrorResponse { // HTTP Response Status Code private final HttpStatus status; // Gene...
__label__POS
0.762157
package org.apereo.openlrw.tenant.service; import org.apereo.openlrw.tenant.Tenant; import org.apereo.openlrw.tenant.service.repository.TenantRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Collection; import java.util.Optional...
__label__POS
0.978696
package org.apereo.openlrw.risk.service; import org.apache.commons.lang3.StringUtils; import org.apereo.openlrw.common.exception.BadRequestException; import org.apereo.openlrw.oneroster.exception.OneRosterNotFoundException; import org.apereo.openlrw.risk.MongoRisk; import org.apereo.openlrw.risk.service.repository.Mon...
__label__POS
0.774043
package org.apereo.openlrw.risk.service.repository; import org.apereo.openlrw.risk.MongoRisk; import org.springframework.data.mongodb.repository.MongoRepository; import java.time.Instant; import java.util.List; /** * @author xchopin <xavier.chopin@univ-lorraine.fr> */ public interface MongoRiskRepository extends M...
__label__POS
0.999901
package org.apereo.openlrw.events.service.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.Collection; import java.util.Date; import java.util.List; /** * @author ggilbert *...
__label__POS
0.999978
package org.apereo.openlrw.events.service.repository; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder...
__label__POS
0.975719
package org.apereo.openlrw.security.config; import org.apereo.openlrw.security.model.token.JwtToken; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Configuration @ConfigurationProperties(prefix = "matthews.security.jwt") public...
__label__POS
0.7679
package org.apereo.openlrw.security.model; import org.springframework.security.core.GrantedAuthority; import java.util.List; import java.util.Optional; /** * * @author vladimir.stankovic * * Aug 4, 2016 */ public class UserContext { private final String tenantId; private final String orgId; priva...
__label__POS
0.935558
package org.apereo.openlrw.security.indicator.service; import org.apereo.openlrw.security.indicator.Indicator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * @author xchopin <xavier.chopin@un...
__label__POS
0.999466
package org.apereo.openlrw.security.auth.jwt; import org.springframework.security.web.util.matcher.AntPathRequestMatcher; import org.springframework.security.web.util.matcher.OrRequestMatcher; import org.springframework.security.web.util.matcher.RequestMatcher; import org.springframework.util.Assert; import javax.ser...
__label__POS
0.998575
package org.apereo.openlrw.security.model.token; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jws; import org.apereo.openlrw.security.exception.JwtExpiredTokenException; import org.apereo.openlrw.security.model.Scopes; import org.springframework.security.authentication.BadCredentialsException; import java.ut...
__label__POS
0.882854
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.Result; import org.apereo.openlrw.oneroster.exception.ResultNotFoundException; import org.apereo.openlrw.oneroster.service.repository.MongoClass; import org.apereo.openlrw.oneroster.service.repo...
__label__POS
0.913897
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.Class; import org.apereo.model.oneroster.Course; import org.apereo.model.oneroster.Link; import org.apereo.openlrw.oneroster.service.repository.MongoCourse; import org.apereo.openlrw.oneroster.s...
__label__POS
0.62783
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.Org; import org.apereo.openlrw.Vocabulary; import org.apereo.openlrw.entity.DataSync; import org.apereo.openlrw.oneroster.exception.OrgNotFoundException; import org.apereo.openlrw.oneroster.serv...
__label__POS
0.734239
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.LineItem; import org.apereo.openlrw.oneroster.exception.LineItemNotFoundException; import org.apereo.openlrw.oneroster.service.repository.MongoLineItem; import org.apereo.openlrw.oneroster.servi...
__label__POS
0.823727
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.Class; import org.apereo.openlrw.oneroster.exception.OneRosterNotFoundException; import org.apereo.openlrw.oneroster.service.repository.MongoClass; import org.apereo.openlrw.oneroster.service.re...
__label__POS
0.922883
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.AcademicSession; import org.apereo.openlrw.oneroster.exception.AcademicSessionNotFoundException; import org.apereo.openlrw.oneroster.service.repository.MongoAcademicSession; import org.apereo.op...
__label__POS
0.927253
package org.apereo.openlrw.oneroster.service; import org.apache.commons.lang3.StringUtils; import org.apereo.model.oneroster.Enrollment; import org.apereo.model.oneroster.Link; import org.apereo.model.oneroster.Status; import org.apereo.openlrw.oneroster.exception.EnrollmentNotFoundException; import org.apereo.openlrw...
__label__POS
0.914288
package org.apereo.openlrw.oneroster.service.repository; import org.apereo.model.oneroster.Role; import org.apereo.model.oneroster.Status; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.Collection; import java.util.List; /** * @a...
__label__POS
0.999942
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.User; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; ...
__label__POS
0.984347
package org.apereo.openlrw.oneroster.service.repository; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.Collection; import java.util.List; /** * @author ggilbert * @author xchopin <xavier.chopin@univ-lorraine.fr> */ public int...
__label__POS
1.000001
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.Org; import org.apereo.openlrw.entity.DataSync; import org.springframew...
__label__POS
0.966215
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.AcademicSession; import org.springframework.data.annotation.Id; import ...
__label__POS
0.983807
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.Course; import org.springframework.data.annotation.Id; import org.sprin...
__label__POS
0.978335
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.Class; import org.springframework.data.annotation.Id; import org.spring...
__label__POS
0.978734
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.LineItem; import org.springframework.data.annotation.Id; import org.spr...
__label__POS
0.978791
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.Result; import org.springframework.data.annotation.Id; import org.sprin...
__label__POS
0.977396
package org.apereo.openlrw.oneroster.service.repository; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apereo.model.oneroster.Enrollment; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Docu...
__label__POS
0.985326
rootProject.name = "cas-mgmt" include "api:cas-mgmt-api-core" include "api:cas-mgmt-api-configuration" include "api:cas-mgmt-api-version-control" include "api:cas-mgmt-api-delegated" include "api:cas-mgmt-api-dashboard" include ":config:cas-mgmt-config-audit" include ":config:cas-mgmt-config-authentication" include "...
__label__POS
0.999983
<?php /** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
__label__POS
0.723803
package org.apereo.cas.mgmt.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.CasManagementConfigurationProperties; import org.apereo.cas.mgmt.InCommonMetadataAggregateResolver; import org.apereo.cas.mgmt.MetadataAggregateResolver; import org.apereo.cas.mgmt.Mg...
__label__POS
0.704933
package org.apereo.cas.mgmt.config; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authorization.LdapUserAttributesToRolesAuthorizationGenerator; import org.apereo.cas.authorization.LdapUserGroupsToRolesAuthorizationGenerator; import org.apereo.cas.configuration.CasConfigurationPropert...
__label__POS
0.735384
package org.apereo.cas.mgmt.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.CasManagementConfigurationProperties; import org.apereo.cas.mgmt.LuceneSearch; import org.apereo.cas.mgmt.MgmtManagerFactory; import org.apereo.cas.services.ServicesManager; import or...
__label__POS
0.909544
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.828557
package org.apereo.cas.mgmt.config; import lombok.val; import org.springframework.boot.autoconfigure.AutoConfigurationImportFilter; import org.springframework.boot.autoconfigure.AutoConfigurationMetadata; import java.util.ArrayList; import java.util.Arrays; /** * Class used to exclude AutoConfiguration classes from ...
__label__POS
0.999281
package org.apereo.cas.mgmt.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.CasManagementConfigurationProperties; import org.apereo.cas.mgmt.authz.CasRoleBasedAuthorizer; import org.apereo.cas.mgmt.authz.CasSpringSecurityAuthorizationGenerator; import org.ape...
__label__POS
0.685792
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.828631
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.650316
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.78752
package org.apereo.cas.mgmt; import org.apereo.cas.mgmt.controller.ApplicationDataController; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import static org.junit.jupiter.api.Assertions.*; /** * Test ...
__label__POS
0.98688
package org.apereo.cas.mgmt.domain; import com.fasterxml.jackson.annotation.JsonAlias; import lombok.Data; import lombok.NoArgsConstructor; import java.time.ZonedDateTime; import java.util.List; import java.util.Map; /** * Data class representing a user SSO Session for a CAS Cluster. * * @author Travis Schmidt * ...
__label__POS
0.625099
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.98998
package org.apereo.cas.configuration.model; import org.apereo.cas.configuration.model.support.email.EmailProperties; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.NestedConfigurationProperty; import java.io.Serializable; /** * Notification emails for Bulk client actio...
__label__POS
0.945708
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.839809
package org.apereo.cas.configuration.model; import org.apereo.cas.configuration.model.support.email.EmailProperties; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * Notification emails for submission actions. * * @author Travis Schmi...
__label__POS
0.996411
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.830873
package org.apereo.cas.mgmt.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.eclipse.jgit.lib.ObjectId; import java.io.Serializable; /** * Bean to serialize a Diff to the client. * * @author Travis Schmidt * @since 5.2.0 * */ @Data @AllArgsConstructor @No...
__label__POS
0.994819
package org.apereo.cas.mgmt.domain; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.Set; /** * Data class used to pass repository state to client. * * @author Travis Schmidt * @since 5.2.2 */ @Data @NoArgsConstructor public class GitStatus implements Serializab...
__label__POS
0.701308
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.968947
package org.apereo.cas.mgmt.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serial; import java.io.Serializable; /** * Class used to serialize service information to be used when presenting * lists of services. * * @author Travis Schmidt * @since 5.2 ...
__label__POS
0.841191
package org.apereo.cas.mgmt.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * Class to serialize app configuration to client. * * @author Travis Schmidt * @since 5.3.0 */ @Data @NoArgsConstructor @AllArgsConstructor public class AppConfig { /** * Flag i...
__label__POS
0.975677
package org.apereo.cas.mgmt.authentication; import org.apereo.cas.mgmt.domain.MgmtUserProfile; import lombok.Getter; import lombok.val; import org.pac4j.core.profile.CommonProfile; import org.pac4j.core.profile.definition.CommonProfileDefinition; import org.springframework.security.core.Authentication; import java.io....
__label__POS
0.725059
package org.apereo.cas.mgmt.util; import lombok.val; import org.apache.hc.client5.http.impl.auth.BasicAuthCache; import org.apache.hc.client5.http.impl.auth.BasicScheme; import org.apache.hc.client5.http.protocol.HttpClientContext; import org.apache.hc.core5.http.HttpHost; import org.apache.hc.core5.http.protocol.Basi...
__label__POS
0.990848
package org.apereo.cas.mgmt.util; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.services.util.RegisteredServiceJsonSerializer; import org.apereo.cas.services.util.RegisteredServiceYamlSerializer; import org.apereo.cas.util.DateTimeUtils; import org.apereo.cas.util.RegexUtils; import com.faste...
__label__POS
0.970775
package org.apereo.cas.mgmt; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.mgmt.domain.RegisteredServiceItem; import org.apereo.cas.mgmt.util.CasManagementUtils; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.services.ServicesManager; import org.apereo.cas.servi...
__label__POS
0.701838
package org.apereo.cas.mgmt.factory; import org.apereo.cas.mgmt.ManagementServicesManager; import org.apereo.cas.mgmt.MgmtManagerFactory; import org.apereo.cas.services.ServicesManager; import org.apereo.cas.services.resource.RegisteredServiceResourceNamingStrategy; import lombok.RequiredArgsConstructor; import org.sp...
__label__POS
0.894523
package org.apereo.cas.mgmt.controller; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.pac4j.core.profile.ProfileManager; import org.pac4j.jee.context.JEEContext; import org.pac4j.jee.context.session.JEESessionStore; import org.springframework.stereotype.Controll...
__label__POS
0.877499
package org.apereo.cas.mgmt.controller; import org.apereo.cas.mgmt.ContactLookup; import org.apereo.cas.mgmt.authentication.CasUserProfile; import org.apereo.cas.services.RegisteredServiceContact; import lombok.RequiredArgsConstructor; import lombok.val; import org.springframework.http.MediaType; import org.springfram...
__label__POS
0.926362
package org.apereo.cas.mgmt.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * This controller is mapped to all allowed paths that the user can type into the Url bar of * the browser or hit the refresh button on so the app will stay in ...
__label__POS
0.712816
package org.apereo.cas.mgmt.audit; import org.apereo.cas.util.http.HttpRequestUtils; import org.apereo.inspektr.common.spi.PrincipalResolver; import lombok.val; import org.aspectj.lang.JoinPoint; import org.pac4j.core.profile.ProfileManager; import org.pac4j.core.profile.UserProfile; import org.pac4j.jee.context.JEECo...
__label__POS
0.923711
package org.apereo.cas.mgmt.audit; import org.apereo.cas.util.AopUtils; import org.apereo.inspektr.audit.spi.AuditResourceResolver; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.aspectj.lang.JoinPoint; /** * Resolves a service id to the service. * <p> * The expectation is that args[0]...
__label__POS
0.998688
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.970695
package org.apereo.cas.mgmt.authz; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer; import org.pac4j.core.context.WebContext; import org.pac4j.core.context.session.SessionStore; import org.pac4j.core.profile.UserProfile; import java.util.List...
__label__POS
0.988263
package org.apereo.cas.mgmt.authz; import org.apereo.cas.util.ResourceUtils; import org.apereo.cas.util.io.FileWatcherService; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.jooq.lambda.Unchecked; import org.pac4j.core.authorization.generator.AuthorizationGenerator; import org.pac4j.core.authorization...
__label__POS
0.657605
package org.apereo.cas.mgmt.authz.json; import org.apereo.cas.util.io.FileWatcherService; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.SneakyThrows; import lombok.val; import org.hjson.JsonValue; i...
__label__POS
0.770797
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.98119
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.682074
package org.apereo.cas.mgmt.controller; import org.apereo.cas.mgmt.BranchMap; import org.apereo.cas.mgmt.CommitStatus; import org.apereo.cas.mgmt.domain.BranchData; import lombok.experimental.UtilityClass; import lombok.val; import java.util.EnumSet; /** * Utility class for delegated functions. * * @author Travi...
__label__POS
0.980536
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.66432
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.970568
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.975629
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.920444
package org.apereo.cas.mgmt; import org.apereo.cas.support.saml.OpenSamlConfigBean; import org.apereo.cas.support.saml.SamlUtils; import lombok.SneakyThrows; import lombok.experimental.UtilityClass; import lombok.val; import org.opensaml.core.xml.XMLObject; import org.opensaml.core.xml.util.XMLObjectSource; import or...
__label__POS
0.965206
package org.apereo.cas.mgmt; import org.opensaml.saml.saml2.metadata.EntityDescriptor; import org.opensaml.xmlsec.signature.support.SignatureException; import java.util.List; /** * Interface for aggregate resolver. * * @author Travis Schmidt * @since 6.1.0 */ public interface MetadataAggregateResolver { /*...
__label__POS
0.957125
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.976329
package org.apereo.cas.mgmt; import org.apereo.cas.mgmt.authentication.CasUserProfile; import org.apereo.cas.mgmt.domain.Commit; import org.apereo.cas.mgmt.domain.History; import org.apereo.cas.mgmt.exception.NoDifferenceException; import com.google.common.base.Splitter; import com.google.common.collect.Iterables; im...
__label__POS
0.693291