keycloak-aplcache

added aplcache recommendations

12/1/2019 7:13:42 AM

Changes

adapters/pom.xml 58(+0 -58)

authz/pom.xml 58(+0 -58)

blacklist 23(+0 -23)

common/pom.xml 51(+0 -51)

core/pom.xml 51(+0 -51)

docker-compose.yml 10(+3 -7)

examples/pom.xml 55(+0 -55)

federation/pom.xml 58(+0 -58)

integration/pom.xml 58(+0 -58)

model/pom.xml 54(+0 -54)

pom.xml 5(+0 -5)

saml-core/pom.xml 51(+0 -51)

server-spi/pom.xml 55(+0 -55)

services/pom.xml 51(+0 -51)

whitelist 3(+0 -3)

wildfly/pom.xml 57(+0 -57)

Details

adapters/pom.xml 58(+0 -58)

diff --git a/adapters/pom.xml b/adapters/pom.xml
index 8c42f86..394f0ff 100755
--- a/adapters/pom.xml
+++ b/adapters/pom.xml
@@ -35,62 +35,4 @@
         <module>saml</module>
         <module>oidc</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>

authz/pom.xml 58(+0 -58)

diff --git a/authz/pom.xml b/authz/pom.xml
index 1c3e5df..d66b4d3 100644
--- a/authz/pom.xml
+++ b/authz/pom.xml
@@ -21,62 +21,4 @@
         <module>policy</module>
         <module>client</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>
\ No newline at end of file

common/pom.xml 51(+0 -51)

diff --git a/common/pom.xml b/common/pom.xml
index 2fcb6ad..07b7315 100755
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -63,11 +63,6 @@
             <artifactId>junit</artifactId>
             <scope>test</scope>
         </dependency>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
     </dependencies>
 
     <build>
@@ -78,52 +73,6 @@
             </resource>
         </resources>
         <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>aspectj-maven-plugin</artifactId>
-                <version>1.11</version>
-                <configuration>
-                    <showWeaveInfo>false</showWeaveInfo>
-                    <complianceLevel>1.8</complianceLevel>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <Xlint>ignore</Xlint>
-                    <encoding>UTF-8</encoding>
-                    <verbose>false</verbose>
-                    <forceAjcCompile>true</forceAjcCompile>
-                    <sources/>
-                    <weaveDirectories>
-                        <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                    </weaveDirectories>
-                    <aspectLibraries>
-                        <aspectLibrary>
-                            <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                            <artifactId>ApplicationTracer</artifactId>
-                        </aspectLibrary>
-                    </aspectLibraries>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>compile</goal>
-                            <goal>test-compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjrt</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjtools</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
             <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>

core/pom.xml 51(+0 -51)

diff --git a/core/pom.xml b/core/pom.xml
index f97d063..9bdc548 100755
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -70,11 +70,6 @@
             <artifactId>junit</artifactId>
             <scope>test</scope>
         </dependency>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
 </dependencies>
 
 
@@ -86,52 +81,6 @@
             </resource>
         </resources>
         <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>aspectj-maven-plugin</artifactId>
-                <version>1.11</version>
-                <configuration>
-                    <showWeaveInfo>false</showWeaveInfo>
-                    <complianceLevel>1.8</complianceLevel>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <Xlint>ignore</Xlint>
-                    <encoding>UTF-8</encoding>
-                    <verbose>false</verbose>
-                    <forceAjcCompile>true</forceAjcCompile>
-                    <sources/>
-                    <weaveDirectories>
-                        <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                    </weaveDirectories>
-                    <aspectLibraries>
-                        <aspectLibrary>
-                            <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                            <artifactId>ApplicationTracer</artifactId>
-                        </aspectLibrary>
-                    </aspectLibraries>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>compile</goal>
-                            <goal>test-compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjrt</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjtools</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
             <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 5a94738..ab1dd0b 100755
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -56,62 +56,4 @@
             </modules>
         </profile>
     </profiles>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>

docker-compose.yml 10(+3 -7)

diff --git a/docker-compose.yml b/docker-compose.yml
index 1edd3fa..af059a7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,15 +10,11 @@ services:
     command: bash -c 'while !</dev/tcp/database/3306; do sleep 5; done; bash run.sh'
     environment:
       - JAVA_OPTS=${JAVA_OPTS:-"-Xms4096m -Xmx6124m"}
-      - TRACER_ENABLE=${TRACER_ENABLE:-true}
-      - TRACER_MINIMUM_EXECUTION_TIME=${TRACER_MINIMUM_EXECUTION_TIME:-5}
+      - CACHE_EVENTS=${CACHE_EVENTS:-/caching-approaches-comparison/applications/output/keycloak-aplcache-cache}
+      - CACHE_REGISTER_SIZE=false
+      - APLCACHE_CACHEABLE_PARAMETERS=/caching-approaches-comparison/applications/output/aplcache-keycloak-parameters.json
       - TRACER_SERIALISE_INTERNALS=false
-      - TRACER_VERBOSE=true
-      - TRACER_TRACES=/caching-approaches-comparison/applications/traces/keycloak
-      - TRACER_LOG=/caching-approaches-comparison/applications/output/keycloak-tracer.log
-      - TRACER_BLACKLIST=/caching-approaches-comparison/applications/uncached/keycloak/blacklist
       - TRACER_IGNORED_PACKAGES=/caching-approaches-comparison/applications/uncached/keycloak/ignored
-      - TRACER_WHITELIST=/caching-approaches-comparison/applications/uncached/keycloak/whitelist
     volumes:
       - application:/application
       - /root/.m2:/root/.m2

examples/pom.xml 55(+0 -55)

diff --git a/examples/pom.xml b/examples/pom.xml
index 4d5e48c..6a5e5b3 100755
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -29,64 +29,9 @@
 
     <artifactId>keycloak-examples-parent</artifactId>
     <packaging>pom</packaging>
-
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
     <build>
         <pluginManagement>
             <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-deploy-plugin</artifactId>

federation/pom.xml 58(+0 -58)

diff --git a/federation/pom.xml b/federation/pom.xml
index 9a7e0be..9017187 100755
--- a/federation/pom.xml
+++ b/federation/pom.xml
@@ -37,62 +37,4 @@
         <module>ldap</module>
         <module>sssd</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>

integration/pom.xml 58(+0 -58)

diff --git a/integration/pom.xml b/integration/pom.xml
index 68b75f8..6251d3e 100755
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -35,62 +35,4 @@
         <module>client-registration</module>
         <module>client-cli</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>

model/pom.xml 54(+0 -54)

diff --git a/model/pom.xml b/model/pom.xml
index a3b2d66..0a3fcb4 100755
--- a/model/pom.xml
+++ b/model/pom.xml
@@ -39,64 +39,10 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
    </plugins>
 </build>
     <modules>
         <module>jpa</module>
         <module>infinispan</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
-
 </project>

pom.xml 5(+0 -5)

diff --git a/pom.xml b/pom.xml
index cbe9f62..a61f1eb 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1490,11 +1490,6 @@
                 <version>${project.version}</version>
                 <type>zip</type>
             </dependency>
-        <dependency>
-            <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-            <artifactId>ApplicationTracer</artifactId>
-            <version>1.0</version>
-        </dependency>
     </dependencies>
     </dependencyManagement>
 

saml-core/pom.xml 51(+0 -51)

diff --git a/saml-core/pom.xml b/saml-core/pom.xml
index 166dfa4..c53c6dd 100755
--- a/saml-core/pom.xml
+++ b/saml-core/pom.xml
@@ -39,11 +39,6 @@
         <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
     </properties>
     <dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
         <dependency>
             <groupId>org.jboss.logging</groupId>
             <artifactId>jboss-logging</artifactId>
@@ -88,52 +83,6 @@
         </resources>
         <plugins>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>aspectj-maven-plugin</artifactId>
-                <version>1.11</version>
-                <configuration>
-                    <showWeaveInfo>false</showWeaveInfo>
-                    <complianceLevel>1.8</complianceLevel>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <Xlint>ignore</Xlint>
-                    <encoding>UTF-8</encoding>
-                    <verbose>false</verbose>
-                    <forceAjcCompile>true</forceAjcCompile>
-                    <sources/>
-                    <weaveDirectories>
-                        <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                    </weaveDirectories>
-                    <aspectLibraries>
-                        <aspectLibrary>
-                            <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                            <artifactId>ApplicationTracer</artifactId>
-                        </aspectLibrary>
-                    </aspectLibraries>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>compile</goal>
-                            <goal>test-compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjrt</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                    <dependency>
-                        <groupId>org.aspectj</groupId>
-                        <artifactId>aspectjtools</artifactId>
-                        <version>1.9.1</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
-            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <executions>
diff --git a/saml-core-api/pom.xml b/saml-core-api/pom.xml
index 9b8dcc5..09cea2b 100755
--- a/saml-core-api/pom.xml
+++ b/saml-core-api/pom.xml
@@ -38,11 +38,6 @@
         <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
     </properties>
     <dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
         <dependency>
             <groupId>org.jboss.logging</groupId>
             <artifactId>jboss-logging</artifactId>
@@ -58,55 +53,7 @@
             <artifactId>xmlsec</artifactId>
         </dependency>
     </dependencies>
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
+    <build>
         <resources>
             <resource>
                 <directory>src/main/resources</directory>

server-spi/pom.xml 55(+0 -55)

diff --git a/server-spi/pom.xml b/server-spi/pom.xml
index 7a5fe38..6a17fe3 100755
--- a/server-spi/pom.xml
+++ b/server-spi/pom.xml
@@ -31,11 +31,6 @@
     <description/>
 
     <dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
         <dependency>
             <groupId>org.jboss.spec.javax.transaction</groupId>
             <artifactId>jboss-transaction-api_1.2_spec</artifactId>
@@ -77,54 +72,4 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>
diff --git a/server-spi-private/pom.xml b/server-spi-private/pom.xml
index f85be5e..e33e855 100755
--- a/server-spi-private/pom.xml
+++ b/server-spi-private/pom.xml
@@ -31,11 +31,11 @@
     <description/>
 
     <dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
+        <dependency>
+            <groupId>br.ufrgs.inf.prosoft.aplcache</groupId>
+            <artifactId>APLCache</artifactId>
+            <version>1.0</version>
+        </dependency>
         <dependency>
             <groupId>org.keycloak</groupId>
             <artifactId>keycloak-server-spi</artifactId>
@@ -91,55 +91,5 @@
             <artifactId>hamcrest-all</artifactId>
             <scope>test</scope>
         </dependency>
-    </dependencies>
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
+    </dependencies>   
 </project>
diff --git a/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProvider.java b/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProvider.java
index 9c146f0..1c38362 100644
--- a/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProvider.java
+++ b/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProvider.java
@@ -30,6 +30,8 @@ import java.security.SecureRandom;
 import java.security.spec.InvalidKeySpecException;
 import java.security.spec.KeySpec;
 
+import br.ufrgs.inf.prosoft.aplcache.caching.APLCache;
+
 /**
  * @author <a href="mailto:me@tsudot.com">Kunal Kerkar</a>
  */
@@ -80,19 +82,28 @@ public class Pbkdf2PasswordHashProvider implements PasswordHashProvider {
         credential.setValue(encodedPassword);
     }
 
+
+public static APLCache<String> encode1 = new APLCache<>("Pbkdf2PasswordHashProvider.encode1");
+
     @Override
     public String encode(String rawPassword, int iterations) {
+return encode1.computeIfAbsent(Thread.currentThread(), new Object[]{rawPassword, iterations}, () -> {
+        byte[] salt = getSalt();
         if (iterations == -1) {
-            iterations = defaultIterations;
+            return encode(rawPassword, defaultIterations, salt, derivedKeySize);
         }
 
-        byte[] salt = getSalt();
         return encode(rawPassword, iterations, salt, derivedKeySize);
+}, 120000);
     }
 
+public static APLCache<Boolean> verify = new APLCache<>("Pbkdf2PasswordHashProvider.verify");
+
     @Override
     public boolean verify(String rawPassword, CredentialModel credential) {
+return verify.computeIfAbsent(Thread.currentThread(), new Object[]{rawPassword, credential}, () -> {
         return encode(rawPassword, credential.getHashIterations(), credential.getSalt(), keySize(credential)).equals(credential.getValue());
+}, 120000);
     }
 
     private int keySize(CredentialModel credential) {
@@ -107,7 +118,10 @@ public class Pbkdf2PasswordHashProvider implements PasswordHashProvider {
     public void close() {
     }
 
+public static APLCache<String> encode2 = new APLCache<>("Pbkdf2PasswordHashProvider.encode2");
+
     private String encode(String rawPassword, int iterations, byte[] salt, int derivedKeySize) {
+return encode2.computeIfAbsent(Thread.currentThread(), new Object[]{rawPassword, iterations, salt, derivedKeySize}, () -> {
         KeySpec spec = new PBEKeySpec(rawPassword.toCharArray(), salt, iterations, derivedKeySize);
 
         try {
@@ -118,6 +132,7 @@ public class Pbkdf2PasswordHashProvider implements PasswordHashProvider {
         } catch (Exception e) {
             throw new RuntimeException(e);
         }
+}, 120000);
     }
 
     private byte[] getSalt() {

services/pom.xml 51(+0 -51)

diff --git a/services/pom.xml b/services/pom.xml
index 070a30b..246e25a 100755
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -182,11 +182,6 @@
             <groupId>com.openshift</groupId>
             <artifactId>openshift-restclient-java</artifactId>
         </dependency>
-        <dependency>
-            <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-            <artifactId>ApplicationTracer</artifactId>
-            <version>1.0</version>
-        </dependency>
     </dependencies>
     <build>
         <plugins>
@@ -340,52 +335,6 @@
                             </execution>
                         </executions>
                     </plugin>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
                 </plugins>
             </build>
         </profile>

wildfly/pom.xml 57(+0 -57)

diff --git a/wildfly/pom.xml b/wildfly/pom.xml
index 428bcb6..c7d13e7 100755
--- a/wildfly/pom.xml
+++ b/wildfly/pom.xml
@@ -35,62 +35,5 @@
         <module>extensions</module>
         <module>server-subsystem</module>
     </modules>
-<dependencies>
-    <dependency>
-        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-        <artifactId>ApplicationTracer</artifactId>
-        <version>1.0</version>
-    </dependency>
-</dependencies>
 
-<build>
-    <plugins>
-        <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <version>1.11</version>
-            <configuration>
-                <showWeaveInfo>false</showWeaveInfo>
-                <complianceLevel>1.8</complianceLevel>
-                <source>1.8</source>
-                <target>1.8</target>
-                <Xlint>ignore</Xlint>
-                <encoding>UTF-8</encoding>
-                <verbose>false</verbose>
-                <forceAjcCompile>true</forceAjcCompile>
-                <sources/>
-                <weaveDirectories>
-                    <weaveDirectory>${project.build.directory}/classes</weaveDirectory>
-                </weaveDirectories>
-                <aspectLibraries>
-                    <aspectLibrary>
-                        <groupId>br.ufrgs.inf.prosoft.applicationtracer</groupId>
-                        <artifactId>ApplicationTracer</artifactId>
-                    </aspectLibrary>
-                </aspectLibraries>
-            </configuration>
-            <executions>
-                <execution>
-                    <phase>process-classes</phase>
-                    <goals>
-                        <goal>compile</goal>
-                        <goal>test-compile</goal>
-                    </goals>
-                </execution>
-            </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjrt</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.aspectj</groupId>
-                    <artifactId>aspectjtools</artifactId>
-                    <version>1.9.1</version>
-                </dependency>
-            </dependencies>
-        </plugin>
-   </plugins>
-</build>
 </project>