This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static ServletModule infusionsoftIdApplication(String... anonymousPaths) { | |
| final String[] antPaths; | |
| if (null == anonymousPaths) { | |
| antPaths = new String[0]; | |
| } else { | |
| antPaths = anonymousPaths; | |
| } | |
| final InfusionsoftIdCasAuthenticator casAuthenticator = new InfusionsoftIdCasAuthenticator(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PancakesAppSecurity.module() | |
| .anonymousByDefault() | |
| .authenticate("/profile", "/account") | |
| .and() | |
| .domainAuthentication() | |
| .usingJsonWebTokens() | |
| .usingFirebase(keyCache) | |
| .forAppId("url-shortening-app") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| authBuilder | |
| .verifiesClaimsBy( | |
| c -> firebaseApplicationName.equals(c.getAudience()) | |
| ) | |
| .verifiesClaimsBy( | |
| c -> (ISSUER_PREFIX + firebaseApplicationName).equals(c.getIssuer()) | |
| ) | |
| .verifiesClaimsBy( | |
| c -> { | |
| // we may not need this once we have our own signin provider proxied by Firebase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Override | |
| protected Injector getInjector() { | |
| return PancakesGuiceInjector.builder() | |
| .addModule(new SuccessCenterApiModule()) | |
| .addModule(new LocalSuccessCenterApiModule(), DeploymentEnvironment.DEV) | |
| .addModule(new GoogleCloudSuccessCenterApiModule(), DeploymentEnvironment.excludingEnvironments(DeploymentEnvironment.DEV)) | |
| .addModule(new SuccessCenterPolicyServletModule()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <link rel="import" href="../core-input/core-input.html"> | |
| <link rel="import" href="../core-field/core-field.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <polymer-element name="my-element"> | |
| <template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Do this: https://github.com/infusionsoft/pancakesw/blob/master/pankacesw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| while [ 1 ]; do | |
| echo "Listening at `date` on port 2003. <CTRL>-C to quit" | |
| nc -l 2003 | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.infusionsoft.mobileInteraction.config.cassandra; | |
| import com.infusionsoft.mobileInteraction.config.CassandraConnectionService; | |
| import com.infusionsoft.mobileInteraction.config.cassandra.CassandraConfiguration.ClusterProperties; | |
| import com.infusionsoft.priscilla.PriscillaPropertyChangeListener; | |
| import com.infusionsoft.priscilla.PropertyDefinition; | |
| import com.infusionsoft.priscilla.configurator.PriscillaConfigurator; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.stereotype.Component; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.dietsodasoftware.configuration.archaius; | |
| import com.netflix.config.ConfigurationManager; | |
| import com.netflix.config.PollResult; | |
| import com.netflix.config.PolledConfigurationSource; | |
| import com.netflix.config.sources.URLConfigurationSource; | |
| import com.netflix.config.util.ConfigurationUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mport com.infusion.databridge.BridgeException; | |
| import com.infusion.databridge.ConInfo; | |
| import com.infusion.databridge.Rst; | |
| import com.infusion.util.Joiner; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.PrintStream; | |
| import java.io.PrintWriter; | |
| import java.text.DateFormat; | |
| import java.util.Date; |
NewerOlder