This file contains 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
try { | |
Authenticator.setDefault(new Authenticator() { | |
@Override | |
protected PasswordAuthentication getPasswordAuthentication() { | |
return new PasswordAuthentication( | |
Properties.obterPropertiesEndPoint().readString(Constantes.ENDPOINT_PESSOAS_USERNAME), | |
descriptografarSenha(Properties.obterPropertiesEndPoint().readString(Constantes.ENDPOINT_PESSOAS_PASSWORD)).toCharArray()); | |
} | |
}); | |
This file contains 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
"D:\desenv\IBM\SDP\runtimes\base_v7\bin\wsimport.bat" -d "D:\WS" -p pacote -keep -verbose wsdl | |
pause |
This file contains 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
mvn install:install-file -Dfile=sonar-maven-plugin-3.7.1-RC2.jar -DgroupId=sonar-maven-plugin -DartifactId=org.codehaus.sonar -Dversion=3.7.1 -Dpackaging=jar |
This file contains 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
@RunWith(MockitoJUnitRunner.class) | |
public class AcessoDadosCadastroSeguradoTest { | |
protected static URL wsdlURL; | |
protected static QName serviceName; | |
protected static QName portName; | |
static { | |
serviceName = new QName("XX", "XX"); | |
portName = new QName("XX", "XX"); |
This file contains 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
/** | |
* The following snippets shows how to set a custom endpoint for a JAX-WS generated WebClient on runtime | |
*/ | |
// Get the service and the port | |
SampleService service = new SampleService(); | |
Sample port = service.getESamplePort(); | |
// Use the BindingProvider's context to set the endpoint | |
BindingProvider bp = (BindingProvider)port; |
This file contains 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
<project name="My Project" default="all" basedir="." | |
xmlns:sonar="antlib:org.sonar.ant"> | |
<!-- | |
<property name="sonar.jdbc.url" | |
value="jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8" /> | |
--> | |
<property name="sonar.host.url" value="http://localhost:9000" /> | |
<property name="sonar.jdbc.username" value="sonar" /> | |
<property name="sonar.jdbc.password" value="sonar" /> |
This file contains 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
keytool -genkey | |
keytool -selfcert | |
jarsigner -signedjar tecladoVirtualSigned.jar tecladoVirtual.jar mykey | |
This file contains 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 class RedirectLoginListener implements PhaseListener { | |
public static final LogManager LOGGER = LogManager.getLog(RedirectLoginListener.class); | |
private final Properties properties = PropertiesLoader.loadProperties(PropertiesConstants.PROPERTIES_PATH); | |
public PhaseId getPhaseId() { | |
return PhaseId.RESTORE_VIEW; | |
} |
This file contains 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
Campo Tipo Obrigatorio | |
Nome String Sim | |
Endereço String Não | |
Idade Integer Não | |
Descrição Valor | |
1.1. Tempo máximo de resposta por requisição 7 s | |
1.2. Tempo médio de resposta por requisição 7 s | |
1.3. Número máximo de requisições simultâneas 20 requisições |
This file contains 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
var output = ''; | |
for (var property in obj) { | |
output += property + ': ' + obj[property]+'; '; | |
} | |
alert(output); |
OlderNewer