Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.3-incubating
-
None
Description
The following beans lead to the following exception: org.apache.deltaspike.security.api.authorization.SecurityDefinitionException: Ambiguous authorizers found for security binding type
@ApplicationScoped
public class SecuredBean
{
@CustomSecurityBinding
public boolean getBlockedResult(@MockParamBinding MockObject mockObject)
public boolean getResult(MockObject mockObject)
{ return mockObject.isValue(); }
}
@ApplicationScoped
public class CustomAuthorizer
{
@Secures
@CustomSecurityBinding
public boolean doSecuredCheck(@MockParamBinding MockObject obj, InvocationContext invocationContext)
throws Exception
@Secures
@CustomSecurityBinding
public boolean doSecuredCheck(@MockParamBinding MockObject2 obj)
}
Attachments
Issue Links
- is duplicated by
-
DELTASPIKE-292 @SecurityBindings don't respect parameter types of @SecureParameterBinding parameters when determining the authorization method
- Closed