Binary compatibility report for the dropwizard-auth library between 1.3.29 and 2.0.0 versions
Test Info
Library Name | dropwizard-auth |
Version #1 | 1.3.29 |
Version #2 | 2.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 93 / 25 |
Compatibility |
80.8% |
Problem Summary
| Severity | Count |
Added Methods | - | 15 |
Removed Methods | High | 15 |
Problems with Data Types | High | 0 |
Medium | 0 |
Low | 2 |
Problems with Methods | High | 2 |
Medium | 0 |
Low | 0 |
Added Methods 15
dropwizard-auth-2.0.0.jar, Authorizer.class
package io.dropwizard.auth
Authorizer<P>.authorize ( P principal, String role, ContainerRequestContext requestContext ) : boolean
io/dropwizard/auth/Authorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Z
dropwizard-auth-2.0.0.jar, AuthValueFactoryProvider.class
package io.dropwizard.auth
AuthValueFactoryProvider<T>.AuthValueFactoryProvider<T> ( MultivaluedParameterExtractorProvider mpep, AuthValueFactoryProvider.PrincipalClassProvider<T> principalClassProvider )
io/dropwizard/auth/AuthValueFactoryProvider."<init>":(Lorg/glassfish/jersey/server/internal/inject/MultivaluedParameterExtractorProvider;Lio/dropwizard/auth/AuthValueFactoryProvider$PrincipalClassProvider;)V
AuthValueFactoryProvider<T>.createValueProvider ( Parameter parameter ) : Function<ContainerRequest,?>
io/dropwizard/auth/AuthValueFactoryProvider.createValueProvider:(Lorg/glassfish/jersey/server/model/Parameter;)Ljava/util/function/Function;
dropwizard-auth-2.0.0.jar, CachingAuthenticator.class
package io.dropwizard.auth
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, Caffeine<Object,Object> builder )
io/dropwizard/auth/CachingAuthenticator."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authenticator;Lcom/github/benmanes/caffeine/cache/Caffeine;)V
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, CaffeineSpec cacheSpec )
io/dropwizard/auth/CachingAuthenticator."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authenticator;Lcom/github/benmanes/caffeine/cache/CaffeineSpec;)V
CachingAuthenticator<C,P>.invalidateAll ( Predicate<? super C> predicate ) : void
io/dropwizard/auth/CachingAuthenticator.invalidateAll:(Ljava/util/function/Predicate;)V
CachingAuthenticator<C,P>.stats ( ) : CacheStats
io/dropwizard/auth/CachingAuthenticator.stats:()Lcom/github/benmanes/caffeine/cache/stats/CacheStats;
dropwizard-auth-2.0.0.jar, CachingAuthorizer.class
package io.dropwizard.auth
CachingAuthorizer<P>.authorize ( P principal, String role, ContainerRequestContext requestContext ) : boolean
io/dropwizard/auth/CachingAuthorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Z
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, Caffeine<Object,Object> builder )
io/dropwizard/auth/CachingAuthorizer."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authorizer;Lcom/github/benmanes/caffeine/cache/Caffeine;)V
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, CaffeineSpec cacheSpec )
io/dropwizard/auth/CachingAuthorizer."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authorizer;Lcom/github/benmanes/caffeine/cache/CaffeineSpec;)V
CachingAuthorizer<P>.invalidate ( P principal, String role, ContainerRequestContext requestContext ) : void
io/dropwizard/auth/CachingAuthorizer.invalidate:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)V
CachingAuthorizer<P>.stats ( ) : CacheStats
io/dropwizard/auth/CachingAuthorizer.stats:()Lcom/github/benmanes/caffeine/cache/stats/CacheStats;
dropwizard-auth-2.0.0.jar, PolymorphicAuthDynamicFeature.class
package io.dropwizard.auth
PolymorphicAuthDynamicFeature<T>.PolymorphicAuthDynamicFeature<T> ( Map<Class<?>,ContainerRequestFilter> authFilterMap )
io/dropwizard/auth/PolymorphicAuthDynamicFeature."<init>":(Ljava/util/Map;)V
dropwizard-auth-2.0.0.jar, PolymorphicAuthValueFactoryProvider.class
package io.dropwizard.auth
PolymorphicAuthValueFactoryProvider<T>.createValueProvider ( Parameter parameter ) : Function<ContainerRequest,?>
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.createValueProvider:(Lorg/glassfish/jersey/server/model/Parameter;)Ljava/util/function/Function;
PolymorphicAuthValueFactoryProvider<T>.PolymorphicAuthValueFactoryProvider<T> ( MultivaluedParameterExtractorProvider mpep, PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T> principalClassSetProvider )
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider."<init>":(Lorg/glassfish/jersey/server/internal/inject/MultivaluedParameterExtractorProvider;Lio/dropwizard/auth/PolymorphicAuthValueFactoryProvider$PrincipalClassSetProvider;)V
to the top
Removed Methods 15
dropwizard-auth-1.3.29.jar, AuthValueFactoryProvider.class
package io.dropwizard.auth
AuthValueFactoryProvider<T>.AuthValueFactoryProvider<T> ( MultivaluedParameterExtractorProvider mpep, ServiceLocator injector, AuthValueFactoryProvider.PrincipalClassProvider<T> principalClassProvider )
io/dropwizard/auth/AuthValueFactoryProvider."<init>":(Lorg/glassfish/jersey/server/internal/inject/MultivaluedParameterExtractorProvider;Lorg/glassfish/hk2/api/ServiceLocator;Lio/dropwizard/auth/AuthValueFactoryProvider$PrincipalClassProvider;)V
AuthValueFactoryProvider<T>.createValueFactory ( Parameter p1 ) : Factory
io/dropwizard/auth/AuthValueFactoryProvider.createValueFactory:(Lorg/glassfish/jersey/server/model/Parameter;)Lorg/glassfish/hk2/api/Factory;
AuthValueFactoryProvider<T>.createValueFactory ( Parameter parameter ) : AbstractContainerRequestValueFactory<?>
io/dropwizard/auth/AuthValueFactoryProvider.createValueFactory:(Lorg/glassfish/jersey/server/model/Parameter;)Lorg/glassfish/jersey/server/internal/inject/AbstractContainerRequestValueFactory;
dropwizard-auth-1.3.29.jar, CachingAuthenticator.class
package io.dropwizard.auth
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, CacheBuilder<Object,Object> builder )
io/dropwizard/auth/CachingAuthenticator."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authenticator;Lcom/google/common/cache/CacheBuilder;)V
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, CacheBuilderSpec cacheSpec )
io/dropwizard/auth/CachingAuthenticator."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authenticator;Lcom/google/common/cache/CacheBuilderSpec;)V
CachingAuthenticator<C,P>.invalidateAll ( Predicate<? super C> predicate ) : void
io/dropwizard/auth/CachingAuthenticator.invalidateAll:(Lcom/google/common/base/Predicate;)V
CachingAuthenticator<C,P>.stats ( ) : CacheStats
io/dropwizard/auth/CachingAuthenticator.stats:()Lcom/google/common/cache/CacheStats;
dropwizard-auth-1.3.29.jar, CachingAuthorizer.class
package io.dropwizard.auth
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, CacheBuilder<Object,Object> builder )
io/dropwizard/auth/CachingAuthorizer."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authorizer;Lcom/google/common/cache/CacheBuilder;)V
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, CacheBuilderSpec cacheSpec )
io/dropwizard/auth/CachingAuthorizer."<init>":(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authorizer;Lcom/google/common/cache/CacheBuilderSpec;)V
CachingAuthorizer<P>.invalidate ( P principal, String role ) : void
io/dropwizard/auth/CachingAuthorizer.invalidate:(Ljava/security/Principal;Ljava/lang/String;)V
CachingAuthorizer<P>.stats ( ) : CacheStats
io/dropwizard/auth/CachingAuthorizer.stats:()Lcom/google/common/cache/CacheStats;
dropwizard-auth-1.3.29.jar, PolymorphicAuthDynamicFeature.class
package io.dropwizard.auth
PolymorphicAuthDynamicFeature<T>.PolymorphicAuthDynamicFeature<T> ( ImmutableMap<Class<?>,ContainerRequestFilter> authFilterMap )
io/dropwizard/auth/PolymorphicAuthDynamicFeature."<init>":(Lcom/google/common/collect/ImmutableMap;)V
dropwizard-auth-1.3.29.jar, PolymorphicAuthValueFactoryProvider.class
package io.dropwizard.auth
PolymorphicAuthValueFactoryProvider<T>.createValueFactory ( Parameter p1 ) : Factory
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.createValueFactory:(Lorg/glassfish/jersey/server/model/Parameter;)Lorg/glassfish/hk2/api/Factory;
PolymorphicAuthValueFactoryProvider<T>.createValueFactory ( Parameter parameter ) : AbstractContainerRequestValueFactory<?>
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.createValueFactory:(Lorg/glassfish/jersey/server/model/Parameter;)Lorg/glassfish/jersey/server/internal/inject/AbstractContainerRequestValueFactory;
PolymorphicAuthValueFactoryProvider<T>.PolymorphicAuthValueFactoryProvider<T> ( MultivaluedParameterExtractorProvider mpep, ServiceLocator injector, PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T> principalClassSetProvider )
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider."<init>":(Lorg/glassfish/jersey/server/internal/inject/MultivaluedParameterExtractorProvider;Lorg/glassfish/hk2/api/ServiceLocator;Lio/dropwizard/auth/PolymorphicAuthValueFactoryProvider$PrincipalClassSetProvider;)V
to the top
Problems with Methods, High Severity 2
dropwizard-auth-1.3.29.jar, CachingAuthenticator.class
package io.dropwizard.auth
[+] CachingAuthenticator<C,P>.stats ( ) : CacheStats 1
io/dropwizard/auth/CachingAuthenticator.stats:()Lcom/google/common/cache/CacheStats;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.cache.CacheStats to com.github.benmanes.caffeine.cache.stats.CacheStats. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
dropwizard-auth-1.3.29.jar, CachingAuthorizer.class
package io.dropwizard.auth
[+] CachingAuthorizer<P>.stats ( ) : CacheStats 1
io/dropwizard/auth/CachingAuthorizer.stats:()Lcom/google/common/cache/CacheStats;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.common.cache.CacheStats to com.github.benmanes.caffeine.cache.stats.CacheStats. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
to the top
Problems with Data Types, Low Severity 2
dropwizard-auth-1.3.29.jar
package io.dropwizard.auth
[+] class AuthValueFactoryProvider.Binder<T> 1
| Change | Effect |
---|
1 |
Superclass has been changed from org.glassfish.hk2.utilities.binding.AbstractBinder to org.glassfish.jersey.internal.inject.AbstractBinder. |
1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause IncompatibleClassChangeError exception. |
[+] affected methods: 2 (2.2%)
AuthValueFactoryProvider.Binder<T>.AuthValueFactoryProvider.Binder<T> ( Class<T> principalClass )This constructor is from 'AuthValueFactoryProvider.Binder<T>' class.
AuthValueFactoryProvider.Binder<T>.configure ( )This method is from 'AuthValueFactoryProvider.Binder<T>' class.
[+] class PolymorphicAuthValueFactoryProvider.Binder<T> 1
| Change | Effect |
---|
1 |
Superclass has been changed from org.glassfish.hk2.utilities.binding.AbstractBinder to org.glassfish.jersey.internal.inject.AbstractBinder. |
1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause IncompatibleClassChangeError exception. |
[+] affected methods: 2 (2.2%)
PolymorphicAuthValueFactoryProvider.Binder<T>.PolymorphicAuthValueFactoryProvider.Binder<T> ( Set<Class<?>> principalClassSet )This constructor is from 'PolymorphicAuthValueFactoryProvider.Binder<T>' class.
PolymorphicAuthValueFactoryProvider.Binder<T>.configure ( )This method is from 'PolymorphicAuthValueFactoryProvider.Binder<T>' class.
to the top
Java Archives 1
dropwizard-auth-1.3.29.jar
to the top