conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType;
import gov.hhs.fha.nhinc.docsubmission.inbound.InboundDocSubmission;
import gov.hhs.fha.nhinc.messaging.server.BaseService;
=======
>>>>>>>
import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType;
import gov.hhs.fha.nhinc.docsubmission.inbound.Inbo... |
<<<<<<<
import org.nhind.config.common.AddAnchor;
=======
import org.nhind.config.common.AddCertificates;
>>>>>>>
import org.nhind.config.common.AddAnchor;
import org.nhind.config.common.AddCertificates;
<<<<<<<
import org.nhind.config.common.Anchor;
=======
import org.nhind.config.common.Certificate;
>>>>>>>
i... |
<<<<<<<
/**
*
* @return
*/
=======
>>>>>>>
/**
*
* @return
*/
<<<<<<<
/**
*
* @param directTabIndex
* @return
*/
public String setDirectTabIndexNavigate(int directTabIndex){
=======
public String setDirectTabIndexNavigate(int d... |
<<<<<<<
@AdapterDelegationEvent(beforeBuilder = AdhocQueryRequestDescriptionBuilder.class,
afterReturningBuilder = AdhocQueryResponseDescriptionBuilder.class, serviceType = "Document Query",
version = "")
=======
/**
*@param msg The AdhocQueryRequest message.
*@param assertio... |
<<<<<<<
long tt1 = 0, tt2 = 0, tt3 = 0;
=======
>>>>>>>
long tt1 = 0, tt2 = 0, tt3 = 0;
<<<<<<<
tt3 += (System.nanoTime() - time);
return res;
=======
return res;
>>>>>>>
return res;
<<<<<<<
private Map<String, Coin> addToCoinMap(Transaction transa... |
<<<<<<<
import gov.hhs.fha.nhinc.admindistribution.passthru.PassthruAdminDistributionOrchImpl;
import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType;
import gov.hhs.fha.nhinc.cxf.extraction.SAML2AssertionExtractor;
import gov.hhs.fha.nhinc.nhinclib.NhincConstants;
=======
>>>>>>>
import gov.hhs.fha.nhinc.admind... |
<<<<<<<
private void refreshServices() {
CachingCXFUnsecuredServicePortBuilder.clearCache();
CachingCXFSecuredServicePortBuilder.clearCache();
}
=======
@Override
public DataHandler transformToHandler(byte[] encoded) {
DataSource data = new CertificateSource(encoded);
... |
<<<<<<<
import java.util.List;
import javax.xml.ws.WebServiceContext;
import javax.xml.xpath.XPathExpressionException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType;
import org.oasis_open.docs.wsn.b_2.Unsubs... |
<<<<<<<
import static org.junit.Assert.assertSame;
=======
import static org.junit.Assert.assertSame;
import javax.xml.ws.WebServiceContext;
import org.hl7.v3.PRPAIN201305UV02;
import org.hl7.v3.PRPAIN201306UV02;
import org.jmock.Expectations;
import org.jmock.Mockery;
import org.jmock.integration.junit4.JUnit4Mock... |
<<<<<<<
@AdapterDelegationEvent(beforeBuilder = AdhocQueryRequestDescriptionBuilder.class,
afterReturningBuilder = AdhocQueryResponseDescriptionBuilder.class, serviceType = "Document Query",
version = "")
=======
/**
* The respondingGatewayCrossGatewayQuery method returns AdhocQue... |
<<<<<<<
NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException {
=======
NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException {
>>>>>>>
NoSuchAlgorithmException, Inval... |
<<<<<<<
import org.nhindirect.xd.common.DirectDocuments;
=======
import org.nhindirect.gateway.smtp.SmtpAgent;
>>>>>>>
import org.nhindirect.xd.common.DirectDocuments;
import org.nhindirect.gateway.smtp.SmtpAgent;
<<<<<<<
=======
/**
* Make the smtp agent on this direct cliet available to the caller... |
<<<<<<<
import gov.hhs.fha.nhinc.direct.event.DirectEventLogger;
import gov.hhs.fha.nhinc.direct.event.DirectEventType;
=======
import gov.hhs.fha.nhinc.direct.edge.proxy.DirectEdgeProxy;
import gov.hhs.fha.nhinc.direct.edge.proxy.DirectEdgeProxyObjectFactory;
>>>>>>>
import gov.hhs.fha.nhinc.direct.edge.proxy.Dire... |
<<<<<<<
import gov.hhs.fha.nhinc.docquery.aspect.AdhocQueryResponseDescriptionBuilder;
import gov.hhs.fha.nhinc.docquery.aspect.RespondingGatewayCrossGatewayQueryRequestTypeDescriptionBuilder;
import gov.hhs.fha.nhinc.docquery.entity.EntityDocQueryOrchImpl;
=======
import gov.hhs.fha.nhinc.docquery.outbound.OutboundD... |
<<<<<<<
protected ZeppelinConnection connection;
private URI uri;
=======
protected ThreadLocal<ZeppelinConnection> connection = new ThreadLocal<ZeppelinConnection>() {
@Override protected ZeppelinConnection initialValue() { //Lazy Init by subClass impl
return getConnection();
}
};
>>>>>... |
<<<<<<<
//FIXME transient private ZeppelinConnection conn;
public ZQLJob(String jobName, Zengine zengine, JobListener listener) {
=======
public ZQLJob(String jobName, JobListener listener) {
>>>>>>>
public ZQLJob(String jobName, Zengine zengine, JobListener listener) {
<<<<<<<
zz.withParams(p);
z... |
<<<<<<<
}
if (b) {
Consensus<Agent> ca = consensusCacheManager.getCachedAgentByAddress(depositAddress);
if (null != ca) {
agentList.add(0, ca);
}
=======
>>>>>>>
}
if (b) {
Consensus<Ag... |
<<<<<<<
String [] blockStart = new String[]{ "\"", "'", "<%", "N_<", "!"};
String [] blockEnd = new String[]{ "\"", "'", "%>", "N_>", ";" };
String [] t = Util.split(erbEvalGlobalScope(stmts), escapeSeq, escapeChar, blockStart, blockEnd, op, true);
=======
String [] blockStart = new String[]{ "\"", "'", "<%"... |
<<<<<<<
import org.glassfish.grizzly.asyncqueue.WriteQueueMessage;
=======
import org.glassfish.grizzly.asyncqueue.PushBackHandler;
>>>>>>>
import org.glassfish.grizzly.asyncqueue.WriteQueueMessage;
import org.glassfish.grizzly.asyncqueue.PushBackHandler;
<<<<<<<
public GrizzlyFuture<WriteResult<WriteQueueMessa... |
<<<<<<<
final WriteQueueMessage message,
final CompletionHandler<WriteResult<WriteQueueMessage, SocketAddress>> completionHandler,
final Interceptor<WriteResult<WriteQueueMessage, SocketAddress>> interceptor)
=======
final Buffer buffer,
final CompletionHand... |
<<<<<<<
import org.springframework.social.UserIdSource;
import org.springframework.social.config.annotation.EnableJdbcConnectionRepository;
=======
import org.springframework.social.UserIdSource;
import org.springframework.social.connect.Connection;
>>>>>>>
import org.springframework.social.UserIdSource;
import org.... |
<<<<<<<
import io.openems.core.utilities.power.PGreaterEqualLimitation;
import io.openems.core.utilities.power.PSmallerEqualLimitation;
import io.openems.core.utilities.power.SymmetricPowerImpl;
=======
import io.openems.impl.protocol.modbus.FaultModbus;
>>>>>>>
import io.openems.core.utilities.power.PGreaterEqualLi... |
<<<<<<<
import io.openems.edge.bridge.modbus.api.task.Priority;
import io.openems.edge.common.channel.Channel;
=======
>>>>>>>
import io.openems.edge.bridge.modbus.api.task.Priority;
<<<<<<<
private final Power power;
private Battery battery;
=======
@Reference
private Power power;
>>>>>>>
@Reference
pr... |
<<<<<<<
import io.openems.core.utilities.power.SymmetricPowerImpl;
=======
import io.openems.impl.protocol.modbus.ModbusBitWrappingChannel;
>>>>>>>
import io.openems.core.utilities.power.SymmetricPowerImpl;
<<<<<<<
private SymmetricPowerImpl power;
public StatusBitChannels warning;
=======
>>>>>>>
private Sym... |
<<<<<<<
/*******************************************************************************
* OpenEMS - Open Source Energy Management System
* Copyright (c) 2016, 2017 FENECON GmbH and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public ... |
<<<<<<<
=======
import io.openems.core.utilities.power.symmetric.PGreaterEqualLimitation;
import io.openems.core.utilities.power.symmetric.PSmallerEqualLimitation;
import io.openems.core.utilities.power.symmetric.SymmetricPowerImpl;
import io.openems.impl.protocol.modbus.FaultModbus;
>>>>>>> |
<<<<<<<
/*******************************************************************************
* OpenEMS - Open Source Energy Management System
* Copyright (c) 2016, 2017 FENECON GmbH and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public ... |
<<<<<<<
// @Reference
=======
>>>>>>> |
<<<<<<<
setActivePower.removeChannel(ess.setActivePower());
setReactivePower.removeChannel(ess.setReactivePower());
=======
power.removeEss(ess);
thingState.removeChildChannel(ess.getStateChannel());
>>>>>>>
power.removeEss(ess);
<<<<<<<
setActivePower.addChannel(ess.setActivePower());
... |
<<<<<<<
for (WriteChannel<?> channel : thingRepository.getWriteChannels()) {
channel.shadowCopyAndReset();
}
for (Bridge bridge : thingRepository.getBridges()) {
bridge.triggerWrite();
}
} catch (DateTimeParseException | OpenemsException e) {
=======
} catch (InvalidValueException | DateTimePa... |
<<<<<<<
=======
public static RestApiController instance = null;
public RestApiController() {
super();
RestApiController.instance = this;
}
public RestApiController(String thingId) {
super(thingId);
RestApiController.instance = this;
}
>>>>>>>
public RestApiController() {
super();
}
public Rest... |
<<<<<<<
@Override
public void channelChanged(Channel channel, Optional<?> newValue, Optional<?> oldValue) {
if(this.lastDischarge.equals(channel)) {
if(newValue.isPresent()) {
lastDischargeDate = Instant.ofEpochMilli((long) newValue.get()).atZone(ZoneId.systemDefault()).toLocalDate();
}else {
lastDis... |
<<<<<<<
public String encode(final Serializable value) {
final var encoded = this.encryptionEnabled ? EncodingUtils.encryptValueAsJwt(this.secretKeyEncryptionKey, value, this.encryptionAlgorithm,
this.contentEncryptionAlgorithmIdentifier) : value.toString();
=======
public String encode(fi... |
<<<<<<<
@Transactional(transactionManager = "ticketTransactionManager", readOnly = false)
@Timed("DELETE_TICKET_TIMER")
=======
@Transactional(transactionManager = "ticketTransactionManager")
@Timed(name = "DELETE_TICKET_TIMER")
@Metered(name = "DELETE_TICKET_METER")
@Counted(name = "DELETE_TI... |
<<<<<<<
final RegisteredServiceProperty.RegisteredServiceProperties property) {
final var result = getRegisteredServiceFromRequest(request);
=======
final RegisteredServiceProperties property)... |
<<<<<<<
final var sch = applicationContext.getBean(ScheduledAnnotationBeanPostProcessor.class);
sch.setEmbeddedValueResolver(resolver);
=======
try {
final ScheduledAnnotationBeanPostProcessor sch = applicationContext.getBean(ScheduledAnnotationBeanPostProcessor.class);
... |
<<<<<<<
final var memcached = casProperties.getMonitor().getMemcached();
final var factory = new MemcachedPooledClientConnectionFactory(memcached, memcachedMonitorTranscoder());
final ObjectPool<MemcachedClientIF> pool = new GenericObjectPool<>(factory);
return new MemcachedHealthIndicat... |
<<<<<<<
private Authenticator authenticator;
=======
private final Authenticator authenticator;
/**
* Component name.
*/
private String name = LdapAuthenticationHandler.class.getSimpleName();
>>>>>>>
private final Authenticator authenticator; |
<<<<<<<
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
=======
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
>>>>>>>
import lombok.Getter;
import lombok.RequiredArgsConstructor;... |
<<<<<<<
=======
import org.junit.After;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Rule;
>>>>>>>
import org.junit.ClassRule;
import org.junit.Rule;
<<<<<<<
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.runner.RunWith;
=======
import or... |
<<<<<<<
public void verifyValidation() throws Exception {
final var validator = new SimpleUrlValidatorFactoryBean(false).getObject();
=======
public void verifyValidation() {
final UrlValidator validator = new SimpleUrlValidatorFactoryBean(false).getObject();
>>>>>>>
public void verifyVal... |
<<<<<<<
import org.junit.runner.RunWith;
=======
import org.junit.experimental.categories.Category;
import org.opensaml.saml.metadata.resolver.MetadataResolver;
>>>>>>>
import org.junit.experimental.categories.Category;
<<<<<<<
=======
import java.util.Collection;
import lombok.extern.slf4j.Slf4j;
>>>>>>>
import... |
<<<<<<<
@Test
public void testBadCredentialsOnTicketGrantingTicketCreation() throws Exception {
try {
getCentralAuthenticationService().createTicketGrantingTicket(
=======
@Test(expected=TicketException.class)
public void testBadCredentialsOnTicketGrantingTicketCreation() throws Ti... |
<<<<<<<
public void expire(final LocalDate onOrBefore) {
final var results = storage.asMap()
=======
public void expire(final LocalDateTime onOrBefore) {
final Set<MultifactorAuthenticationTrustRecord> results = storage.asMap()
>>>>>>>
public void expire(final LocalDateTime onOrBefore) {
... |
<<<<<<<
final var impl = new SamlServiceFactory().createService(request);
=======
final SamlService impl = samlServiceFactory.createService(request);
>>>>>>>
final var impl = samlServiceFactory.createService(request);
<<<<<<<
final var impl = new SamlServiceFactory().createService(re... |
<<<<<<<
var naked = point;
while (naked.getArgs().length > 0 && naked.getArgs()[0] instanceof JoinPoint) {
=======
JoinPoint naked = point;
while (naked.getArgs() != null && naked.getArgs().length > 0 && naked.getArgs()[0] instanceof JoinPoint) {
>>>>>>>
var naked = point;
... |
<<<<<<<
final var match = matcher.group();
final var newId = matcher.group(1) + '-'
+ StringUtils.repeat("*", match.length() - VISIBLE_TAIL_LENGTH)
+ StringUtils.right(match, VISIBLE_TAIL_LENGTH);
=======
final String matc... |
<<<<<<<
/**
* Sets principal factory to create principal objects.
*
* @param principalFactory the principal factory
*/
public void setPrincipalFactory(final PrincipalFactory principalFactory) {
this.principalFactory = principalFactory;
}
=======
public boolean isTypedIdU... |
<<<<<<<
final Exception ex;
if (ScriptingUtils.isInlineGroovyScript(script)) {
final var args = CollectionUtils.wrap("principal", auth.getPrincipal(), "logger", LOGGER);
ex = ScriptingUtils.executeGroovyShellScript(script, args, Exception.class);
=======
final Optional<... |
<<<<<<<
import org.junit.jupiter.api.BeforeAll;
=======
import org.junit.BeforeClass;
import org.junit.Test;
>>>>>>>
import org.junit.jupiter.api.BeforeAll;
import org.junit.Test;
<<<<<<<
@BeforeAll
=======
public LdapServiceRegistryTests(final Class<? extends RegisteredService> registeredServiceClass) {
... |
<<<<<<<
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
=======
import java.util.Set;
import org.apereo.cas.oidc.OidcConstants;
>>>>>>>
import java.util.Set;
import org.apereo.cas.oidc.OidcConstants;
<<<<<<<
=======
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
>>>>>>... |
<<<<<<<
final var contentString = text.getText();
if (!contentString.isEmpty() && contentString.trim().isEmpty()) {
=======
final String contentString = text.getText();
if (!contentString.isEmpty()) {
>>>>>>>
final var contentString = text.getText();
if (!contentString... |
<<<<<<<
public Optional<RsaJsonWebKey> load(final String issuer) throws Exception {
final var jwks = buildJsonWebKeySet();
=======
public Optional<RsaJsonWebKey> load(final String issuer) {
final Optional<JsonWebKeySet> jwks = buildJsonWebKeySet();
>>>>>>>
public Optional<RsaJsonWebKey> l... |
<<<<<<<
=======
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Rule;
>>>>>>>
import org.junit.ClassRule;
import org.junit.Rule;
<<<<<<<
import org.junit.jupiter.api.BeforeEach;
import org.junit.runner.RunWith;
=======
import org.junit.experimental.categories.Category;
>>>>>>>
import org.ju... |
<<<<<<<
final var strategy = createLdapPasswordPolicyHandlingStrategy(l);
=======
final AuthenticationPasswordPolicyHandlingStrategy strategy = createLdapPasswordPolicyHandlingStrategy(l);
>>>>>>>
final AuthenticationPasswordPolicyHandlingStrategy strategy = createLdap... |
<<<<<<<
LOGGER.debug("Evaluating request to determine if warning cookie should be generated");
final var response = WebUtils.getHttpServletResponseFromExternalWebflowContext(context);
=======
LOGGER.trace("Evaluating request to determine if warning cookie should be generated");
... |
<<<<<<<
final var props = new SamlIdPProperties();
final var resolver = new UrlResourceMetadataResolver(props, openSamlConfigBean);
final var service = new SamlRegisteredService();
=======
final SamlIdPProperties props = new SamlIdPProperties();
props.getMetadata().setLocation(... |
<<<<<<<
final var tUsername = up.getUsername();
final var surrogateUsername = tUsername.substring(0, tUsername.indexOf(this.separator));
final var realUsername = tUsername.substring(tUsername.indexOf(this.separator) + 1);
=======
final String tUsername = up.getUsername();
final... |
<<<<<<<
* Sets whether we should bother to read the attribute list or not.
*
* @return true if we should read it, false otherwise.
*/
boolean isIgnoreAttributes();
/**
* Returns the list of allowed attributes.
*
* @return the list of attributes
*/
List<String> getAll... |
<<<<<<<
import org.jasig.cas.support.saml.util.DefaultSaml20ObjectBuilder;
=======
import org.jasig.cas.support.saml.util.GoogleSaml20ObjectBuilder;
import org.jasig.cas.util.ISOStandardDateFormat;
>>>>>>>
import org.jasig.cas.support.saml.util.DefaultSaml20ObjectBuilder;
import org.jasig.cas.util.ISOStandardDateFor... |
<<<<<<<
Block block;
while ((block = blockQueue.take(queueName)) != null) {
=======
Block block = null;
while((block = blockQueue.take(queueName)) != null) {
if(block.getHeader() == null) {
break;
}
>>>>>>>
... |
<<<<<<<
if (this.persistentIdGenerator == null) {
throw new IllegalArgumentException("No persistent id generator is defined");
}
final var id = this.persistentIdGenerator.generate(principal, new Service() {
private static final long serialVersionUID = 178464253829044870L... |
<<<<<<<
public void verifyNullTicket() throws Exception {
final var ctx = new MockRequestContext();
final var action = new
=======
public void verifyNullTicket() {
final MockRequestContext ctx = new MockRequestContext();
final TicketGrantingTicketCheckAction action = new
>>>>>... |
<<<<<<<
final var currentSystemTime = getCurrentSystemTime();
final var creationTime = ticketState.getCreationTime();
final var lastTimeUsed = ticketState.getLastTimeUsed();
=======
Assert.isTrue(this.maxTimeToLiveInSeconds >= this.timeToKillInSeconds,
"maxTimeToLiveInSecon... |
<<<<<<<
protected Event doExecute(final RequestContext requestContext) {
final var username = requestContext.getRequestParameters().get("username");
=======
public Event doExecute(final RequestContext requestContext) {
final String username = requestContext.getRequestParameters().get("username... |
<<<<<<<
final var props = new SamlIdPProperties();
final var resolver = new ClasspathResourceMetadataResolver(props, openSamlConfigBean);
final var service = new SamlRegisteredService();
=======
final SamlIdPProperties props = new SamlIdPProperties();
props.getMetadata().setLoc... |
<<<<<<<
final var providers = WebUtils.getResolvedMultifactorAuthenticationProviders(requestContext);
=======
final Collection<String> providerIds = WebUtils.getResolvedMultifactorAuthenticationProviders(requestContext);
final Collection<MultifactorAuthenticationProvider> providers =
... |
<<<<<<<
proxy10Handler.getIfAvailable(),
argumentExtractor.getIfAvailable(),
=======
proxy20Handler.getIfAvailable(),
argumentExtractor,
>>>>>>>
proxy20Handler.getIfAvailable(),
argumentExtractor.getIfAvailable(),
<<<<<<... |
<<<<<<<
import com.fasterxml.jackson.databind.DeserializationFeature;
=======
import com.fasterxml.jackson.databind.JsonNode;
>>>>>>>
import com.fasterxml.jackson.databind.JsonNode;
<<<<<<<
private final ObjectMapper objectMapper = new IgnoringJaxbModuleJacksonObjectMapper()
.configure(SerializationFeat... |
<<<<<<<
import org.apereo.cas.util.junit.ConditionalSpringRunner;
=======
import org.junit.After;
import org.junit.ClassRule;
import org.junit.Rule;
>>>>>>>
import org.junit.ClassRule;
import org.junit.Rule;
<<<<<<<
import org.junit.jupiter.api.AfterEach;
import org.junit.runner.RunWith;
=======
import org.junit.... |
<<<<<<<
final var properties = new PropertiesFactoryBean();
final List<Resource> resourceList = new ArrayList<>();
final var resourceLoader = new DefaultResourceLoader();
=======
final PropertiesFactoryBean properties = new PropertiesFactoryBean();
final DefaultResourceLoader r... |
<<<<<<<
public Event doExecute(final RequestContext context) throws Exception {
final var request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
final var response = WebUtils.getHttpServletResponseFromExternalWebflowContext(context);
=======
public Event doExecute(final R... |
<<<<<<<
public static boolean checkCallbackValid(final RegisteredService registeredService, final String redirectUri) {
final var registeredServiceId = registeredService.getServiceId();
=======
public static boolean checkCallbackValid(@NonNull final RegisteredService registeredService, final String re... |
<<<<<<<
final var tkt = this.ticketCatalog.find(ticketId);
return this.entityManager.find(tkt.getImplementationClass(), ticketId, this.lockType);
=======
final TicketDefinition tkt = ticketCatalog.find(ticketId);
final String sql = String.format("select t from %s t wher... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
ldapAuthenticationHandlers().forEach(handler ->
this.authenticationHandlersResolvers.put(handler, this.personDirectoryPrincipalResolver));
}
@ConditionalOnMissingBean(name = "ldapPrincipalFactory")
@Bean
public PrincipalFactory ldapPrincipal... |
<<<<<<<
final var result = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);
try (var output = new FileWriter(backupFile)) {
=======
final String result = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);
try (Writer output = Files.... |
<<<<<<<
@Override
public String handle(final Credential credential,
final String proxyGrantingTicketId) {
=======
public String handle(final Credential credential, final String proxyGrantingTicketId) {
>>>>>>>
@Override |
<<<<<<<
final var factory = new WebflowExecutorFactory(casProperties.getWebflow(),
logoutFlowRegistry(), this.webflowCipherExecutor, new FlowExecutionListener[]{casFlowExecutionListener()});
=======
final WebflowExecutorFactory factory = new WebflowExecutorFactory(casProperties.getWebflow(... |
<<<<<<<
final var aupAcceptedAction = createActionState(flow, AUP_ACCEPTED_ACTION, createAcceptableUsagePolicyAction("submit"));
=======
final ActionState aupAcceptedAction = createActionState(flow, AUP_ACCEPTED_ACTION, "acceptableUsagePolicySubmitAction");
>>>>>>>
final var aupAcceptedAction... |
<<<<<<<
if (decision.getOptions() == ConsentOptions.ATTRIBUTE_NAME) {
final var consentAttributesHash = sha512ConsentAttributeNames(consentAttributes);
final var currentAttributesHash = sha512ConsentAttributeNames(attributes);
=======
if (decision.getOptions() == ConsentReminde... |
<<<<<<<
final var encTicketId = encodeTicketId(ticketId);
if (encTicketId == null) {
=======
final String encTicketId = encodeTicketId(ticketId);
if (StringUtils.isBlank(encTicketId)) {
>>>>>>>
final var encTicketId = encodeTicketId(ticketId);
if (StringUtils.isBlank(e... |
<<<<<<<
protected Event doExecute(final RequestContext requestContext) throws Exception {
final var username = requestContext.getRequestParameters().get("username");
=======
public Event doExecute(final RequestContext requestContext) throws Exception {
final String username = requestContext.ge... |
<<<<<<<
final var service = SamlIdPTestUtils.getSamlRegisteredService();
=======
final SamlRegisteredService service = getSamlRegisteredServiceForTestShib();
>>>>>>>
final var service = getSamlRegisteredServiceForTestShib();
<<<<<<<
final var service = SamlIdPTestUtils.getSamlRegiste... |
<<<<<<<
protected Pair<AuthenticationHandler, Principal> authenticateAndObtainPrincipal(final Credentials credentials)
throws AuthenticationException {
final Map<String, Exception> errorMap = new LinkedHashMap<String, Exception>();
=======
protected Pair<AuthenticationHandler, Principal> ... |
<<<<<<<
final ConsentOptions options) {
final var attributes = resolveConsentableAttributesFrom(authentication, service, registeredService);
final var principalId = authentication.getPrincipal().getId();
=======
... |
<<<<<<<
final var principal = resolver.resolve(credential,
principalOut,
new SimpleTestUsernamePasswordAuthenticationHandler());
=======
final Principal principal = resolver.resolve(credential,
Optional.of(principalOut),
Optional.of(new SimpleTe... |
<<<<<<<
final var request = context.getRequest();
final var checkParameterExist = validator.checkParameterExist(request, OAuth20Constants.CLIENT_ID)
&& validator.checkParameterExist(request, OAuth20Constants.REDIRECT_URI)
&& validator.checkParameterExist(request, OAuth20C... |
<<<<<<<
final var factory = new SamlServiceFactory();
final Service service = factory.createService(request);
=======
final Service service = samlServiceFactory.createService(request);
>>>>>>>
final var service = samlServiceFactory.createService(request);
<<<<<<<
final var re... |
<<<<<<<
final var ticketGrantingTicketId = WebUtils.getTicketGrantingTicketId(context);
final var ticketGrantingTicketValueFromCookie = (String) context.getFlowScope().get(WebUtils.PARAMETER_TICKET_GRANTING_TICKET_ID);
=======
final String ticketGrantingTicketId = WebUtils.getTicketGrantingTic... |
<<<<<<<
import org.apereo.cas.util.serialization.SerializationUtils;
=======
import org.apereo.cas.ticket.TicketState;
>>>>>>>
import org.apereo.cas.ticket.TicketState;
import org.apereo.cas.util.serialization.SerializationUtils; |
<<<<<<<
=======
private static final String[] INCLUDE_PACKAGES = new String[] {"org.jasig"};
@Autowired
private ApplicationContext applicationContext;
>>>>>>>
@Autowired
private ApplicationContext applicationContext; |
<<<<<<<
final var ctx = new MockRequestContext();
WebUtils.putService(ctx, RegisteredServiceTestUtils.getService());
final var event = oidcRegisteredServiceUIAction.execute(ctx);
=======
final MockRequestContext ctx = new MockRequestContext();
WebUtils.putService(ctx, null);
... |
<<<<<<<
sts.getProperties().put(SecurityConstants.USERNAME, up.getUsername());
final var uid = credentialCipherExecutor.encode(up.getUsername());
sts.getProperties().put(SecurityConstants.PASSWORD, uid);
final var token = sts.requestSecurityToken(rp.getApp... |
<<<<<<<
public final Event submit(final RequestContext context, final Credentials credentials, final MessageContext messageContext) throws Exception {
=======
public final String submit(final RequestContext context, final Credentials credentials,
final MessageContext messageContext) throws E... |
<<<<<<<
import org.apereo.cas.git.GitRepository;
import org.apereo.cas.services.util.RegisteredServiceJsonSerializer;
import org.apereo.cas.services.util.RegisteredServiceYamlSerializer;
import org.apereo.cas.util.CollectionUtils;
=======
import org.apereo.cas.configuration.model.support.git.services.GitServiceRegist... |
<<<<<<<
import org.jasig.cas.authentication.Authentication;
import org.jasig.cas.authentication.AuthenticationResult;
import org.jasig.cas.authentication.AuthenticationResultBuilder;
=======
import org.apache.commons.lang3.StringUtils;
>>>>>>>
import org.jasig.cas.authentication.Authentication;
import org.apache.com... |
<<<<<<<
this.httpClient = httpClient;
final var md = samlIdPProperties.getMetadata();
=======
final SamlIdPMetadataProperties md = samlIdPProperties.getMetadata();
>>>>>>>
final var md = samlIdPProperties.getMetadata();
<<<<<<<
final var metadataLocation = service.getMeta... |
<<<<<<<
final var request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
final var cookieValue = Optional.ofNullable(cookieGenerator.retrieveCookieValue(request))
.orElseGet(randomStringGenerator::getNewString);
=======
final HttpServletRequest request = W... |
<<<<<<<
=======
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
>>>>>>>
<<<<<<<
import org.n52.sos.ds.FeatureQueryHandlerQueryObject;
=======
import org.n52.sos.ds.FeatureQueryHandlerQueryObject;
import org.n52.sos.ds.I18NDAO;
>>>>>>>
import org.n52.sos.ds.FeatureQueryHandlerQueryObject;
<<<<<<<
... |
<<<<<<<
private static final Logger LOGGER = LoggerFactory.getLogger(LdapUtils.class);
=======
public static final String OBJECTCLASS_ATTRIBUTE = "objectClass";
private static final Logger log = LoggerFactory.getLogger(LdapUtils.class);
>>>>>>>
public static final String OBJECTCLASS_ATTRIBUTE = "obj... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.