repo stringclasses 1k
values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 6
values | commit_sha stringclasses 1k
values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/DisabledSecurity.java | src/main/java/org/ohdsi/webapi/shiro/management/DisabledSecurity.java | package org.ohdsi.webapi.shiro.management;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.servlet.Filter;
import org.apache.shiro.authc.Authenticator;
import org.apache.shiro.authc.pam.ModularRealmAuthenticator;
import org.apache.shiro.realm.Realm;
import o... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/AtlasSecurity.java | src/main/java/org/ohdsi/webapi/shiro/management/AtlasSecurity.java | package org.ohdsi.webapi.shiro.management;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import javax.annotation.PostConstruct;
import javax.servlet.Filter;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.UnavailableSecurityManagerException;
impor... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/AtlasGoogleSecurity.java | src/main/java/org/ohdsi/webapi/shiro/management/AtlasGoogleSecurity.java | package org.ohdsi.webapi.shiro.management;
import org.apache.shiro.realm.Realm;
import org.ohdsi.webapi.Constants;
import org.ohdsi.webapi.security.model.EntityPermissionSchemaResolver;
import org.ohdsi.webapi.shiro.filters.GoogleIapJwtAuthFilter;
import org.ohdsi.webapi.shiro.realms.JwtAuthRealm;
import org.springfra... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/FilterChainBuilder.java | src/main/java/org/ohdsi/webapi/shiro/management/FilterChainBuilder.java | package org.ohdsi.webapi.shiro.management;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.stream.Collectors;
public class FilterChainBuilder {
private Map<String, String> filterChain = new LinkedHashMap<>();
private String restFilters;
private String authc... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/Security.java | src/main/java/org/ohdsi/webapi/shiro/management/Security.java | package org.ohdsi.webapi.shiro.management;
import java.util.Map;
import java.util.Set;
import javax.servlet.Filter;
import org.apache.shiro.authc.pam.ModularRealmAuthenticator;
import org.apache.shiro.realm.Realm;
/**
*
* @author gennadiy.anisimov
*/
public abstract class Security {
public static final String S... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/DataSourceAccessBeanPostProcessor.java | src/main/java/org/ohdsi/webapi/shiro/management/DataSourceAccessBeanPostProcessor.java | package org.ohdsi.webapi.shiro.management;
import org.aopalliance.intercept.MethodInterceptor;
import org.ohdsi.webapi.shiro.annotations.DataSourceAccess;
import org.ohdsi.webapi.shiro.management.datasource.AccessorParameterBinding;
import org.ohdsi.webapi.shiro.management.datasource.DataSourceAccessParameterResolver;... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/PathwayAnalysisGenerationIdAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/PathwayAnalysisGenerationIdAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.pathway.repository.PathwayAnalysisGenerationRepository;
import org.ohdsi.webapi.source.Source;
import org.ohdsi.webapi.util.EntityUtils;
import org.springframework.stereotype.Component;
import javax.ws.rs.NotFoundException;
@Component
publ... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/DataSourceAccessParameterResolver.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/DataSourceAccessParameterResolver.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.shiro.annotations.CcGenerationId;
import org.ohdsi.webapi.shiro.annotations.PathwayAnalysisGenerationId;
import org.ohdsi.webapi.shiro.annotations.SourceId;
import org.ohdsi.webapi.shiro.annotations.SourceKey;
import org.ohdsi.webapi.source.... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceIdAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceIdAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.source.Source;
import org.ohdsi.webapi.source.SourceRepository;
import org.springframework.stereotype.Component;
@Component
public class SourceIdAccessor extends BaseDataSourceAccessor<Integer> {
private SourceRepository sourceRepository... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/CcGenerationIdAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/CcGenerationIdAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.cohortcharacterization.repository.CcGenerationEntityRepository;
import org.ohdsi.webapi.source.Source;
import org.springframework.stereotype.Component;
import javax.ws.rs.NotFoundException;
@Component
public class CcGenerationIdAccessor ex... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceKeyAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceKeyAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.source.Source;
import org.ohdsi.webapi.source.SourceRepository;
import org.springframework.stereotype.Component;
@Component
public class SourceKeyAccessor extends BaseDataSourceAccessor<String> {
private SourceRepository sourceRepository... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/DataSourceAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/DataSourceAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
@FunctionalInterface
public interface DataSourceAccessor<T> {
void checkAccess(T value);
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/BaseDataSourceAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/BaseDataSourceAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.apache.shiro.SecurityUtils;
import org.ohdsi.webapi.shiro.management.DisabledSecurity;
import org.ohdsi.webapi.shiro.management.Security;
import org.ohdsi.webapi.source.Source;
import org.springframework.beans.factory.annotation.Autowired;
import javax.... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/AccessorParameterBinding.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/AccessorParameterBinding.java | package org.ohdsi.webapi.shiro.management.datasource;
public class AccessorParameterBinding<T> {
private Integer parameterIndex;
private DataSourceAccessor<T> dataSourceAccessor;
public AccessorParameterBinding(Integer parameterIndex, DataSourceAccessor<T> dataSourceAccessor) {
this.parameterIndex = paramet... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceAccessor.java | src/main/java/org/ohdsi/webapi/shiro/management/datasource/SourceAccessor.java | package org.ohdsi.webapi.shiro.management.datasource;
import org.ohdsi.webapi.source.Source;
import org.springframework.stereotype.Component;
@Component
public class SourceAccessor extends BaseDataSourceAccessor<Source> {
@Override
protected Source extractSource(Source source) {
return source;
}
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/runas/RunAsStorage.java | src/main/java/org/ohdsi/webapi/shiro/runas/RunAsStorage.java | package org.ohdsi.webapi.shiro.runas;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.subject.PrincipalCollection;
import java.util.List;
public interface RunAsStorage {
void pushPrincipals(Object principal, PrincipalCollection principals);
PrincipalCollection popPrincipals(Object pr... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/runas/DefaultInMemoryRunAsStorage.java | src/main/java/org/ohdsi/webapi/shiro/runas/DefaultInMemoryRunAsStorage.java | package org.ohdsi.webapi.shiro.runas;
import org.apache.commons.collections.CollectionUtils;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.subject.PrincipalCollection;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;
imp... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/annotations/PathwayAnalysisGenerationId.java | src/main/java/org/ohdsi/webapi/shiro/annotations/PathwayAnalysisGenerationId.java | package org.ohdsi.webapi.shiro.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface PathwayAnalysisGenerationId ... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/annotations/DataSourceAccess.java | src/main/java/org/ohdsi/webapi/shiro/annotations/DataSourceAccess.java | package org.ohdsi.webapi.shiro.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DataSourceAccess {
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/annotations/CcGenerationId.java | src/main/java/org/ohdsi/webapi/shiro/annotations/CcGenerationId.java | package org.ohdsi.webapi.shiro.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface CcGenerationId {
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/annotations/SourceKey.java | src/main/java/org/ohdsi/webapi/shiro/annotations/SourceKey.java | package org.ohdsi.webapi.shiro.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface SourceKey {
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/annotations/SourceId.java | src/main/java/org/ohdsi/webapi/shiro/annotations/SourceId.java | package org.ohdsi.webapi.shiro.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface SourceId {
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/LockEntry.java | src/main/java/org/ohdsi/webapi/shiro/lockout/LockEntry.java | package org.ohdsi.webapi.shiro.lockout;
import java.util.Objects;
class LockEntry {
private int attempts;
private long expired = 0L;
public static final long EXPIRED_NOT_SET = -1L;
public LockEntry(int attempts, long expired) {
this.attempts = attempts;
this.expired = expired;
}
... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/NoLockoutPolicy.java | src/main/java/org/ohdsi/webapi/shiro/lockout/NoLockoutPolicy.java | package org.ohdsi.webapi.shiro.lockout;
public class NoLockoutPolicy implements LockoutPolicy {
@Override
public boolean isLockedOut(String principal) {
return true;
}
@Override
public boolean isLockedOut(LockEntry entry) {
return true;
}
@Override
public long getLoc... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutPolicy.java | src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutPolicy.java | package org.ohdsi.webapi.shiro.lockout;
public interface LockoutPolicy {
boolean isLockedOut(String principal);
boolean isLockedOut(LockEntry entry);
long getLockExpiration(String principal);
void loginFailed(String principal);
void loginSucceeded(String principal);
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutStrategy.java | src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutStrategy.java | package org.ohdsi.webapi.shiro.lockout;
public interface LockoutStrategy {
long getLockDuration(int attempts);
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutWebSecurityManager.java | src/main/java/org/ohdsi/webapi/shiro/lockout/LockoutWebSecurityManager.java | package org.ohdsi.webapi.shiro.lockout;
import java.util.Date;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.Locked... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/ExponentLockoutStrategy.java | src/main/java/org/ohdsi/webapi/shiro/lockout/ExponentLockoutStrategy.java | package org.ohdsi.webapi.shiro.lockout;
import java.util.concurrent.TimeUnit;
public class ExponentLockoutStrategy implements LockoutStrategy {
private final long initialDuration;
private final long increment;
private final int maxAttempts;
public ExponentLockoutStrategy(long initialDuration, long i... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/lockout/DefaultLockoutPolicy.java | src/main/java/org/ohdsi/webapi/shiro/lockout/DefaultLockoutPolicy.java | package org.ohdsi.webapi.shiro.lockout;
import com.odysseusinc.logging.event.LockoutStartEvent;
import com.odysseusinc.logging.event.LockoutStopEvent;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.scheduling.annotation.Scheduled;
import java.util.Date;
import java.util.Map;
... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/exception/NullJsonNodeException.java | src/main/java/org/ohdsi/webapi/shiro/exception/NullJsonNodeException.java | package org.ohdsi.webapi.shiro.exception;
public class NullJsonNodeException extends NullPointerException {
public NullJsonNodeException() {
}
public NullJsonNodeException(String message) {
super(message);
}
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserRepository.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserRepository.java | package org.ohdsi.webapi.shiro.Entities;
import java.util.List;
import java.util.Set;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
/**
* Created by GMalikov on 24.08.2015.
*/
public interface UserRepository extends CrudRepository<UserEntity, Long> ... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RoleRepository.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RoleRepository.java | package org.ohdsi.webapi.shiro.Entities;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import java.util.List;
/**
* Created by GMalikov on 24.08.2015.
*/
public interface RoleRepository extend... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionRepository.java | src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionRepository.java | package org.ohdsi.webapi.shiro.Entities;
import com.cosium.spring.data.jpa.entity.graph.domain.EntityGraph;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
/**
* Created by GMalikov on 24.08.2015.
*/
public interface Permission... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserRoleEntity.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserRoleEntity.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
impo... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RolePermissionRepository.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RolePermissionRepository.java | package org.ohdsi.webapi.shiro.Entities;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
/**
*
* @author gennadiy.anisimov
*/
public interface RolePermissionRepository extends CrudRepository<RolePermissionEntity, Long> {
RolePermissionEntity findById(Long id);
RolePermis... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RoleRequest.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RoleRequest.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
/**
*
* @author gennadiy.anisimov
*/
public class RoleRequest implements Serializable {
private static final long serialVersionUID = -2697485161468660016L;
private Long id;
private String user;
private String role;
public Long getId... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserEntity.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserEntity.java | package org.ohdsi.webapi.shiro.Entities;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* Created by GMalikov on 24.08.2015.
*/
... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RolePermissionEntity.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RolePermissionEntity.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import o... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserPrincipal.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserPrincipal.java | package org.ohdsi.webapi.shiro.Entities;
public class UserPrincipal {
private String name;
private String username;
private String password;
public UserPrincipal() {
}
public UserPrincipal(String username, String password, String name) {
this.username = username;
this.password... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionRequest.java | src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionRequest.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
/**
*
* @author gennadiy.anisimov
*/
public class PermissionRequest implements Serializable{
private static final long serialVersionUID = -2697485161468660016L;
private Long id;
private String role;
private String permission;
private... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserOrigin.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserOrigin.java | package org.ohdsi.webapi.shiro.Entities;
import org.ohdsi.webapi.user.importer.model.LdapProviderType;
public enum UserOrigin {
SYSTEM, AD, LDAP;
public static UserOrigin getFrom(LdapProviderType ldapProviderType) {
switch (ldapProviderType) {
case LDAP: return LDAP;
case ACTI... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionEntity.java | src/main/java/org/ohdsi/webapi/shiro/Entities/PermissionEntity.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.p... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/UserRoleRepository.java | src/main/java/org/ohdsi/webapi/shiro/Entities/UserRoleRepository.java | package org.ohdsi.webapi.shiro.Entities;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
/**
*
* @author gennadiy.anisimov
*/
public interface UserRoleRepository extends CrudRepository<UserRoleEntity, Long> {
public List<UserRoleEntity> findByUser(UserEntity user);
public Us... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RequestStatus.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RequestStatus.java | package org.ohdsi.webapi.shiro.Entities;
/**
*
* @author gennadiy.anisimov
*/
public class RequestStatus {
public static final String REQUESTED = "REQUESTED";
public static final String APPROVED = "APPROVED";
public static final String REFUSED = "REFUSED";
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/Entities/RoleEntity.java | src/main/java/org/ohdsi/webapi/shiro/Entities/RoleEntity.java | package org.ohdsi.webapi.shiro.Entities;
import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.p... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/subject/WebDelegatingRunAsSubjectFactory.java | src/main/java/org/ohdsi/webapi/shiro/subject/WebDelegatingRunAsSubjectFactory.java | package org.ohdsi.webapi.shiro.subject;
import org.apache.shiro.mgt.DefaultSubjectFactory;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.mgt.SubjectFactory;
import org.apache.shiro.session.Session;
import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.subject.Subject;
impo... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/subject/WebDelegatingRunAsSubject.java | src/main/java/org/ohdsi/webapi/shiro/subject/WebDelegatingRunAsSubject.java | package org.ohdsi.webapi.shiro.subject;
import org.apache.commons.collections.CollectionUtils;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.session.Session;
import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.subject.Su... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/RunAsFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/RunAsFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shiro.web.util.WebUti... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/SkipFurtherFilteringFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/SkipFurtherFilteringFilter.java | package org.ohdsi.webapi.shiro.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/ExceptionHandlerFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/ExceptionHandlerFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.Ser... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/CacheFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/CacheFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.ohdsi.webapi.security.PermissionService;
import org.ohdsi.webapi.shiro.PermissionManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
im... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/SendTokenInHeaderFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/SendTokenInHeaderFilter.java | package org.ohdsi.webapi.shiro.filters;
import com.fasterxml.jackson.databind.ObjectMapper;
import static org.ohdsi.webapi.shiro.management.AtlasSecurity.PERMISSIONS_ATTRIBUTE;
import static org.ohdsi.webapi.shiro.management.AtlasSecurity.TOKEN_ATTRIBUTE;
import java.io.IOException;
import java.io.PrintWriter;
import... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/LogoutFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/LogoutFilter.java | package org.ohdsi.webapi.shiro.filters;
import com.odysseusinc.logging.event.FailedLogoutEvent;
import com.odysseusinc.logging.event.SuccessLogoutEvent;
import io.jsonwebtoken.JwtException;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.session.Ses... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/CasHandleFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/CasHandleFilter.java | package org.ohdsi.webapi.shiro.filters;
import io.buji.pac4j.token.Pac4jToken;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.subject.Subject;
import org.apache.shiro.web.servlet.ShiroHttpServletRe... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/ForceSessionCreationFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/ForceSessionCreationFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.session.Session;
import org.apache.shiro.subject.support.DefaultSubjectContext;
import org.apache.shiro.web.servlet.AdviceFilter;
/**
*
* ... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/HideResourceFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/HideResourceFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shiro.web.util.WebUtils;
/**
*
* @author gennadiy.anisimov
*/
public class HideResour... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/AtlasAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/AtlasAuthFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.apache.shiro.web.filter.authc.AuthenticatingFilter;
/**
* Filter to check for a user, who has already logged in using external service
*/
public abstract class AtlasAuthFilter extends AuthenticatingFilter {
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/UpdateAccessTokenFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/UpdateAccessTokenFilter.java | package org.ohdsi.webapi.shiro.filters;
import static org.ohdsi.webapi.shiro.management.AtlasSecurity.AUTH_CLIENT_ATTRIBUTE;
import static org.ohdsi.webapi.shiro.management.AtlasSecurity.PERMISSIONS_ATTRIBUTE;
import static org.ohdsi.webapi.shiro.management.AtlasSecurity.TOKEN_ATTRIBUTE;
import io.buji.pac4j.subject.... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/ResponseNoCacheFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/ResponseNoCacheFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.apache.shiro.web.util.WebUtils;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.ht... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/CorsFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/CorsFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.common.base.Joiner;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shir... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/GoogleAccessTokenFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/GoogleAccessTokenFilter.java | package org.ohdsi.webapi.shiro.filters;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.subject.Pr... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/GoogleIapJwtAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/GoogleIapJwtAuthFilter.java | package org.ohdsi.webapi.shiro.filters;
import com.google.common.base.Preconditions;
import com.nimbusds.jose.JOSEException;
import com.nimbusds.jose.JWSHeader;
import com.nimbusds.jose.JWSVerifier;
import com.nimbusds.jose.crypto.ECDSAVerifier;
import com.nimbusds.jose.jwk.ECKey;
import com.nimbusds.jose.jwk.JWK;
im... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/UrlBasedAuthorizingFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/UrlBasedAuthorizingFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shir... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/RedirectOnFailedOAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/RedirectOnFailedOAuthFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shiro.web.util.WebUtils;
/**
*
* @author gennadiy.anisimov
*/
public class RedirectOnFailedOAuthFilter extends AdviceFilter {
pri... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/SendTokenInUrlFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/SendTokenInUrlFilter.java | package org.ohdsi.webapi.shiro.filters;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.web.servlet.AdviceFilter;
import org.apache.shiro.web.util.WebUtils;
import org.ohdsi.webapi.helper.Guard;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.net.URLEncoder... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/AuthenticatingPropagationFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/AuthenticatingPropagationFilter.java | package org.ohdsi.webapi.shiro.filters;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import com.odysseusinc.logging.event.FailedLoginEvent;
import com.odysseusinc.logging.event.SuccessLoginEvent;
import org.apache.shiro.authc.AuthenticationEx... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/KerberosAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/KerberosAuthFilter.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/SamlHandleFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/SamlHandleFilter.java | package org.ohdsi.webapi.shiro.filters.auth;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.web.servlet.ShiroHttpServletRequest;
import org.apache.shiro.web.util.WebUtils;
import org.ohdsi.webapi.helper.Guard;
import org.ohdsi.webapi.shiro.filters.Atla... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/ActiveDirectoryAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/ActiveDirectoryAuthFilter.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/AbstractLdapAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/AbstractLdapAuthFilter.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/AtlasJwtAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/AtlasJwtAuthFilter.java | package org.ohdsi.webapi.shiro.filters.auth;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.web.u... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/LdapAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/LdapAuthFilter.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/filters/auth/JdbcAuthFilter.java | src/main/java/org/ohdsi/webapi/shiro/filters/auth/JdbcAuthFilter.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/tokens/JwtAuthToken.java | src/main/java/org/ohdsi/webapi/shiro/tokens/JwtAuthToken.java | package org.ohdsi.webapi.shiro.tokens;
import org.apache.shiro.authc.AuthenticationToken;
/**
*
* @author gennadiy.anisimov
*/
public class JwtAuthToken implements AuthenticationToken {
private String subject;
public JwtAuthToken(String subject) {
this.subject = subject;
}
@Override
public O... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/tokens/ActiveDirectoryUsernamePasswordToken.java | src/main/java/org/ohdsi/webapi/shiro/tokens/ActiveDirectoryUsernamePasswordToken.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/tokens/LdapUsernamePasswordToken.java | src/main/java/org/ohdsi/webapi/shiro/tokens/LdapUsernamePasswordToken.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/tokens/SpnegoToken.java | src/main/java/org/ohdsi/webapi/shiro/tokens/SpnegoToken.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/realms/ADRealm.java | src/main/java/org/ohdsi/webapi/shiro/realms/ADRealm.java | package org.ohdsi.webapi.shiro.realms;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.a... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/realms/JdbcAuthRealm.java | src/main/java/org/ohdsi/webapi/shiro/realms/JdbcAuthRealm.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/realms/LdapRealm.java | src/main/java/org/ohdsi/webapi/shiro/realms/LdapRealm.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/realms/JwtAuthRealm.java | src/main/java/org/ohdsi/webapi/shiro/realms/JwtAuthRealm.java | package org.ohdsi.webapi.shiro.realms;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.auth... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/realms/KerberosAuthRealm.java | src/main/java/org/ohdsi/webapi/shiro/realms/KerberosAuthRealm.java | /*
*
* Copyright 2017 Observational Health Data Sciences and Informatics
* 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 r... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/mapper/UserMapper.java | src/main/java/org/ohdsi/webapi/shiro/mapper/UserMapper.java | package org.ohdsi.webapi.shiro.mapper;
import org.apache.commons.lang3.StringUtils;
import org.ohdsi.webapi.shiro.Entities.UserPrincipal;
import org.springframework.ldap.core.AttributesMapper;
import javax.naming.NamingException;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;
publ... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/mapper/LdapUserMapper.java | src/main/java/org/ohdsi/webapi/shiro/mapper/LdapUserMapper.java | package org.ohdsi.webapi.shiro.mapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class LdapUserMapper extends UserMapper {
@Value("${security.ldap.userMapping.firstnameAttr}")
private String firstnameKey;
@Value("${securi... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/mapper/ADUserMapper.java | src/main/java/org/ohdsi/webapi/shiro/mapper/ADUserMapper.java | package org.ohdsi.webapi.shiro.mapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class ADUserMapper extends UserMapper {
@Value("${security.ad.userMapping.firstnameAttr}")
private String firstnameKey;
@Value("${security.a... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/activity/Tracker.java | src/main/java/org/ohdsi/webapi/activity/Tracker.java | /*
* Copyright 2015 fdefalco.
*
* 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 by applicable law or agreed to i... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/activity/Activity.java | src/main/java/org/ohdsi/webapi/activity/Activity.java | /*
* Copyright 2015 fdefalco.
*
* 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 by applicable law or agreed to i... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/CSVRecordMapper.java | src/main/java/org/ohdsi/webapi/util/CSVRecordMapper.java | package org.ohdsi.webapi.util;
import org.apache.commons.csv.CSVRecord;
@FunctionalInterface
public interface CSVRecordMapper<T> {
T mapRecord(CSVRecord record);
}
| java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/BatchStatementExecutorWithProgress.java | src/main/java/org/ohdsi/webapi/util/BatchStatementExecutorWithProgress.java | package org.ohdsi.webapi.util;
import org.apache.tika.concurrent.SimpleThreadPoolExecutor;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.StatementCallback;
import org.springframework.transaction.support.TransactionTemplate;
... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/ExportUtil.java | src/main/java/org/ohdsi/webapi/util/ExportUtil.java | package org.ohdsi.webapi.util;
import com.opencsv.CSVWriter;
import org.ohdsi.circe.vocabulary.Concept;
import org.ohdsi.circe.vocabulary.ConceptSetExpression;
import org.ohdsi.webapi.analysis.AnalysisCohortDefinition;
import org.ohdsi.webapi.conceptset.ConceptSetExport;
import org.ohdsi.webapi.estimation.specificatio... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/CacheHelper.java | src/main/java/org/ohdsi/webapi/util/CacheHelper.java | package org.ohdsi.webapi.util;
import java.lang.management.ManagementFactory;
import java.util.HashSet;
import java.util.Set;
import javax.cache.CacheManager;
import javax.cache.configuration.MutableConfiguration;
import javax.cache.management.CacheStatisticsMXBean;
import javax.management.MBeanServer;
import javax.ma... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/CancelableJdbcTemplate.java | src/main/java/org/ohdsi/webapi/util/CancelableJdbcTemplate.java | package org.ohdsi.webapi.util;
import org.ohdsi.sql.BigQuerySparkTranslate;
import org.springframework.dao.DataAccessException;
import org.springframework.dao.InvalidDataAccessApiUsageException;
import org.springframework.jdbc.core.*;
import org.springframework.jdbc.support.JdbcUtils;
import org.springframework.util.A... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/AnnotationReflectionUtils.java | src/main/java/org/ohdsi/webapi/util/AnnotationReflectionUtils.java | package org.ohdsi.webapi.util;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
public class AnnotationReflectionUtils {
public static List<Method> getMe... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/JobUtils.java | src/main/java/org/ohdsi/webapi/util/JobUtils.java | package org.ohdsi.webapi.util;
import java.util.Map;
import static org.ohdsi.webapi.Constants.Params.CDM_DATABASE_SCHEMA;
import static org.ohdsi.webapi.Constants.Params.RESULTS_DATABASE_SCHEMA;
import static org.ohdsi.webapi.Constants.Params.TARGET_DATABASE_SCHEMA;
import static org.ohdsi.webapi.Constants.Params.TEM... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/TempFileUtils.java | src/main/java/org/ohdsi/webapi/util/TempFileUtils.java | package org.ohdsi.webapi.util;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.uti... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/OutputStreamWriter.java | src/main/java/org/ohdsi/webapi/util/OutputStreamWriter.java | package org.ohdsi.webapi.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
imp... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/SqlUtils.java | src/main/java/org/ohdsi/webapi/util/SqlUtils.java | /*
* Copyright 2020 cknoll1.
*
* 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 by applicable law or agreed to in... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/ResourceUtils.java | src/main/java/org/ohdsi/webapi/util/ResourceUtils.java | package org.ohdsi.webapi.util;
import org.pac4j.core.context.HttpConstants;
import org.pac4j.core.exception.TechnicalException;
import org.pac4j.core.util.CommonHelper;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resour... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/NameUtils.java | src/main/java/org/ohdsi/webapi/util/NameUtils.java | package org.ohdsi.webapi.util;
import java.util.Comparator;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static org.ohdsi.webapi.Constants.Templates.ENTITY_COPY_PREFIX;
public fin... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
OHDSI/WebAPI | https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/util/JoinUtils.java | src/main/java/org/ohdsi/webapi/util/JoinUtils.java | package org.ohdsi.webapi.util;
import org.apache.commons.lang3.StringUtils;
import java.util.Optional;
public class JoinUtils {
public static String join(Iterable<?> parts) {
return join(parts, ",");
}
public static String join(Iterable<?> parts, String separator) {
return join(parts, separator, ""... | java | Apache-2.0 | b22d7bf02d98c0cf78c46801877368d6ecad2245 | 2026-01-05T02:37:20.475642Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.