Skip to content

Commit

Permalink
[JBWS-4429]:minor change to improve the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma committed Oct 14, 2024
1 parent af019c1 commit d76a13f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ protected void checkAuthorization(MessageContext ctx)
{
SecurityContext secCtx = message.get(SecurityContext.class);
BindingOperationInfo bop = exchange.getBindingOperationInfo();
MethodDispatcher md = (MethodDispatcher) exchange.getService().get(MethodDispatcher.class.getName());
if (bop == null)
{
throw MESSAGES.missingBindingOperationForAuthorization();
}
MethodDispatcher md = (MethodDispatcher) exchange.getService().get(MethodDispatcher.class.getName());
Method method = md.getMethod(bop);

EJBMethodSecurityAttribute attributes = attributeProvider.getSecurityAttributes(method);
Expand Down

0 comments on commit d76a13f

Please sign in to comment.