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
* Why | |
* For better and easier operation at VM | |
* Tutorial Link | |
* http://www.codedata.com.tw/social-coding/vagrant-tutorial-2-playing-vm-with-vagrant/ | |
* Start | |
* Install VirtualBox |
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
test |
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
- does dockerfile must extends from official images? no | |
- May I pull all exists images to latest by one command? no | |
- Naming images | |
- before | |
- docker build -t IMAGE_NAME . | |
- after | |
- docker tag IMAGE_ID IMAGE_NAME:TAG_NAME(Optional) | |
- Naming container | |
- docker run --name CONTAINER_NAME | |
- docker vs vm |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.cy</groupId> | |
<artifactId>TestMavenComplier</artifactId> | |
<version>1.0</version> | |
<packaging>jar</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion> |
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
1. CrowdClient | |
2. CrowdHttpAuthenticator | |
3. RestCrowdClient | |
* https://docs.atlassian.com/crowd/2.8.0/com/atlassian/crowd/integration/rest/service/RestCrowdClient.html |
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
SECURITY_CONTEXT_FILTER AstractPreAuthenticatedProcessingFilter | |
CONCURRENT_SESSION_FILTER | |
LOGOUT_FILTER | |
X509_FILTER | |
PRE_AUTH_FILTER | |
CAS_FILTER CasAuthenticationFilter | |
FORM_LOGIN_FILTER UsernamePasswordAuthenticationFilter http/form-login | |
BASIC_AUTH_FILTER BasicAuthenticationFilterhttp/http-basic | |
SERVLET_API_SUPPORT_FILTER SecurityContextHolderAwareRequestFilter http/@servlet-apiprovision | |
REMEMBER_ME_FILTER RememberMeAuthenticationFilter http/remember-me |
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
@Slf4j | |
public class JavaLambdaTest { | |
public static void main(String[] args) { | |
log.info("Hello"); | |
testNoArgsLambda(); | |
testWithArgsLambda(); | |
} | |
private static void testNoArgsLambda() { |
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
cd $PROJECT_FOLDER$ | |
mvn archetype:create-from-project -> gen source to target | |
-- check $PROJECT_FOLDER$\target\generated-sources\archetype\src\main\resources\META-INF\maven\archetype-metadata.xml | |
cd target/generated-sources/archetype | |
mvn clean install |
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
1. create folder at /var/tomcat/conf at host | |
2. copy conf/all file to /var/tomcat/conf | |
3. add jndi setting for test | |
3. chmod -R 766 /var/tomcat/conf | |
4. docker run -it -p 8080:8080 -v /tomcat/conf:/var/tomcat/conf tutum/tomcat | |
5. deploy testjndi.war to check jndi has setup finished |
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
sudo nmap -sT -O localhost |
OlderNewer