Re: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Daniel Kulp
On Wednesday, August 01, 2012 01:12:31 PM Josef Bajada wrote: > Nice! > > Sergey, is it maybe possible to have getToken() (line 130 I think) split > into 2 methods, with the second one taking the GSSCredential as a > parameter and being protected rather than private? So the second > getToken() wou

RE: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Josef Bajada
nd has to > be secured together with the environment its running on using the normal > security measures to protect any server carrying sensitive corporate data. > > Best regards, > > Josef > > > -----Original Message- > From: Christian Schneider [mailto:cschneider

Re: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Sergey Beryozkin
Christian Schneider Sent: 19 July 2012 21:54 To: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket That sounds very interesting as it is a quite simple solution. It might have some securtiy implications though. Still it might be interesting to describe this

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-20 Thread Sergey Beryozkin
s email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. -Original Message- From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of Christian Schneider Sent: 19 July 2012 17:49 To: users@cxf.apac

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Josef Bajada
l.com] On Behalf Of Christian Schneider Sent: 19 July 2012 21:54 To: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket That sounds very interesting as it is a quite simple solution. It might have some securtiy implications though. Still it mig

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Christian Schneider
ny cannot accept responsibility for any loss or damage arising from the use of this email or attachments. -Original Message- From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of Christian Schneider Sent: 19 July 2012 17:49 To: users@cxf.apache.org Subject: Re:

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Josef Bajada
accept responsibility for any loss or damage arising from the use of this email or attachments. -Original Message- From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of Christian Schneider Sent: 19 July 2012 17:49 To: users@cxf.apache.org Subject: Re: Kerberos

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Christian Schneider
I think an interceptor like you proposed might be the best solution long term as it allows to keep the auth stuff out of the business code. Christian Am 19.07.2012 17:31, schrieb Sergey Beryozkin: Hi Christian On 19/07/12 06:53, Christian Schneider wrote: I don´t think a static gssCredential

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Sergey Beryozkin
Hi Christian On 19/07/12 06:53, Christian Schneider wrote: I don´t think a static gssCredential in the spring config can help. The credentials may be different on each call. I thought Spring would be able to offer some per-request wrapper :-) Instead I think we need to set the property on the

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-19 Thread Christian Schneider
I don´t think a static gssCredential in the spring config can help. The credentials may be different on each call. Instead I think we need to set the property on the client just before the call. This is how it would look in the wsdl_first example: org.apache.cxf.endpoint.Client client

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Sergey Beryozkin
12 14:33 To: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket On 18/07/12 13:05, Sergey Beryozkin wrote: Hi Christian, All On 18/07/12 10:06, Christian Schneider wrote: Hi Sergey and Josef, in Kerberos there are two kinds of tickets. The Ticket Granting Tic

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Josef Bajada
? Cheers, Josef -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 18:17 To: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket By the way, SpnegoAuthSupplier now checks for GSSCredential on the CXF

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Sergey Beryozkin
d client. However this filter would be of interest only if CXF also acted as a receiver of the original request Cheers, Sergey Josef -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 14:33 To: users@cxf.apache.org Subject: Re: Kerberos a

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Sergey Beryozkin
utbound client. However this filter would be of interest only if CXF also acted as a receiver of the original request Cheers, Sergey Josef -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 14:33 To: users@cxf.apache.org Subject: Re: Kerberos a

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Josef Bajada
org Subject: Re: Kerberos authentication using delegation from Principal Ticket On 18/07/12 13:05, Sergey Beryozkin wrote: > Hi Christian, All > On 18/07/12 10:06, Christian Schneider wrote: >> Hi Sergey and Josef, >> >> in Kerberos there are two kinds of tickets. The Ticket Granting

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Sergey Beryozkin
On 18/07/12 13:05, Sergey Beryozkin wrote: Hi Christian, All On 18/07/12 10:06, Christian Schneider wrote: Hi Sergey and Josef, in Kerberos there are two kinds of tickets. The Ticket Granting Ticket (TGT) together with a session key is the one issued for the user after he authenticates on his m

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Sergey Beryozkin
Hi Christian, All On 18/07/12 10:06, Christian Schneider wrote: Hi Sergey and Josef, in Kerberos there are two kinds of tickets. The Ticket Granting Ticket (TGT) together with a session key is the one issued for the user after he authenticates on his machine. This ticket then allows to get a Ser

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-18 Thread Christian Schneider
Hi Sergey and Josef, in Kerberos there are two kinds of tickets. The Ticket Granting Ticket (TGT) together with a session key is the one issued for the user after he authenticates on his machine. This ticket then allows to get a Service Ticket (ST) for a certain server. This service ticket is

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Sergey Beryozkin
it at the base CXF level Cheers, Sergey Thanks a lot, Josef -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 00:49 To: Josef Bajada Cc: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket Hi On

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Josef Bajada
Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 00:49 To: Josef Bajada Cc: users@cxf.apache.org Subject: Re: Kerberos authentication using delegation from Principal Ticket Hi On 17/07/12 23:41, Josef Bajada wrote: > Hi Sergey, > > I was thinking along y

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Sergey Beryozkin
Josef -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 00:34 To: users@cxf.apache.org Cc: Josef Bajada Subject: Re: Kerberos authentication using delegation from Principal Ticket Hi Josef, Oli On 17/07/12 19:56, Josef Bajada wrote: Hi, I have a situ

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Josef Bajada
rgey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 18 July 2012 00:34 To: users@cxf.apache.org Cc: Josef Bajada Subject: Re: Kerberos authentication using delegation from Principal Ticket Hi Josef, Oli On 17/07/12 19:56, Josef Bajada wrote: > Hi, > > I have a situation where Single Sign On using Kerb

Re: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Sergey Beryozkin
Hi Josef, Oli On 17/07/12 19:56, Josef Bajada wrote: Hi, I have a situation where Single Sign On using Kerberos (with Microsoft AD) is being used (Tomcat 7, SPNEGO, JNDIRealm). All works fine and the user authenticates automatically with Tomcat and the Principal for that user is obtained whi

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Josef Bajada
egards, Josef -Original Message- From: Oliver Wulff [mailto:owu...@talend.com] Sent: 17 July 2012 23:04 To: users@cxf.apache.org Subject: RE: Kerberos authentication using delegation from Principal Ticket >>> - Will the authentication handshake be the same from a browser point o

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Oliver Wulff
this was out of my control. Thanks Oli -- Oliver Wulff Blog: http://owulff.blogspot.com Solution Architect http://coders.talend.com Talend Application Integration Division http://www.talend.com ________ From: Josef Bajada [josef.baj...@go.com.mt] Sent: 17 July 2012 22:44 To

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Josef Bajada
a way to use STS to get a new Ticket for the container-provided Principal, but for the remote web-service? Thanks and regards, Josef -Original Message- From: Oliver Wulff [mailto:owu...@talend.com] Sent: 17 July 2012 22:04 To: users@cxf.apache.org Subject: RE: Kerberos authentication

RE: Kerberos authentication using delegation from Principal Ticket

2012-07-17 Thread Oliver Wulff
Hi Josef I make quite a lof of experience with kerberos and the "delegate" mechanism of it which turned out to be very tricky. Kerberos works fine within Microsoft as administration is very easy. All resources (client, servers) are managed by an AD domain/kerberos realm but it's much more diffi