Source compatibility report for the dropwizard-auth library between 3.0.10 and 4.0.0 versions
Test Info
Library Name | dropwizard-auth |
Version #1 | 3.0.10 |
Version #2 | 4.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 110 / 27 |
Compatibility |
70% |
Problem Summary
| Severity | Count |
Added Methods | - | 20 |
Removed Methods | High | 20 |
Problems with Data Types | High | 8 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 4 |
Low | 0 |
Added Methods 20
dropwizard-auth-4.0.0.jar, AuthDynamicFeature.class
package io.dropwizard.auth
AuthDynamicFeature.AuthDynamicFeature ( ContainerRequestFilter authFilter )
io/dropwizard/auth/AuthDynamicFeature."<init>":(Ljakarta/ws/rs/container/ContainerRequestFilter;)V
AuthDynamicFeature.configure ( FeatureContext context ) : boolean
io/dropwizard/auth/AuthDynamicFeature.configure:(Ljakarta/ws/rs/core/FeatureContext;)Z
AuthDynamicFeature.configure ( ResourceInfo resourceInfo, FeatureContext context ) : void
io/dropwizard/auth/AuthDynamicFeature.configure:(Ljakarta/ws/rs/container/ResourceInfo;Ljakarta/ws/rs/core/FeatureContext;)V
dropwizard-auth-4.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:(Ljakarta/ws/rs/container/ContainerRequestContext;Ljava/lang/Object;Ljava/lang/String;)Z
dropwizard-auth-4.0.0.jar, AuthorizationContext.class
package io.dropwizard.auth
AuthorizationContext<P>.AuthorizationContext<P> ( P principal, String role, ContainerRequestContext requestContext )
io/dropwizard/auth/AuthorizationContext."<init>":(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)V
AuthorizationContext<P>.getRequestContext ( ) : ContainerRequestContext
io/dropwizard/auth/AuthorizationContext.getRequestContext:()Ljakarta/ws/rs/container/ContainerRequestContext;
dropwizard-auth-4.0.0.jar, Authorizer.class
package io.dropwizard.auth
Authorizer<P>.authorize ( P p1, String p2, ContainerRequestContext p3 ) [abstract] : boolean
io/dropwizard/auth/Authorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)Z
Authorizer<P>.getAuthorizationContext ( P principal, String role, ContainerRequestContext requestContext ) : AuthorizationContext<P>
io/dropwizard/auth/Authorizer.getAuthorizationContext:(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)Lio/dropwizard/auth/AuthorizationContext;
dropwizard-auth-4.0.0.jar, BasicCredentialAuthFilter.class
package io.dropwizard.auth.basic
BasicCredentialAuthFilter<P>.filter ( ContainerRequestContext requestContext ) : void
io/dropwizard/auth/basic/BasicCredentialAuthFilter.filter:(Ljakarta/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-4.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;Ljakarta/ws/rs/container/ContainerRequestContext;)Z
CachingAuthorizer<P>.getAuthorizationContext ( P principal, String role, ContainerRequestContext requestContext ) : AuthorizationContext<P>
io/dropwizard/auth/CachingAuthorizer.getAuthorizationContext:(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)Lio/dropwizard/auth/AuthorizationContext;
CachingAuthorizer<P>.invalidate ( P principal, String role, ContainerRequestContext requestContext ) : void
io/dropwizard/auth/CachingAuthorizer.invalidate:(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-4.0.0.jar, ChainedAuthFilter.class
package io.dropwizard.auth.chained
ChainedAuthFilter<C,P>.filter ( ContainerRequestContext containerRequestContext ) : void
io/dropwizard/auth/chained/ChainedAuthFilter.filter:(Ljakarta/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-4.0.0.jar, DefaultUnauthorizedHandler.class
package io.dropwizard.auth
DefaultUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/DefaultUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljakarta/ws/rs/core/Response;
dropwizard-auth-4.0.0.jar, JSONUnauthorizedHandler.class
package io.dropwizard.auth
JSONUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/JSONUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljakarta/ws/rs/core/Response;
dropwizard-auth-4.0.0.jar, OAuthCredentialAuthFilter.class
package io.dropwizard.auth.oauth
OAuthCredentialAuthFilter<P>.filter ( ContainerRequestContext requestContext ) : void
io/dropwizard/auth/oauth/OAuthCredentialAuthFilter.filter:(Ljakarta/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-4.0.0.jar, PermitAllAuthorizer.class
package io.dropwizard.auth
PermitAllAuthorizer<P>.authorize ( P principal, String role, ContainerRequestContext ctx ) : boolean
io/dropwizard/auth/PermitAllAuthorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljakarta/ws/rs/container/ContainerRequestContext;)Z
dropwizard-auth-4.0.0.jar, PolymorphicAuthDynamicFeature.class
package io.dropwizard.auth
PolymorphicAuthDynamicFeature<T>.configure ( FeatureContext context ) : boolean
io/dropwizard/auth/PolymorphicAuthDynamicFeature.configure:(Ljakarta/ws/rs/core/FeatureContext;)Z
PolymorphicAuthDynamicFeature<T>.configure ( ResourceInfo resourceInfo, FeatureContext context ) : void
io/dropwizard/auth/PolymorphicAuthDynamicFeature.configure:(Ljakarta/ws/rs/container/ResourceInfo;Ljakarta/ws/rs/core/FeatureContext;)V
dropwizard-auth-4.0.0.jar, UnauthorizedHandler.class
package io.dropwizard.auth
UnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/UnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljakarta/ws/rs/core/Response;
to the top
Removed Methods 20
dropwizard-auth-3.0.10.jar, AuthDynamicFeature.class
package io.dropwizard.auth
AuthDynamicFeature.AuthDynamicFeature ( ContainerRequestFilter authFilter )
io/dropwizard/auth/AuthDynamicFeature."<init>":(Ljavax/ws/rs/container/ContainerRequestFilter;)V
AuthDynamicFeature.configure ( FeatureContext context ) : boolean
io/dropwizard/auth/AuthDynamicFeature.configure:(Ljavax/ws/rs/core/FeatureContext;)Z
AuthDynamicFeature.configure ( ResourceInfo resourceInfo, FeatureContext context ) : void
io/dropwizard/auth/AuthDynamicFeature.configure:(Ljavax/ws/rs/container/ResourceInfo;Ljavax/ws/rs/core/FeatureContext;)V
dropwizard-auth-3.0.10.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-3.0.10.jar, AuthorizationContext.class
package io.dropwizard.auth
AuthorizationContext<P>.AuthorizationContext<P> ( P principal, String role, ContainerRequestContext requestContext )
io/dropwizard/auth/AuthorizationContext."<init>":(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)V
AuthorizationContext<P>.getRequestContext ( ) : ContainerRequestContext
io/dropwizard/auth/AuthorizationContext.getRequestContext:()Ljavax/ws/rs/container/ContainerRequestContext;
dropwizard-auth-3.0.10.jar, Authorizer.class
package io.dropwizard.auth
Authorizer<P>.authorize ( P p1, String p2, ContainerRequestContext p3 ) [abstract] : boolean
io/dropwizard/auth/Authorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Z
Authorizer<P>.getAuthorizationContext ( P principal, String role, ContainerRequestContext requestContext ) : AuthorizationContext<P>
io/dropwizard/auth/Authorizer.getAuthorizationContext:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Lio/dropwizard/auth/AuthorizationContext;
dropwizard-auth-3.0.10.jar, BasicCredentialAuthFilter.class
package io.dropwizard.auth.basic
BasicCredentialAuthFilter<P>.filter ( ContainerRequestContext requestContext ) : void
io/dropwizard/auth/basic/BasicCredentialAuthFilter.filter:(Ljavax/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-3.0.10.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>.getAuthorizationContext ( P principal, String role, ContainerRequestContext requestContext ) : AuthorizationContext<P>
io/dropwizard/auth/CachingAuthorizer.getAuthorizationContext:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Lio/dropwizard/auth/AuthorizationContext;
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
dropwizard-auth-3.0.10.jar, ChainedAuthFilter.class
package io.dropwizard.auth.chained
ChainedAuthFilter<C,P>.filter ( ContainerRequestContext containerRequestContext ) : void
io/dropwizard/auth/chained/ChainedAuthFilter.filter:(Ljavax/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-3.0.10.jar, DefaultUnauthorizedHandler.class
package io.dropwizard.auth
DefaultUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/DefaultUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
dropwizard-auth-3.0.10.jar, JSONUnauthorizedHandler.class
package io.dropwizard.auth
JSONUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/JSONUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
dropwizard-auth-3.0.10.jar, OAuthCredentialAuthFilter.class
package io.dropwizard.auth.oauth
OAuthCredentialAuthFilter<P>.filter ( ContainerRequestContext requestContext ) : void
io/dropwizard/auth/oauth/OAuthCredentialAuthFilter.filter:(Ljavax/ws/rs/container/ContainerRequestContext;)V
dropwizard-auth-3.0.10.jar, PermitAllAuthorizer.class
package io.dropwizard.auth
PermitAllAuthorizer<P>.authorize ( P principal, String role, ContainerRequestContext ctx ) : boolean
io/dropwizard/auth/PermitAllAuthorizer.authorize:(Ljava/security/Principal;Ljava/lang/String;Ljavax/ws/rs/container/ContainerRequestContext;)Z
dropwizard-auth-3.0.10.jar, PolymorphicAuthDynamicFeature.class
package io.dropwizard.auth
PolymorphicAuthDynamicFeature<T>.configure ( FeatureContext context ) : boolean
io/dropwizard/auth/PolymorphicAuthDynamicFeature.configure:(Ljavax/ws/rs/core/FeatureContext;)Z
PolymorphicAuthDynamicFeature<T>.configure ( ResourceInfo resourceInfo, FeatureContext context ) : void
io/dropwizard/auth/PolymorphicAuthDynamicFeature.configure:(Ljavax/ws/rs/container/ResourceInfo;Ljavax/ws/rs/core/FeatureContext;)V
dropwizard-auth-3.0.10.jar, UnauthorizedHandler.class
package io.dropwizard.auth
UnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response
io/dropwizard/auth/UnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
to the top
Problems with Data Types, High Severity 8
dropwizard-auth-3.0.10.jar
package io.dropwizard.auth
[+] class AuthDynamicFeature 2
| Change | Effect |
---|
1 |
Removed super-interface javax.ws.rs.container.DynamicFeature. |
Recompilation of a client program may be terminated with the message: cannot find method in class AuthDynamicFeature. |
2 |
Removed super-interface javax.ws.rs.core.Feature. |
Recompilation of a client program may be terminated with the message: cannot find method in class AuthDynamicFeature. |
[+] affected methods: 1 (0.9%)
AuthDynamicFeature.AuthDynamicFeature ( Class<?> authFilterClass )This constructor is from 'AuthDynamicFeature' class.
[+] class AuthFilter<C,P> 2
| Change | Effect |
---|
1 |
Added super-interface jakarta.ws.rs.container.ContainerRequestFilter. |
Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in jakarta.ws.rs.container.ContainerRequestFilter. |
2 |
Removed super-interface javax.ws.rs.container.ContainerRequestFilter. |
Recompilation of a client program may be terminated with the message: cannot find method in class AuthFilter<C,P>. |
[+] affected methods: 1 (0.9%)
AuthFilter<C,P>.AuthFilter<C,P> ( )This constructor is from 'AuthFilter<C,P>' abstract class.
[+] class PolymorphicAuthDynamicFeature<T> 2
| Change | Effect |
---|
1 |
Removed super-interface javax.ws.rs.container.DynamicFeature. |
Recompilation of a client program may be terminated with the message: cannot find method in class PolymorphicAuthDynamicFeature<T>. |
2 |
Removed super-interface javax.ws.rs.core.Feature. |
Recompilation of a client program may be terminated with the message: cannot find method in class PolymorphicAuthDynamicFeature<T>. |
[+] affected methods: 1 (0.9%)
PolymorphicAuthDynamicFeature<T>.PolymorphicAuthDynamicFeature<T> ( Map<Class<?>,ContainerRequestFilter> authFilterMap )This constructor is from 'PolymorphicAuthDynamicFeature<T>' class.
[+] interface Authorizer<P> 2
| Change | Effect |
---|
1 |
Abstract method boolean authorize ( P, String, ContainerRequestContext ) 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 authorize ( P, String, ContainerRequestContext ) in Authorizer<P>. |
2 |
Abstract method boolean authorize ( P, String, ContainerRequestContext ) has been removed from this interface. |
Recompilation of a client program may be terminated with the message: cannot find method authorize ( P, String, ContainerRequestContext ) in interface Authorizer<P>. |
[+] affected methods: 5 (4.5%)
AuthFilter<C,P>.AuthFilter<C,P> ( )Field 'this.authorizer' in the object of this method is of type 'Authorizer<P>'.
AuthFilter.AuthFilterBuilder<C,P,T>.setAuthorizer ( Authorizer<P> authorizer )1st parameter 'authorizer' of this method is of type 'Authorizer<P>'.
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, Caffeine<Object,Object> builder )2nd parameter 'authorizer' of this method is of type 'Authorizer<P>'.
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, Caffeine<Object,Object> builder, Supplier<StatsCounter> supplier )2nd parameter 'authorizer' of this method is of type 'Authorizer<P>'.
CachingAuthorizer<P>.CachingAuthorizer<P> ( MetricRegistry metricRegistry, Authorizer<P> authorizer, CaffeineSpec cacheSpec )2nd parameter 'authorizer' of this method is of type 'Authorizer<P>'.
to the top
Problems with Methods, Medium Severity 4
dropwizard-auth-3.0.10.jar, AuthorizationContext.class
package io.dropwizard.auth
[+] AuthorizationContext<P>.getRequestContext ( ) : ContainerRequestContext 1
io/dropwizard/auth/AuthorizationContext.getRequestContext:()Ljavax/ws/rs/container/ContainerRequestContext;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.ws.rs.container.ContainerRequestContext to jakarta.ws.rs.container.ContainerRequestContext. |
Recompilation of a client program may be terminated with the message: incompatible types: jakarta.ws.rs.container.ContainerRequestContext cannot be converted to javax.ws.rs.container.ContainerRequestContext. |
dropwizard-auth-3.0.10.jar, DefaultUnauthorizedHandler.class
package io.dropwizard.auth
[+] DefaultUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response 1
io/dropwizard/auth/DefaultUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.ws.rs.core.Response to jakarta.ws.rs.core.Response. |
Recompilation of a client program may be terminated with the message: incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response. |
dropwizard-auth-3.0.10.jar, JSONUnauthorizedHandler.class
package io.dropwizard.auth
[+] JSONUnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response 1
io/dropwizard/auth/JSONUnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.ws.rs.core.Response to jakarta.ws.rs.core.Response. |
Recompilation of a client program may be terminated with the message: incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response. |
dropwizard-auth-3.0.10.jar, UnauthorizedHandler.class
package io.dropwizard.auth
[+] UnauthorizedHandler.buildResponse ( String prefix, String realm ) : Response 1
io/dropwizard/auth/UnauthorizedHandler.buildResponse:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Response;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.ws.rs.core.Response to jakarta.ws.rs.core.Response. |
Recompilation of a client program may be terminated with the message: incompatible types: jakarta.ws.rs.core.Response cannot be converted to javax.ws.rs.core.Response. |
to the top
Java Archives 1
dropwizard-auth-3.0.10.jar
to the top