Re: how to access HTTPServletRequest in RealmBase

2017-04-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/1/17 8:17 AM, André Warnier (tomcat) wrote: > Could not a solution be, to provide in the Realm, another > authenticate() signature, with > authenticate(user,credentials,extra_params) with "extra_params" > being some kind of HashMap

Re: how to access HTTPServletRequest in RealmBase

2017-04-01 Thread Konstantin Kolinko
2017-04-01 15:17 GMT+03:00 André Warnier (tomcat) : > > I was also wondering why Konstantin, in his response, mentioned that it was > "by design" that the Realm has no access to the Request. Was that to avoid > some kind of problem, or to match the Specs or something ? >

Re: how to access HTTPServletRequest in RealmBase

2017-04-01 Thread tomcat
On 31.03.2017 19:40, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/30/17 3:41 PM, André Warnier (tomcat) wrote: On 30.03.2017 20:10, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/30/17 4:19 AM,

Re: how to access HTTPServletRequest in RealmBase

2017-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/30/17 3:41 PM, André Warnier (tomcat) wrote: > On 30.03.2017 20:10, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Konstantin, >> >> On 3/30/17 4:19 AM, Konstantin Kolinko wrote: >>> 2017-03-30

Re: how to access HTTPServletRequest in RealmBase

2017-03-30 Thread tomcat
On 30.03.2017 20:10, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/30/17 4:19 AM, Konstantin Kolinko wrote: 2017-03-30 11:02 GMT+03:00 Jan Vávra : Hello, I have written a custom Realm and I need to access to the request headers. The

Re: how to access HTTPServletRequest in RealmBase

2017-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/30/17 4:19 AM, Konstantin Kolinko wrote: > 2017-03-30 11:02 GMT+03:00 Jan Vávra : >> Hello, I have written a custom Realm and I need to access to the >> request headers. The authentication should be computed from >>

Re: how to access HTTPServletRequest in RealmBase

2017-03-30 Thread Konstantin Kolinko
2017-03-30 11:02 GMT+03:00 Jan Vávra : > Hello, > I have written a custom Realm and I need to access to the request headers. > The authentication should be computed from client certificate + id from > custom http header X-IdUser. Can I somehow access to the HTTPServletRequest >

how to access HTTPServletRequest in RealmBase

2017-03-30 Thread Jan Vávra
Hello, I have written a custom Realm and I need to access to the request headers. The authentication should be computed from client certificate + id from custom http header X-IdUser. Can I somehow access to the HTTPServletRequest instance ? Jan.