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
| File initialFile = new File("/home/dcheung/keycloak.json"); | |
| InputStream targetStream = new FileInputStream(initialFile); | |
| KeycloakInstalled keycloakInstalled = new KeycloakInstalled(targetStream); | |
| System.out.println("-- Login in --"); | |
| keycloakInstalled.loginCommandLine(); | |
| System.out.println("-- Getting token --"); | |
| System.out.println(keycloakInstalled.getTokenString()); | |
| // Output |
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
| for(i = 0; i < 1000000; i++) { | |
| println("Hello world") | |
| } |
OlderNewer