Posts by Leonardo Leite • 135 points
11 posts
-
1
votes2
answers476
viewsA: Transactional control in the context of exception handling using Demoiselle
In short, the way I solved was to stop using the @Transactional annotation and transactional control through the Usertransaction interface. In terms of code, the result was something equivalent to:…
demoiselleanswered Leonardo Leite 135 -
0
votes2
answers476
viewsQ: Transactional control in the context of exception handling using Demoiselle
Hello, I have questions about transactional control via Demoiselle (@Transactional) in the context of handling exceptions with the Exceptionhandlerinterceptor of Demoiselle. I have the following web…
demoiselleasked Leonardo Leite 135 -
1
votes1
answer129
viewsQ: Conflict between Jboss BOM and Demoiselle Parent pom (?)
Hello, My Demoiselle application declares the following to be a Demoiselle application: <properties> <demoiselle.framework.version>2.5.0-RC1</demoiselle.framework.version>…
demoiselleasked Leonardo Leite 135 -
1
votes1
answer119
viewsA: @Requiredrole with Basecertloginmodule
Opa, the main thing that was missing was to activate the Interceptor RequiredRoleInterceptor in the beans.xml. Besides, I extended the class ServletAuthorizer Demoiselle to implement the method…
-
3
votes1
answer119
viewsQ: @Requiredrole with Basecertloginmodule
My system authenticates the client (it’s a web service) through the BaseCertLoginModule, a class of Jboss based on the Jaas specification. In fact my project extends this class, and this extension…
-
0
votes1
answer1430
viewsA: Demoiseller Signer - Loading a private key from a token
Last steps to solve the problem: 1) leave the same version (no pom) between the components Demoiselle-Certificate-Signer, Demoiselle-Certificate-ca-icpbrasil and…
-
0
votes1
answer1430
viewsQ: Demoiseller Signer - Loading a private key from a token
In the documentation of Demoiselle Signer we have the following example to load the private key of a token: KeyStoreLoader keyStoreLoader = KeyStoreLoaderFactory.factoryKeyStoreLoader(); KeyStore…
-
1
votes1
answer1270
viewsQ: Demoiselle Signer and Serpro Digital Signer
I am trying to use the Demoiselle Signer to verify the signature of a document made with the Digital Signer of Serpro Documents (https://www5.serpro.gov.br/assinador-digital). The code is very…
-
4
votes1
answer575
viewsQ: Use of @Transactional Demoiselle
I’m having trouble using the note @Transactional Demoiselle. When I was managing the transaction "in hand" with a EntityManager injected, everything was fine. But now using the @Transactional, the…
-
2
votes2
answers239
viewsA: How to use version 2.4.2 of Demoiselle?
Oops, problem solved itself. I’m not sure what took, but some things I did: Add the repository <repository> <id>component.internal</id> <name>SERPRO Component Maven…
demoiselleanswered Leonardo Leite 135 -
0
votes2
answers239
viewsQ: How to use version 2.4.2 of Demoiselle?
I’m trying to use Demoiselle 2.4.2. So I declared my pom Parent: <parent> <groupId>br.gov.frameworkdemoiselle</groupId>…
demoiselleasked Leonardo Leite 135