@Test void testBuilderSimpleDefault() { assertNull(OAuthUtils.buildAuthenticatorWithSharedSecret(null)); assertNull(OAuthUtils.buildAuthenticatorWithSharedSecret("")); }
public static Authenticator buildAuthenticatorWithSharedSecret(final String key) { if (key != null && !key.isEmpty()) { return new JwtAuthenticator(hmacShaKeyFor(key.getBytes(UTF_8))); } return null; }
OAuthUtils { public static Authenticator buildAuthenticatorWithSharedSecret(final String key) { if (key != null && !key.isEmpty()) { return new JwtAuthenticator(hmacShaKeyFor(key.getBytes(UTF_8))); } return null; } }
OAuthUtils { public static Authenticator buildAuthenticatorWithSharedSecret(final String key) { if (key != null && !key.isEmpty()) { return new JwtAuthenticator(hmacShaKeyFor(key.getBytes(UTF_8))); } return null; } private  OAuthUtils(); }
OAuthUtils { public static Authenticator buildAuthenticatorWithSharedSecret(final String key) { if (key != null && !key.isEmpty()) { return new JwtAuthenticator(hmacShaKeyFor(key.getBytes(UTF_8))); } return null; } private  OAuthUtils(); static Principal withWebIdClaim(final Claims claims); static Principal withSubjectClaim(final Claims claims); static Authenticator buildAuthenticatorWithJwk(final String location); static Key buildRSAPublicKey(final String keyType, final BigInteger modulus,
            final BigInteger exponent); static Authenticator buildAuthenticatorWithSharedSecret(final String key); static Authenticator buildAuthenticatorWithTruststore(final String keystorePath,
            final char[] keystorePassword, final List<String> keyids); }
OAuthUtils { public static Authenticator buildAuthenticatorWithSharedSecret(final String key) { if (key != null && !key.isEmpty()) { return new JwtAuthenticator(hmacShaKeyFor(key.getBytes(UTF_8))); } return null; } private  OAuthUtils(); static Principal withWebIdClaim(final Claims claims); static Principal withSubjectClaim(final Claims claims); static Authenticator buildAuthenticatorWithJwk(final String location); static Key buildRSAPublicKey(final String keyType, final BigInteger modulus,
            final BigInteger exponent); static Authenticator buildAuthenticatorWithSharedSecret(final String key); static Authenticator buildAuthenticatorWithTruststore(final String keystorePath,
            final char[] keystorePassword, final List<String> keyids); static final String WEBID; static final String WEBSITE; }