Re: Propagation of Subject with JAAS and SecurityManager enabled

2017-03-08 Thread kommersz
Well, if there are no hints, here is my view. I checked the code for locations where org.apache.catalina.Globals.SUBJECT_ATTR (or the String "javax.security.auth.subject") is used. There are seemingly two locations: - org.apache.catalina.connector.Request.setUserPrincipal(...) - org.apache.catal

Propagation of Subject with JAAS and SecurityManager enabled

2017-02-24 Thread kommersz
Hi, I am playing around with the following things: - X.509 authentication - Security Manager enabled - Custom JAAS login module via JAASRealm My custom JAAS login module properly propagates a javax.security.auth.Subject instance at commit() back. My aim is to use this javax.security.auth.Subjec

Re: Propagation of Subject with JAAS and SecurityManager enabled

2017-02-22 Thread kommersz
ap options) {log.debug("Init");// Save configuration values this.subject = subject; did you verify you are passing valid subject to initialize method of JAASMemoryLoginModule > ? >Martin >__ From: kommersz > >Sent: We

Propagation of Subject with JAAS and SecurityManager enabled

2017-02-22 Thread kommersz
(noticed that my previous post on the same was somewhat garbled - reposting reformatted) Hi, I am playing around with the following things: - X.509 authentication- Security Manager enabled- Custom JAAS login module via JAASRealm My custom JAAS login module properly propagates a javax.security.a

Propagation of Subject with JAAS and SecurityManager enabled

2017-02-20 Thread kommersz
Hi, I am playing around with the following things:- X.509 authentication- Security Manager enabled- Custom JAAS login module via JAASRealm My custom JAAS login module properly propagates a javax.security.auth.Subject instance at commit() back. My aim is to use this javax.security.auth.Subject as