diff --git a/pom.xml b/pom.xml index 36330b4..a4ac7b2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-common @@ -19,7 +19,7 @@ com.github.umjammer - 1.0.7 + 1.0.9 pom @@ -80,7 +80,7 @@ vavi vavi-net-auth-common - 0.1.10 + 0.1.11 @@ -100,7 +100,7 @@ vavi vavi-net-auth-common - 0.1.10 + 0.1.11 test-jar test diff --git a/vavi-net-auth-amazon/pom.xml b/vavi-net-auth-amazon/pom.xml index 78ab9ec..21afd2c 100644 --- a/vavi-net-auth-amazon/pom.xml +++ b/vavi-net-auth-amazon/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-amazon @@ -32,22 +32,18 @@ - local (not on CI) + local ${basedir}/local.properties - - env.JITPACK - !true - org.codehaus.mojo properties-maven-plugin - 1.0.0 + 1.2.1 initialize @@ -62,29 +58,24 @@ + + org.apache.maven.plugins + maven-surefire-plugin + + false + + -Djava.util.logging.config.file=${project.build.testOutputDirectory}/logging.properties + + + ${test.account} + + + - - - - org.apache.maven.plugins - maven-surefire-plugin - - false - - -Djava.util.logging.config.file=${project.build.testResources.testResource.directory}/logging.properties - - - ${test.account} - - - - - - jitpack.io @@ -120,7 +111,7 @@ io.netty netty-handler - 4.1.106.Final + 4.1.107.Final diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonBasicAuthenticator.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonBasicAuthenticator.java index 7282c3a..a214174 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonBasicAuthenticator.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonBasicAuthenticator.java @@ -50,5 +50,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAppCredential.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAppCredential.java index 7bc5ec9..50a1dd3 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAppCredential.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAppCredential.java @@ -97,5 +97,3 @@ public String getScope() { return scope; } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAuthenticator.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAuthenticator.java index 83aeaf3..f67c19d 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAuthenticator.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalAuthenticator.java @@ -45,5 +45,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalTokenRefresher.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalTokenRefresher.java index 88b53ec..6db5b1c 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalTokenRefresher.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonLocalTokenRefresher.java @@ -71,5 +71,3 @@ public void close() { } } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonOAuth2.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonOAuth2.java index 5d7d8e7..f3a6eb2 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonOAuth2.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/oauth2/amazon/AmazonOAuth2.java @@ -105,5 +105,3 @@ private void refreshToken(String token) { } } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonBrowserAuthUI.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonBrowserAuthUI.java index 975530e..ea041c4 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonBrowserAuthUI.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonBrowserAuthUI.java @@ -108,5 +108,3 @@ protected void finalize() { } } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalAuthenticator.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalAuthenticator.java index 1cd0080..80ce6f3 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalAuthenticator.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalAuthenticator.java @@ -47,5 +47,3 @@ public WebDriver authorize(UserCredential credential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalUserCredential.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalUserCredential.java index e8450b4..5663e4f 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalUserCredential.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonLocalUserCredential.java @@ -39,5 +39,3 @@ public String getPassword() { return password; } } - -/* */ diff --git a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonSeleniumAuthUI.java b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonSeleniumAuthUI.java index 7e5f894..ecf4b80 100644 --- a/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonSeleniumAuthUI.java +++ b/vavi-net-auth-amazon/src/main/java/vavi/net/auth/web/amazon/AmazonSeleniumAuthUI.java @@ -136,5 +136,3 @@ public Exception getException() { return exception; } } - -/* */ diff --git a/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestACD.java b/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestACD.java index 70cfa0b..1608822 100644 --- a/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestACD.java +++ b/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestACD.java @@ -11,11 +11,13 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable; import vavi.net.auth.UserCredential; import vavi.net.auth.oauth2.OAuth2AppCredential; import vavi.net.auth.oauth2.amazon.AmazonBasicAuthenticator; import vavi.net.auth.oauth2.amazon.AmazonLocalAppCredential; import vavi.net.auth.web.amazon.AmazonLocalUserCredential; +import vavi.util.Debug; /** @@ -36,13 +38,12 @@ public static void main(String[] args) throws Exception { @Test @Disabled("doesn't work 2022-03-08") + @EnabledIfEnvironmentVariable(named = "TEST_AMAZON_ACCOUNT", matches = ".*") void process() throws IOException { String email = System.getenv("TEST_AMAZON_ACCOUNT"); OAuth2AppCredential appCredential = new AmazonLocalAppCredential(); UserCredential credential = new AmazonLocalUserCredential(email); String code = new AmazonBasicAuthenticator(appCredential).authorize(credential); -System.err.println("code: " + code); +Debug.println("code: " + code); } } - -/* */ diff --git a/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestAmazon.java b/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestAmazon.java index 01bd011..e7a9489 100644 --- a/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestAmazon.java +++ b/vavi-net-auth-amazon/src/test/java/vavi/net/auth/oauth2/acd/TestAmazon.java @@ -39,5 +39,3 @@ void process() throws Exception { Thread.sleep(5); } } - -/* */ diff --git a/vavi-net-auth-box/pom.xml b/vavi-net-auth-box/pom.xml index 7eab27b..0a4d63f 100644 --- a/vavi-net-auth-box/pom.xml +++ b/vavi-net-auth-box/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-box @@ -75,12 +75,12 @@ org.bouncycastle bcprov-jdk18on - 1.74 + 1.78 com.squareup.okio okio-jvm - 3.6.0 + 3.9.0 diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxBasicAuthenticator.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxBasicAuthenticator.java index e8c8bf1..56c2e7f 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxBasicAuthenticator.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxBasicAuthenticator.java @@ -48,5 +48,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxDevOAuth2.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxDevOAuth2.java index 48c5270..6cfe98d 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxDevOAuth2.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxDevOAuth2.java @@ -36,5 +36,3 @@ public BoxAPIConnection authorize(UserCredential userCredential) throws IOExcept return new BoxAPIConnection(System.getenv("BOX_DEVELOPER_TOKEN")); } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAppCredential.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAppCredential.java index e86b384..5566936 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAppCredential.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAppCredential.java @@ -87,5 +87,3 @@ public String getScope() { return scope; } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAuthenticator.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAuthenticator.java index 5b4a162..c00674c 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAuthenticator.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalAuthenticator.java @@ -51,5 +51,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalTokenRefresher.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalTokenRefresher.java index b61343e..7febed3 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalTokenRefresher.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxLocalTokenRefresher.java @@ -74,5 +74,3 @@ public void close() { } } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxOAuth2.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxOAuth2.java index 5abcdd8..9bca9da 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxOAuth2.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/oauth2/box/BoxOAuth2.java @@ -128,5 +128,3 @@ public void onError(BoxAPIConnection api, BoxAPIException error) { return api; } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxBrowserAuthUI.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxBrowserAuthUI.java index 294371f..7767536 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxBrowserAuthUI.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxBrowserAuthUI.java @@ -111,5 +111,3 @@ protected void finalize() { } } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxLocalUserCredential.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxLocalUserCredential.java index 83b97b5..d664a8d 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxLocalUserCredential.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxLocalUserCredential.java @@ -39,5 +39,3 @@ public String getPassword() { return password; } } - -/* */ diff --git a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxSeleniumAuthUI.java b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxSeleniumAuthUI.java index 97b2b5f..fa8a649 100644 --- a/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxSeleniumAuthUI.java +++ b/vavi-net-auth-box/src/main/java/vavi/net/auth/web/box/BoxSeleniumAuthUI.java @@ -176,5 +176,3 @@ protected void finalize() { su.close(); } } - -/* */ diff --git a/vavi-net-auth-box/src/test/java/vavi/net/auth/oauth2/box/Main2.java b/vavi-net-auth-box/src/test/java/vavi/net/auth/oauth2/box/Main2.java index b176b01..4e473a7 100644 --- a/vavi-net-auth-box/src/test/java/vavi/net/auth/oauth2/box/Main2.java +++ b/vavi-net-auth-box/src/test/java/vavi/net/auth/oauth2/box/Main2.java @@ -103,5 +103,3 @@ public static void main(String[] args) throws Exception { } } } - -/* */ diff --git a/vavi-net-auth-common/pom.xml b/vavi-net-auth-common/pom.xml index b5e9535..35ebded 100644 --- a/vavi-net-auth-common/pom.xml +++ b/vavi-net-auth-common/pom.xml @@ -7,7 +7,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-common @@ -39,13 +39,13 @@ org.seleniumhq.selenium selenium-java - 4.16.1 + 4.20.0 org.seleniumhq.selenium selenium-chrome-driver - 4.17.0 + 4.20.0 @@ -63,7 +63,7 @@ org.json json - 20231013 + 20240303 org.dmfs @@ -84,7 +84,7 @@ org.xerial sqlite-jdbc - 3.45.0.0 + 3.45.3.0 runtime diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/AppCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/AppCredential.java index 1a4e9cb..f5aefac 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/AppCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/AppCredential.java @@ -24,5 +24,3 @@ public interface AppCredential { /** id for authenticate */ String getClientId(); } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/AuthUI.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/AuthUI.java index 8a26915..22e0cd3 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/AuthUI.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/AuthUI.java @@ -24,5 +24,3 @@ public interface AuthUI { /** */ Exception getException(); } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/Authenticator.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/Authenticator.java index e5bd323..8ab4c55 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/Authenticator.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/Authenticator.java @@ -23,5 +23,3 @@ public interface Authenticator { */ O authorize(I credential) throws IOException; } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalAppCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalAppCredential.java index 3fae905..22f8fcd 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalAppCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalAppCredential.java @@ -33,5 +33,3 @@ protected BaseLocalAppCredential() { } } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalUserCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalUserCredential.java index 03848c7..3de15c2 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalUserCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/BaseLocalUserCredential.java @@ -44,5 +44,3 @@ public String getId() { return id; } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/UserCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/UserCredential.java index e1853f4..89c6abd 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/UserCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/UserCredential.java @@ -21,5 +21,3 @@ public interface UserCredential { /** */ String getPassword(); } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/WithTotpUserCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/WithTotpUserCredential.java index 03ce211..923d8a6 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/WithTotpUserCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/WithTotpUserCredential.java @@ -18,5 +18,3 @@ public interface WithTotpUserCredential extends UserCredential { /** */ String getTotpSecret(); } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BaseTokenRefresher.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BaseTokenRefresher.java index ba7a296..dee4948 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BaseTokenRefresher.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BaseTokenRefresher.java @@ -96,5 +96,3 @@ public void close() { /* */ public abstract T readRefreshToken() throws IOException; } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicLocalTokenRefresher.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicLocalTokenRefresher.java index d728b64..d3f9164 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicLocalTokenRefresher.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicLocalTokenRefresher.java @@ -58,5 +58,3 @@ public void close() { super.close(); } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicOAuth2.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicOAuth2.java index df19836..8a45443 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicOAuth2.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/BasicOAuth2.java @@ -193,5 +193,3 @@ public void close() { } } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2.java index f3dea31..da443fe 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2.java @@ -64,5 +64,3 @@ static Authenticator getAuthenticator(String authenticatorClassName } } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2AppCredential.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2AppCredential.java index b32be47..be2e55d 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2AppCredential.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/OAuth2AppCredential.java @@ -98,5 +98,3 @@ public String getApplicationName() { }; } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/TokenRefresher.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/TokenRefresher.java index 06324fd..55abbc8 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/TokenRefresher.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/oauth2/TokenRefresher.java @@ -29,5 +29,3 @@ public interface TokenRefresher extends Closeable { */ T readRefreshToken() throws IOException; } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavi/net/auth/totp/PinGenerator.java b/vavi-net-auth-common/src/main/java/vavi/net/auth/totp/PinGenerator.java index 3ccaebd..9828034 100644 --- a/vavi-net-auth-common/src/main/java/vavi/net/auth/totp/PinGenerator.java +++ b/vavi-net-auth-common/src/main/java/vavi/net/auth/totp/PinGenerator.java @@ -38,5 +38,3 @@ public static String computePin(String secret, Long counter) { } } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavix/util/selenium/ChromeWebDriverFactory.java b/vavi-net-auth-common/src/main/java/vavix/util/selenium/ChromeWebDriverFactory.java index 7213663..eac147c 100644 --- a/vavi-net-auth-common/src/main/java/vavix/util/selenium/ChromeWebDriverFactory.java +++ b/vavi-net-auth-common/src/main/java/vavix/util/selenium/ChromeWebDriverFactory.java @@ -75,5 +75,3 @@ public WebDriver getDriver(boolean headless) { return driver; } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavix/util/selenium/SafariWebDriverFactory.java b/vavi-net-auth-common/src/main/java/vavix/util/selenium/SafariWebDriverFactory.java index 3d2c181..aaf6c56 100644 --- a/vavi-net-auth-common/src/main/java/vavix/util/selenium/SafariWebDriverFactory.java +++ b/vavi-net-auth-common/src/main/java/vavix/util/selenium/SafariWebDriverFactory.java @@ -30,5 +30,3 @@ public WebDriver getDriver(boolean headless) { return driver; } } - -/* */ diff --git a/vavi-net-auth-common/src/main/java/vavix/util/selenium/WebDriverFactory.java b/vavi-net-auth-common/src/main/java/vavix/util/selenium/WebDriverFactory.java index 363d9e0..d3eba96 100644 --- a/vavi-net-auth-common/src/main/java/vavix/util/selenium/WebDriverFactory.java +++ b/vavi-net-auth-common/src/main/java/vavix/util/selenium/WebDriverFactory.java @@ -26,5 +26,3 @@ static WebDriverFactory newInstace() { // return new SafariWebDriverFactory(); } } - -/* */ diff --git a/vavi-net-auth-common/src/test/java/vavi/net/auth/cookie/chrome/mac/MacChromeCookieTest.java b/vavi-net-auth-common/src/test/java/vavi/net/auth/cookie/chrome/mac/MacChromeCookieTest.java index 2bcd83e..8a3166e 100644 --- a/vavi-net-auth-common/src/test/java/vavi/net/auth/cookie/chrome/mac/MacChromeCookieTest.java +++ b/vavi-net-auth-common/src/test/java/vavi/net/auth/cookie/chrome/mac/MacChromeCookieTest.java @@ -36,5 +36,3 @@ void test1() throws Exception { assertNotNull(cookie.get("user_id")); } } - -/* */ diff --git a/vavi-net-auth-common/src/test/java/vavi/net/auth/oauth2/Getter.java b/vavi-net-auth-common/src/test/java/vavi/net/auth/oauth2/Getter.java index 614e58f..a81f67a 100644 --- a/vavi-net-auth-common/src/test/java/vavi/net/auth/oauth2/Getter.java +++ b/vavi-net-auth-common/src/test/java/vavi/net/auth/oauth2/Getter.java @@ -25,5 +25,3 @@ public interface Getter { */ String get(String url) throws IOException; } - -/* */ diff --git a/vavi-net-auth-dropbox/pom.xml b/vavi-net-auth-dropbox/pom.xml index f615b4d..e69b7c3 100644 --- a/vavi-net-auth-dropbox/pom.xml +++ b/vavi-net-auth-dropbox/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-dropbox @@ -61,7 +61,7 @@ com.dropbox.core dropbox-core-sdk - 5.4.6 + 7.0.0 diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAppCredential.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAppCredential.java index e7a352b..418472e 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAppCredential.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAppCredential.java @@ -81,5 +81,3 @@ public String getScope() { return scope; } } - -/* */ diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAuthenticator.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAuthenticator.java index 3a48316..aff55a0 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAuthenticator.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalAuthenticator.java @@ -49,5 +49,3 @@ public String authorize(UserCredential useCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalTokenRefresher.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalTokenRefresher.java index 5dadef9..ad80d7e 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalTokenRefresher.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxLocalTokenRefresher.java @@ -76,5 +76,3 @@ public void close() { } } } - -/* */ diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxOAuth2.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxOAuth2.java index aecd778..ab08aa1 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxOAuth2.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/oauth2/dropbox/DropBoxOAuth2.java @@ -117,5 +117,3 @@ public String authorize(UserCredential userCredential) throws IOException { } } } - -/* */ diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxLocalUserCredential.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxLocalUserCredential.java index e795451..7f0bfa3 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxLocalUserCredential.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxLocalUserCredential.java @@ -39,5 +39,3 @@ public String getPassword() { return password; } } - -/* */ diff --git a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxSeleniumAuthUI.java b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxSeleniumAuthUI.java index 222ce1d..7e8b507 100644 --- a/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxSeleniumAuthUI.java +++ b/vavi-net-auth-dropbox/src/main/java/vavi/net/auth/web/dropbox/DropBoxSeleniumAuthUI.java @@ -160,5 +160,3 @@ protected void finalize() { su.close(); } } - -/* */ diff --git a/vavi-net-auth-facebook/pom.xml b/vavi-net-auth-facebook/pom.xml index 92b4aa2..b24d0ff 100644 --- a/vavi-net-auth-facebook/pom.xml +++ b/vavi-net-auth-facebook/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-facebook diff --git a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAppCredential.java b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAppCredential.java index 730fefd..5110fb8 100644 --- a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAppCredential.java +++ b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAppCredential.java @@ -71,5 +71,3 @@ public String getScope() { return null; } } - -/* */ diff --git a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAuthenticator.java b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAuthenticator.java index 72418f7..0d8049e 100644 --- a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAuthenticator.java +++ b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookLocalAuthenticator.java @@ -45,5 +45,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookOAuth2.java b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookOAuth2.java index a7bbd6e..3a168ba 100644 --- a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookOAuth2.java +++ b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/oauth2/facebook/FacebookOAuth2.java @@ -56,5 +56,3 @@ public String authorize(UserCredential userCredential) throws IOException { return null; } } - -/* */ diff --git a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookBrowserAuthUI.java b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookBrowserAuthUI.java index 96a3942..6ae1b66 100644 --- a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookBrowserAuthUI.java +++ b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookBrowserAuthUI.java @@ -50,5 +50,3 @@ public Exception getException() { return exception; } } - -/* */ diff --git a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookLocalUserCredential.java b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookLocalUserCredential.java index 60ff9f7..43b83cf 100644 --- a/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookLocalUserCredential.java +++ b/vavi-net-auth-facebook/src/main/java/vavi/net/auth/web/facebook/FacebookLocalUserCredential.java @@ -39,5 +39,3 @@ public String getPassword() { return password; } } - -/* */ diff --git a/vavi-net-auth-facebook/src/test/java/vavi/net/auth/oauth2/facebook/TestFacebook.java b/vavi-net-auth-facebook/src/test/java/vavi/net/auth/oauth2/facebook/TestFacebook.java index 14cd10f..9ee86b1 100644 --- a/vavi-net-auth-facebook/src/test/java/vavi/net/auth/oauth2/facebook/TestFacebook.java +++ b/vavi-net-auth-facebook/src/test/java/vavi/net/auth/oauth2/facebook/TestFacebook.java @@ -44,5 +44,3 @@ void process(String group) throws IOException { System.err.println("token: " + token); } } - -/* */ diff --git a/vavi-net-auth-flickr/pom.xml b/vavi-net-auth-flickr/pom.xml index cbececa..7b25b8b 100644 --- a/vavi-net-auth-flickr/pom.xml +++ b/vavi-net-auth-flickr/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-flickr @@ -49,7 +49,7 @@ com.flickr4java flickr4java - 3.0.8 + 3.0.9 diff --git a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAppCredential.java b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAppCredential.java index daae7c3..1dfb751 100644 --- a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAppCredential.java +++ b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAppCredential.java @@ -75,5 +75,3 @@ public String getScope() { return null; } } - -/* */ diff --git a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAuthenticator.java b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAuthenticator.java index f15bb5a..1e5f2cc 100644 --- a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAuthenticator.java +++ b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrLocalAuthenticator.java @@ -45,5 +45,3 @@ public String authorize(UserCredential userCredential) throws IOException { return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrOAuth2.java b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrOAuth2.java index 5d4f771..18809e0 100644 --- a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrOAuth2.java +++ b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/oauth2/flickr/FlickrOAuth2.java @@ -59,5 +59,3 @@ public Flickr authorize(UserCredential userCredential) throws IOException { return flickr; } } - -/* */ diff --git a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrBrowserAuthUI.java b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrBrowserAuthUI.java index 7604924..fbb77b0 100644 --- a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrBrowserAuthUI.java +++ b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrBrowserAuthUI.java @@ -50,5 +50,3 @@ public Exception getException() { return exception; } } - -/* */ diff --git a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrLocalUserCredential.java b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrLocalUserCredential.java index 0dea868..e1fb8fe 100644 --- a/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrLocalUserCredential.java +++ b/vavi-net-auth-flickr/src/main/java/vavi/net/auth/web/flickr/FlickrLocalUserCredential.java @@ -39,5 +39,3 @@ public String getPassword() { return password; } } - -/* */ diff --git a/vavi-net-auth-google/pom.xml b/vavi-net-auth-google/pom.xml index 7d2e30e..d9176ef 100644 --- a/vavi-net-auth-google/pom.xml +++ b/vavi-net-auth-google/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-google @@ -56,7 +56,7 @@ com.google.api-client google-api-client - 2.2.0 + 2.4.1 com.google.guava @@ -72,7 +72,7 @@ com.google.auth google-auth-library-oauth2-http - 1.20.0 + 1.23.0 @@ -100,7 +100,7 @@ com.google.apis google-api-services-drive - v3-rev20230413-2.0.0 + v3-rev20240123-2.0.0 test @@ -116,13 +116,13 @@ org.bouncycastle bcprov-jdk15to18 - 1.77 + 1.78 test org.bouncycastle bcutil-jdk15to18 - 1.77 + 1.78 test diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/GoogleAppCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/GoogleAppCredential.java index 2f9c359..9e530f5 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/GoogleAppCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/GoogleAppCredential.java @@ -21,5 +21,3 @@ public interface GoogleAppCredential { /** */ String getApplicationName(); } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBaseOAuth2AppCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBaseOAuth2AppCredential.java index b9b350f..2617389 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBaseOAuth2AppCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBaseOAuth2AppCredential.java @@ -59,5 +59,3 @@ public GoogleClientSecrets getRawData() { return clientSecrets; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBasicOAuth2Authenticator.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBasicOAuth2Authenticator.java index c9698f7..51c245a 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBasicOAuth2Authenticator.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleBasicOAuth2Authenticator.java @@ -64,5 +64,3 @@ public Credential authorize(WithTotpUserCredential userCredential) throws IOExce return credential; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2AppCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2AppCredential.java index e625e4a..5377c6c 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2AppCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2AppCredential.java @@ -135,5 +135,3 @@ public DataStoreFactory getDataStoreFactory() throws IOException { return dataStoreFactoryFactory.newDataStoreFactory(); } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2Authenticator.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2Authenticator.java index bcad344..e5869b2 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2Authenticator.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleLocalOAuth2Authenticator.java @@ -79,5 +79,3 @@ public Credential authorize(WithTotpUserCredential userCredential) throws IOExce return credential; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2.java index 4d0a832..31eaaf6 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2.java @@ -81,5 +81,3 @@ public static HttpTransport getHttpTransport() { return HTTP_TRANSPORT; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2AppCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2AppCredential.java index ae0d54f..a86ce87 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2AppCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleOAuth2AppCredential.java @@ -31,5 +31,3 @@ public interface GoogleOAuth2AppCredential extends OAuth2AppCredential, GoogleAp /** */ DataStoreFactory getDataStoreFactory() throws IOException; } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleServiceAccountAppCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleServiceAccountAppCredential.java index 6547f7d..c2c6a7c 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleServiceAccountAppCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/oauth2/google/GoogleServiceAccountAppCredential.java @@ -66,5 +66,3 @@ public ServiceAccountCredentials getRawData() { return credentials; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleLocalUserCredential.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleLocalUserCredential.java index a63aff9..5196434 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleLocalUserCredential.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleLocalUserCredential.java @@ -47,5 +47,3 @@ public String getTotpSecret() { return totpSecret; } } - -/* */ diff --git a/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleSeleniumAuthUI.java b/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleSeleniumAuthUI.java index dc8473b..fde8056 100644 --- a/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleSeleniumAuthUI.java +++ b/vavi-net-auth-google/src/main/java/vavi/net/auth/web/google/GoogleSeleniumAuthUI.java @@ -153,5 +153,3 @@ protected void finalize() { su.close(); } } - -/* */ diff --git a/vavi-net-auth-google/src/test/java/vavi/net/auth/oauth2/google/GoogleLocalAppCredentialTest.java b/vavi-net-auth-google/src/test/java/vavi/net/auth/oauth2/google/GoogleLocalAppCredentialTest.java index 2822f9c..2a392f0 100644 --- a/vavi-net-auth-google/src/test/java/vavi/net/auth/oauth2/google/GoogleLocalAppCredentialTest.java +++ b/vavi-net-auth-google/src/test/java/vavi/net/auth/oauth2/google/GoogleLocalAppCredentialTest.java @@ -119,5 +119,3 @@ public static void main(String[] args) throws Exception { System.err.println(appCredential.getAccessType()); } } - -/* */ diff --git a/vavi-net-auth-microsoft/pom.xml b/vavi-net-auth-microsoft/pom.xml index a2117c9..65c1f19 100644 --- a/vavi-net-auth-microsoft/pom.xml +++ b/vavi-net-auth-microsoft/pom.xml @@ -5,7 +5,7 @@ vavi vavi-net-auth - 0.1.10 + 0.1.11 vavi-net-auth-microsoft diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftBasicAuthenticator.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftBasicAuthenticator.java index 3916462..7bb3647 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftBasicAuthenticator.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftBasicAuthenticator.java @@ -49,5 +49,3 @@ public String authorize(WithTotpUserCredential userCredential) throws IOExceptio return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphLocalAppCredential.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphLocalAppCredential.java index ab28fcb..0f68e8d 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphLocalAppCredential.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphLocalAppCredential.java @@ -83,5 +83,3 @@ public String getScope() { return scope; } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphOAuth2.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphOAuth2.java index 7805f4b..04ecffb 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphOAuth2.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftGraphOAuth2.java @@ -70,5 +70,3 @@ protected TokenRefresher getTokenRefresher(AppCredential appCredential, return OAuth2.getTokenRefresher(tokenRefresherClassName, appCredential, id, this::refresh); } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAppCredential.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAppCredential.java index 5999c00..163b4fd 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAppCredential.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAppCredential.java @@ -82,5 +82,3 @@ public String getScope() { return scope; } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAuthenticator.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAuthenticator.java index 16b8931..a3e78df 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAuthenticator.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftLocalAuthenticator.java @@ -49,5 +49,3 @@ public String authorize(WithTotpUserCredential userCredential) throws IOExceptio return ui.getResult(); } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftOAuth2.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftOAuth2.java index 5d5990a..1a5c797 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftOAuth2.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/oauth2/microsoft/MicrosoftOAuth2.java @@ -97,5 +97,3 @@ public String readRefreshToken() throws IOException { return tokenRefresher.readRefreshToken(); } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftBrowserAuthUI.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftBrowserAuthUI.java index 150a921..4bb6233 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftBrowserAuthUI.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftBrowserAuthUI.java @@ -113,5 +113,3 @@ protected void finalize() { } } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftLocalUserCredential.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftLocalUserCredential.java index 52f9971..547e8a4 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftLocalUserCredential.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftLocalUserCredential.java @@ -46,5 +46,3 @@ public String getTotpSecret() { return totpSecret; } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftSeleniumAuthUI.java b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftSeleniumAuthUI.java index 751ebc0..3342921 100644 --- a/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftSeleniumAuthUI.java +++ b/vavi-net-auth-microsoft/src/main/java/vavi/net/auth/web/microsoft/MicrosoftSeleniumAuthUI.java @@ -190,5 +190,3 @@ protected void finalize() { su.close(); } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/HttpUnitGetter.java b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/HttpUnitGetter.java index 314561b..21f6897 100644 --- a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/HttpUnitGetter.java +++ b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/HttpUnitGetter.java @@ -38,5 +38,3 @@ public String get(String url) throws IOException { return null; } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/InteractiveGetter.java b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/InteractiveGetter.java index 1c90731..2497c73 100644 --- a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/InteractiveGetter.java +++ b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/InteractiveGetter.java @@ -41,5 +41,3 @@ public String get(String url) throws IOException { } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/PlainGetter.java b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/PlainGetter.java index c850900..41203af 100644 --- a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/PlainGetter.java +++ b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/PlainGetter.java @@ -42,5 +42,3 @@ public String get(String url) throws IOException { return null; } } - -/* */ diff --git a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/Ui4jGetter.java b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/Ui4jGetter.java index 25f3735..7549475 100644 --- a/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/Ui4jGetter.java +++ b/vavi-net-auth-microsoft/src/test/java/vavi/net/auth/oauth2/microsoft/Ui4jGetter.java @@ -90,5 +90,3 @@ public void afterLoad(Response response) { return "ACCESS_TOKEN"; } } - -/* */