Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
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
- breaks
-
DELTASPIKE-742 validateBindings fails with owb for secured-stereotypes with values
- Closed
- duplicates
-
DELTASPIKE-291 @SecurityBindings don't respect parameter types of @SecureParameterBinding parameters when determining the authorization method
- Closed