index
int64
repo_id
string
file_path
string
content
string
0
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api/jest/JestSearchEntryOperations.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api/jest/JestSync.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api/tag/InMemoryTagService.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api/tag/TagRestController.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api
java-sources/am/ik/categolj3/categolj3-api/1.0.0.M6/am/ik/categolj3/api/tag/TagService.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/certificate/certificate-importer/0.0.1/am/ik
java-sources/am/ik/certificate/certificate-importer/0.0.1/am/ik/certificate/CertificateImporter.java
package am.ik.certificate; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.security.GeneralSecurityException; import java.security.KeyStore; import java.security.cert.Certificate; import java.security.cert.CertificateFactory; import jav...
0
java-sources/am/ik/certificate/certificate-importer/0.0.1/am/ik/certificate
java-sources/am/ik/certificate/certificate-importer/0.0.1/am/ik/certificate/spring/CertificateImporterApplicationContextInitializer.java
package am.ik.certificate.spring; import am.ik.certificate.CertificateImporter; import org.springframework.context.ApplicationContextInitializer; import org.springframework.context.ConfigurableApplicationContext; import java.util.logging.Level; import java.util.logging.Logger; public class CertificateImporterApplica...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/CompileSafeName.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/CompileSafeParameters.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/package-info.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/processor/CompileSafeNameProcessor.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/processor/CompileSafeNameTemplate.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/processor/Pair.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng
java-sources/am/ik/csng/csng/0.4.0/am/ik/csng/processor/package-info.java
/* * Copyright (C) 2020 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik/eureka/EurekaClientConfigImpl.java
package am.ik.eureka; import static java.lang.System.getenv; import static java.util.Optional.ofNullable; import java.util.Arrays; import java.util.List; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.netflix.discovery.DefaultEurekaClientConfig; public class EurekaCl...
0
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik/eureka/EurekaInstanceConfigImpl.java
package am.ik.eureka; import static java.lang.System.getenv; import static java.util.Optional.ofNullable; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.netflix.appinfo.PropertiesInstanceConfig; public class EurekaInstanceConfigImpl extends PropertiesInstanceConfig {...
0
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik/eureka/EurekaModule.java
package am.ik.eureka; import com.google.inject.AbstractModule; import com.google.inject.Scopes; import com.netflix.appinfo.ApplicationInfoManager; import com.netflix.appinfo.EurekaInstanceConfig; import com.netflix.appinfo.InstanceInfo; import com.netflix.appinfo.providers.EurekaConfigBasedInstanceInfoProvider; import...
0
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik
java-sources/am/ik/eureka/simple-eureka-client/0.1.0/am/ik/eureka/EurekaRegistrar.java
package am.ik.eureka; import static com.netflix.appinfo.InstanceInfo.InstanceStatus.UP; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.inject.Singleton; import com.netflix.appinfo.ApplicationInfoManager; import com.netflix.appinfo.InstanceInfo; import com.netf...
0
java-sources/am/ik/fh4j/fh4j/1.0.1
java-sources/am/ik/fh4j/fh4j/1.0.1/fh4j/DefaultFullHalf.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/fh4j/fh4j/1.0.1
java-sources/am/ik/fh4j/fh4j/1.0.1/fh4j/FullHalfConverter.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/fh4j/fh4j/1.0.1
java-sources/am/ik/fh4j/fh4j/1.0.1/fh4j/FullHalfPair.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/fh4j/fh4j/1.0.1
java-sources/am/ik/fh4j/fh4j/1.0.1/fh4j/FullHalfPairs.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/fh4j/fh4j/1.0.1
java-sources/am/ik/fh4j/fh4j/1.0.1/fh4j/FullHalfPairsBuilder.java
/* * Copyright (C) 2015 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/functions/fizz-buzz/1.0.0/am/ik
java-sources/am/ik/functions/fizz-buzz/1.0.0/am/ik/functions/FizzBuzz.java
package am.ik.functions; import java.util.function.Function; public class FizzBuzz implements Function<Long, String> { @Override public String apply(Long x) { if (x == null) { return ""; } if (x % 3 == 0 && x % 5 == 0) { return "FizzBuzz"; } if (...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/AccessToken.java
package am.ik.github; import org.springframework.http.HttpHeaders; import java.util.Optional; import java.util.function.Consumer; public class AccessToken { private final String accessToken; public AccessToken(String accessToken) { this.accessToken = accessToken; } public AccessToken() { ...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/GitHubClient.java
package am.ik.github; import am.ik.github.repositories.commits.CommitsApi; import am.ik.github.repositories.contents.ContentsApi; import org.springframework.web.reactive.function.client.WebClient; public class GitHubClient { private final WebClient webClient; public GitHubClient(String apiUrl, WebClient.Buil...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/Commit.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public class Commit extends Parent { private final Committer author; private final Committer committer; private final Tree tree; private final S...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/Committer.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.time.OffsetDateTime; import java.util.Objects; public class Committer { private final String name; private fin...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/Content.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class Content { private final String name; private final String path; private final String sha; private final String url; private final String gitUrl; pr...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/ContentType.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; public enum ContentType { FILE, DIR; @JsonCreator public static ContentType from(String s) { if (s == null) { return null; } return ContentType.valueOf(s.toUpperCase()); } }
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/Parent.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class Parent { private final String sha; private final String url; private final String htmlUrl; @JsonCreator public Parent(@JsonProperty("sha") String sha,...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/core/Tree.java
package am.ik.github.core; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class Tree { private final String sha; private final String url; @JsonCreator public Tree(@JsonProperty("sha") String sha, @JsonProperty("url") ...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories/commits/CommitsApi.java
package am.ik.github.repositories.commits; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.springframework.web.reactive.function.client.WebClient; import reactor.core.publisher.Flux; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatte...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories/commits/CommitsResponse.java
package am.ik.github.repositories.commits; import am.ik.github.core.Parent; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public abstract class CommitsResponse { public static final class Commit extends Parent { private ...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories/contents/ContentsApi.java
package am.ik.github.repositories.contents; import am.ik.github.core.Content; import org.springframework.web.reactive.function.client.WebClient; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; public class ContentsApi { public static class Contents { private final WebClient webClie...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories/contents/ContentsRequest.java
package am.ik.github.repositories.contents; import am.ik.github.core.Committer; import com.fasterxml.jackson.annotation.JsonInclude; import org.springframework.util.Base64Utils; import org.springframework.web.util.UriBuilder; import java.util.Objects; import static java.nio.charset.StandardCharsets.UTF_8; public ab...
0
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories
java-sources/am/ik/github/reactive-github-client/0.0.4/am/ik/github/repositories/contents/ContentsResponse.java
package am.ik.github.repositories.contents; import am.ik.github.core.Commit; import am.ik.github.core.Content; import am.ik.github.core.ContentType; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Base64; public abstract class ContentsRespon...
0
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast/dns/DnsRestServiceProperties.java
/* * Copyright (C) 2018 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast/dns/DnsServiceDiscoveryStrategy.java
/* * Copyright (C) 2018 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast
java-sources/am/ik/hazelcast/hazelcast-dns-service-discovery/1.0.0/am/ik/hazelcast/dns/DnsServiceDiscoveryStrategyFactory.java
/* * Copyright (C) 2018 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/AsyncMemberClientImpl.java
package am.ik.home.client.member; import static am.ik.home.client.member.TypeReferences.memberResourceType; import static am.ik.home.client.member.TypeReferences.memberResourcesType; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import org.springframework.data.domain....
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/Member.java
package am.ik.home.client.member; import java.io.Serializable; import java.util.List; public class Member implements Serializable { private String memberId; private String givenName; private String familyName; private String email; private List<MemberRole> roles; public String getMemberId() { return memberId...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/MemberClient.java
package am.ik.home.client.member; import java.util.concurrent.CompletableFuture; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.hateoas.PagedResources; import org.springframework.hateoas.Resource; public interface MemberClient { PagedR...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/MemberClientImpl.java
package am.ik.home.client.member; import static am.ik.home.client.member.TypeReferences.memberResourceType; import static am.ik.home.client.member.TypeReferences.memberResourcesType; import org.springframework.data.domain.Pageable; import org.springframework.hateoas.PagedResources; import org.springframework.hateoas....
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/MemberRole.java
package am.ik.home.client.member; public enum MemberRole { USER, ADMIN, ACTUATOR }
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/PageableUtils.java
package am.ik.home.client.member; import org.springframework.data.domain.Pageable; import org.springframework.web.util.UriComponentsBuilder; class PageableUtils { static UriComponentsBuilder withPageable(UriComponentsBuilder builder, Pageable pageable) { builder.queryParam("page", pageable.getPageNumber()).que...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/RequestEntities.java
package am.ik.home.client.member; import static am.ik.home.client.member.PageableUtils.withPageable; import static org.springframework.http.RequestEntity.get; import static org.springframework.web.util.UriComponentsBuilder.fromHttpUrl; import org.springframework.data.domain.Pageable; import org.springframework.http.R...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/member/TypeReferences.java
package am.ik.home.client.member; import org.springframework.core.ParameterizedTypeReference; import org.springframework.hateoas.PagedResources; import org.springframework.hateoas.Resource; class TypeReferences { final static ParameterizedTypeReference<Resource<Member>> memberResourceType = new ParameterizedTypeRef...
0
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client
java-sources/am/ik/home/uaa-client/1.9.0/am/ik/home/client/user/UaaUser.java
package am.ik.home.client.user; import java.io.IOException; import java.io.Serializable; import java.io.UncheckedIOException; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.Authentica...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/JwtConfigProps.java
package am.ik.home; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import org.springframework.validation.annotation.Validated; import lombok.Data; @ConfigurationProperties(prefix = "jwt") @Validated @Data @Component public class JwtConfigP...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/UaaApplication.java
package am.ik.home; import java.util.Arrays; import java.util.concurrent.TimeUnit; import javax.sql.DataSource; import org.apache.catalina.filters.RequestDumperFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.aut...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/UaaController.java
package am.ik.home; import java.util.LinkedHashMap; import java.util.Map; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBod...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/UaaTokenEnhancer.java
package am.ik.home; import java.time.Instant; import java.util.LinkedHashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Value; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.sec...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/WhitelabelConfigProps.java
package am.ik.home; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import lombok.Data; @ConfigurationProperties(prefix = "whitelabel") @Data @Component public class WhitelabelConfigProps { private String applicationName = "Maki UAA"; }
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/App.java
package am.ik.home.app; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import java.util.concurrent.TimeUnit; import javax.persistence.*; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import javax.validation....
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/AppClientDetails.java
package am.ik.home.app; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toSet; import org.springframework.security.oauth2.provider.client.BaseClientDetails; import org.springframework.util.CollectionUtils; public class AppClientDetails extends BaseClientDetails { privat...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/AppController.java
package am.ik.home.app; import java.util.UUID; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import org.springfram...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/AppGrantType.java
package am.ik.home.app; public enum AppGrantType { PASSWORD, AUTHORIZATION_CODE, REFRESH_TOKEN, IMPLICIT, CLIENT_CREDENTIALS }
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/AppRepository.java
package am.ik.home.app; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; @RepositoryRestResource(exported = false) public interface AppRepository extends JpaRepository<App, String> { Optional<App> fi...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/app/AppRole.java
package am.ik.home.app; public enum AppRole { CLIENT, TRUSTED_CLIENT }
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry/CloudConfig.java
package am.ik.home.cloudfoundry; import javax.sql.DataSource; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.cloud.config.java.AbstractCloudConfig; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; i...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry/broker/ServiceBrokerSecurityConfig.java
package am.ik.home.cloudfoundry.broker; import org.springframework.boot.autoconfigure.security.SecurityProperties; import org.springframework.core.annotation.Order; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.ann...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry/broker/UaaCatalogFactoryBean.java
package am.ik.home.cloudfoundry.broker; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.servicebroker.model.Catalog; import org.springframework.core.io.Resour...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry/broker/UaaServiceInstanceBindingService.java
package am.ik.home.cloudfoundry.broker; import java.util.HashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.servicebroker.model.CreateServiceInstanceAppBindingResponse; import org.springframework.cloud.servicebroker.model.CreateServiceInstanceBin...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/cloudfoundry/broker/UaaServiceInstanceService.java
package am.ik.home.cloudfoundry.broker; import java.util.*; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.springframework.cloud.servicebroker.model.*; import org.springframework.cloud.servicebroker.service.ServiceInstanceService; import org.springframework.stereotype.Component; ...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/Member.java
package am.ik.home.member; import java.io.Serializable; import java.util.List; import javax.persistence.*; import org.hibernate.annotations.GenericGenerator; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstruc...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberController.java
package am.ik.home.member; import java.util.List; import org.springframework.beans.BeanUtils; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import ...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberForm.java
package am.ik.home.member; import java.io.Serializable; import java.util.List; import javax.validation.constraints.Size; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotEmpty; import org.terasoluna.gfw.common.validator.constraints.Compare; import lombok.Data; @Data @...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberRepository.java
package am.ik.home.member; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Repository; import org.springframework.data.repository.query.Param; import org.springframework.data.rest.core.annotation.RestResource; public i...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberRole.java
package am.ik.home.member; public enum MemberRole { ADMIN, USER, ACTUATOR }
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberService.java
package am.ik.home.member; import org.springframework.security.access.method.P; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transact...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberUserDetails.java
package am.ik.home.member; import java.util.stream.Collectors; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.User; public class MemberUserDetails extends User { private final Member member; public MemberUserDetails(Member member) { ...
0
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home
java-sources/am/ik/home/uaa-server/1.9.0/am/ik/home/member/MemberUserDetailsService.java
package am.ik.home.member; import java.util.Optional; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.stereotype.Compone...
0
java-sources/am/ik/home/uaa-server/1.9.0/db
java-sources/am/ik/home/uaa-server/1.9.0/db/migration/V6__add_actuator_role.java
package db.migration; import org.flywaydb.core.api.migration.spring.SpringJdbcMigration; import org.springframework.jdbc.core.JdbcTemplate; public class V6__add_actuator_role implements SpringJdbcMigration { @Override public void migrate(JdbcTemplate jdbcTemplate) throws Exception { Long count = jdbcTemplate.quer...
0
java-sources/am/ik/home/uaa-server/1.9.0/db
java-sources/am/ik/home/uaa-server/1.9.0/db/migration/V8__add_credhub_app.java
package db.migration; import org.flywaydb.core.api.migration.spring.SpringJdbcMigration; import org.springframework.jdbc.core.JdbcTemplate; public class V8__add_credhub_app implements SpringJdbcMigration { @Override public void migrate(JdbcTemplate jdbcTemplate) throws Exception { Long count = jdbcTemplate.queryF...
0
java-sources/am/ik/jqiita/jqiita/0.8.1
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/ConfiguredAccessToken.java
package jqiita; import lombok.Getter; class ConfiguredAccessToken { private static final String ACCESS_TOKEN_PROPERTY_NAME = "jqiita.accessToken"; private static final String ACCESS_TOKEN_ENV_NAME = "JQIITA_ACCESS_TOKEN"; @Getter private String token; public ConfiguredAccessToken() { // ...
0
java-sources/am/ik/jqiita/jqiita/0.8.1
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/Qiita.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/QiitaClient.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/comment/Comment.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/comment/CommentRequest.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/comment/Comments.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/comment/Thank.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaBadRequestException.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaErrorHandler.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaException.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaForbiddenException.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaNotFoundException.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/exception/QiitaUnauthorizedException.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/item/Item.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/item/ItemRequest.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/item/Items.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/item/Lgtm.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/item/Stocks.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/project/Project.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/project/ProjectRequest.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/project/Projects.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/tag/FollowingTags.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/tag/Tag.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/tag/TagRequest.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/tag/Tags.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...