Skip to content

Commit

Permalink
feat(jans-auth): log current folder in UserJansExtUidAttributeTest test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuriy Movchan <[email protected]>
  • Loading branch information
yurem committed Jan 16, 2025
1 parent 474661c commit cb4cc6d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
Expand Down Expand Up @@ -86,7 +87,10 @@ public static void init() {
@Produces
@ApplicationScoped
public StringEncrypter getStringEncrypter() throws EncryptionException {
FileConfiguration cryptoConfiguration = new FileConfiguration(".\\target\\conf\\salt");
log.info("Current folder: {}", (new File(".").getAbsolutePath()));
System.out.println("Current folder: {}" +(new File(".").getAbsolutePath()));

FileConfiguration cryptoConfiguration = new FileConfiguration(".\\target\\conf\\salt");
String encodeSalt = cryptoConfiguration.getString("encodeSalt");

return StringEncrypter.instance(encodeSalt);
Expand Down

0 comments on commit cb4cc6d

Please sign in to comment.