Source compatibility report for the dropwizard-auth library between 0.9.3 and 1.0.0 versions
Test Info
| Library Name | dropwizard-auth | 
| Version #1 | 0.9.3 | 
| Version #2 | 1.0.0 | 
Test Results
| Total Java Modules | 1 | 
| Total Methods / Classes | 67 / 24 | 
| Compatibility | 
89.1% | 
Problem Summary
 | Severity | Count | 
| Added Methods | - | 12 | 
| Removed Methods | High | 2 | 
Problems with Data Types | High | 2 | 
| Medium | 0 | 
| Low | 0 | 
Problems with Methods | High | 0 | 
| Medium | 2 | 
| Low | 0 | 
Other Changes in Data Types | - | 2 | 
Added Methods  12 
dropwizard-auth-1.0.0.jar, Authenticator.class
package io.dropwizard.auth
Authenticator<C,P>.authenticate ( C p1 ) [abstract]  :  Optional<P>
io/dropwizard/auth/Authenticator.authenticate:(Ljava/lang/Object;)Ljava/util/Optional;
dropwizard-auth-1.0.0.jar, AuthFilter.class
package io.dropwizard.auth
AuthFilter<C,P>.authenticate ( ContainerRequestContext requestContext, C credentials, String scheme )  :  boolean
io/dropwizard/auth/AuthFilter.authenticate:(Ljavax/ws/rs/container/ContainerRequestContext;Ljava/lang/Object;Ljava/lang/String;)Z
dropwizard-auth-1.0.0.jar, Binder.class
package io.dropwizard.auth
PolymorphicAuthValueFactoryProvider.Binder<T>.configure ( )  :  void
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.Binder.configure:()V
PolymorphicAuthValueFactoryProvider.Binder<T>.PolymorphicAuthValueFactoryProvider.Binder<T> ( Set<Class<?>> principalClassSet )
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.Binder."<init>":(Ljava/util/Set;)V
dropwizard-auth-1.0.0.jar, CachingAuthenticator.class
package io.dropwizard.auth
CachingAuthenticator<C,P>.authenticate ( C credentials )  :  Optional<P>
io/dropwizard/auth/CachingAuthenticator.authenticate:(Ljava/lang/Object;)Ljava/util/Optional;
dropwizard-auth-1.0.0.jar, PolymorphicAuthDynamicFeature.class
package io.dropwizard.auth
PolymorphicAuthDynamicFeature<T>.configure ( ResourceInfo resourceInfo, FeatureContext context )  :  void
io/dropwizard/auth/PolymorphicAuthDynamicFeature.configure:(Ljavax/ws/rs/container/ResourceInfo;Ljavax/ws/rs/core/FeatureContext;)V
PolymorphicAuthDynamicFeature<T>.PolymorphicAuthDynamicFeature<T> ( ImmutableMap<Class<?>,ContainerRequestFilter> authFilterMap )
io/dropwizard/auth/PolymorphicAuthDynamicFeature."<init>":(Lcom/google/common/collect/ImmutableMap;)V
dropwizard-auth-1.0.0.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
dropwizard-auth-1.0.0.jar, PrincipalClassSetProvider.class
package io.dropwizard.auth
PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T>.PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T> ( Set<Class<?>> clazzSet )
io/dropwizard/auth/PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider."<init>":(Ljava/util/Set;)V
dropwizard-auth-1.0.0.jar, PrincipalImpl.class
package io.dropwizard.auth
PrincipalImpl.toString ( )  :  String
io/dropwizard/auth/PrincipalImpl.toString:()Ljava/lang/String;
to the top
Removed Methods  2 
dropwizard-auth-0.9.3.jar, Authenticator.class
package io.dropwizard.auth
Authenticator<C,P>.authenticate ( C p1 ) [abstract]  :  Optional<P>
io/dropwizard/auth/Authenticator.authenticate:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
dropwizard-auth-0.9.3.jar, CachingAuthenticator.class
package io.dropwizard.auth
CachingAuthenticator<C,P>.authenticate ( C credentials )  :  Optional<P>
io/dropwizard/auth/CachingAuthenticator.authenticate:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
to the top
Problems with Data Types, High Severity  2 
dropwizard-auth-0.9.3.jar
package io.dropwizard.auth
[+] interface Authenticator<C,P>  2 
 | Change | Effect | 
|---|
| 1 | 
Abstract method Optional<P> authenticate ( C ) has been added to this interface. | 
Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method authenticate ( C ) in Authenticator<C,P>. | 
| 2 | 
Abstract method Optional<P> authenticate ( C ) has been removed from this interface. | 
Recompilation of a client program may be terminated with the message: cannot find method authenticate ( C ) in interface Authenticator<C,P>. | 
[+] affected methods: 4 (6%)
AuthFilter<C,P>.AuthFilter<C,P> ( )Field 'this.authenticator' in the object  of this method is of type 'Authenticator<C,P>'.
AuthFilter.AuthFilterBuilder<C,P,T>.setAuthenticator ( Authenticator<C,P> authenticator )1st parameter 'authenticator'  of this method is of type 'Authenticator<C,P>'.
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, CacheBuilder<Object,Object> builder )2nd parameter 'authenticator'  of this method is of type 'Authenticator<C,P>'.
CachingAuthenticator<C,P>.CachingAuthenticator<C,P> ( MetricRegistry metricRegistry, Authenticator<C,P> authenticator, CacheBuilderSpec cacheSpec )2nd parameter 'authenticator'  of this method is of type 'Authenticator<C,P>'.
  
 
to the top
Problems with Methods, Medium Severity  2 
dropwizard-auth-0.9.3.jar, Authenticator.class
package io.dropwizard.auth
[+] Authenticator<C,P>.authenticate ( C p1 ) [abstract]  :  Optional<P>  1 
io/dropwizard/auth/Authenticator.authenticate:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
 | Change | Effect | 
|---|
| 1 | 
Return value type has been changed from com.google.common.base.Optional<P> to java.util.Optional<P>. | 
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<P> cannot be converted to com.google.common.base.Optional<P>. | 
 
dropwizard-auth-0.9.3.jar, CachingAuthenticator.class
package io.dropwizard.auth
[+] CachingAuthenticator<C,P>.authenticate ( C credentials )  :  Optional<P>  1 
io/dropwizard/auth/CachingAuthenticator.authenticate:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
 | Change | Effect | 
|---|
| 1 | 
Return value type has been changed from com.google.common.base.Optional<P> to java.util.Optional<P>. | 
Recompilation of a client program may be terminated with the message: incompatible types: java.util.Optional<P> cannot be converted to com.google.common.base.Optional<P>. | 
 
to the top
Other Changes in Data Types  2 
dropwizard-auth-0.9.3.jar
package io.dropwizard.auth
[+] class AuthFilter<C,P>  1 
 | Change | Effect | 
|---|
| 1 | 
Field logger has been added to this class. | 
No effect. | 
[+] affected methods: 1 (1.5%)
AuthFilter<C,P>.AuthFilter<C,P> ( )This constructor is from 'AuthFilter<C,P>' abstract class.
  
 
dropwizard-auth-0.9.3.jar
package io.dropwizard.auth.oauth
[+] class OAuthCredentialAuthFilter<P>  1 
 | Change | Effect | 
|---|
| 1 | 
Field OAUTH_ACCESS_TOKEN_PARAM has been added to this class. | 
No effect. | 
[+] affected methods: 2 (3%)
OAuthCredentialAuthFilter.Builder<P>.newInstance ( )Return value  of this method is of type 'OAuthCredentialAuthFilter<P>'.
OAuthCredentialAuthFilter<P>.filter ( ContainerRequestContext requestContext )This method is from 'OAuthCredentialAuthFilter<P>' class.
  
 
to the top
Java Archives  1 
dropwizard-auth-0.9.3.jar
to the top