deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Pestano <rmpest...@gmail.com>
Subject Re: Security module question
Date Thu, 09 Apr 2015 18:09:26 GMT
just FY, when I return false in the doSecurityCheck() my application hangs
and the exception below is thrown:

at
org.apache.deltaspike.jsf.impl.exception.control.BridgeExceptionHandlerWrapper.processAccessDeniedException(BridgeExceptionHandlerWrapper.java:162)
[deltaspike-jsf-module-impl-1.3.0.jar:1.3.0]
at
org.apache.deltaspike.jsf.impl.exception.control.BridgeExceptionHandlerWrapper.handle(BridgeExceptionHandlerWrapper.java:84)
[deltaspike-jsf-module-impl-1.3.0.jar:1.3.0]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
[jsf-impl-2.1.28.redhat-3.jar:2.1.28.redhat-3]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
[jsf-impl-2.1.28.redhat-3.jar:2.1.28.redhat-



2015-04-09 15:06 GMT-03:00 Rafael Pestano <rmpestano@gmail.com>:

> Hi everyone, a simple question (i hope not a stupid one ;))
>
> reading the security module docs[1] I couldn't get the purpose of the
> *boolean* return in  CustomAuthorizer#doSecuredCheck
>
> It is for third party integration or I need to use it elsewhere?
>
> For now i'm not using itm when user does not have access to a method I
> just throw an exeption (is it the correct way?).
>
> [1]
> http://deltaspike.apache.org/documentation/security.html#_securitybinding_for_class_and_method_invocations
> --
> <http://www.advancedit.com.br/>Att,
>
> Rafael M. Pestano
>
> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
> http://rpestano.wordpress.com/
> @realpestano <https://twitter.com/realpestano>
>



-- 
<http://www.advancedit.com.br/>Att,

Rafael M. Pestano

Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
http://rpestano.wordpress.com/
@realpestano <https://twitter.com/realpestano>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message