Questions tagged [jaspic]

JASPIC is an SPI for creating portable server authentication modules (aka SAMs or login modules). It was introduced with Java EE 6, but only for the full profile.

50 questions
0
votes
1 answer

javax.ejb.EJBAccessException Invalid User after log in with CustomAuthMechanism but I have permissions to page.xhtml

Environment: Jboss 7.2 Java 11 I try to call a method CompanyService.findFirst() with @RolesAllowed after I logged in through CustomAuthenticationMechanism but seems the EJBContainer does not know about my permissions. I loaded the page…
Joe
  • 7,749
  • 19
  • 60
  • 110
0
votes
2 answers

Thorntail MP JWT / Undertow: required authentication

I'm trying to set up a JAX-RS-service in thorntail with JWT authentication. Everything works fine (I can inject Principal and user is correctly set), except that in case of a failed authentication, answer is still sent without any 401-HTTP-Header.…
Ben
  • 447
  • 4
  • 13
0
votes
1 answer

CDI injection in JASPIC ServerAuthModule doesn't work

Using Wildfly 11 Final on Java 10. I have JASPIC implementation that by itself works as it should. I need to hook it to a DB so i can do authentication in public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject…
hrs
  • 379
  • 4
  • 12
0
votes
1 answer

Do Authentication and Authorization frameworks for Java that support openId exist (except Spring security)?

Actually I am interested in Java AA framework that supports many types of A&A. I found that exist JAAS, but did not find any information about OpenId support. Maybe there exists a module to use it? Spring Security supports OpenId but I just want to…
MercurieVV
  • 404
  • 6
  • 14
-1
votes
1 answer

How to create a session scoped bean?

I would like to know how to crete a user session object that can be used across all user requests. The user can select profiles after login, so I need to update that session object with this profile data. How is it done? How do I initialize a…
Phill
  • 1
1 2 3
4