eborisow wrote:
Gabe Wong wrote:
Since the hasRole is being called, can you not do a super.hasRole
against the stripped user name of the Principal.
If so won't that suffice?
Gabe,
Yeah, I was thinking that. The hasRole though takes two parameters... a
Principal and the role nam
Gabe Wong wrote:
>
>
> Since the hasRole is being called, can you not do a super.hasRole
> against the stripped user name of the Principal.
> If so won't that suffice?
>
>
Gabe,
Yeah, I was thinking that. The hasRole though takes two parameters... a
Principal and the role name. I could
eborisow wrote:
Gabe Wong wrote:
I guess I misunderstood your objective. You are not interested in
manipulating the user name.
You just want to check if the stripped user name is in a specific role?
Gabe,
Yeah, I guess that sums it up better than my original post. I thought that
may
Gabe Wong wrote:
>
> I guess I misunderstood your objective. You are not interested in
> manipulating the user name.
> You just want to check if the stripped user name is in a specific role?
>
Gabe,
Yeah, I guess that sums it up better than my original post. I thought that
maybe if I could j
eborisow wrote:
mgainty wrote:
NAMES: You cannot change to any names unknown to your (NTLM)
authentication
algorithm
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalin
a/realm/RealmBase.html#authenticate(java.lang.String,%20java.lang.String)
Martin
Martin,
mgainty wrote:
>
> NAMES: You cannot change to any names unknown to your (NTLM)
> authentication
> algorithm
> http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalin
> a/realm/RealmBase.html#authenticate(java.lang.String,%20java.lang.String)
>
> Martin
>
>
Martin,
Than
/tomcat-5.5-doc/catalina/docs/api/org/apache/catalin
a/realm/RealmBase.html#authenticate(java.lang.String,%20java.lang.String)
Martin
- Original Message -
From: "eborisow" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 22, 2008 8:43 PM
Subject: Re: Question about Tom
Gabe Wong wrote:
>
> I believe as the user is already authenticated via IIS, the authenticate
> method is not called in this situation.
> So you may try overriding:
> protected Principal getPrincipal(String username)
>
Gabe,
Thanks for sticking with this. I did try getPrincipal as well and i
eborisow wrote:
Gabe Wong wrote:
Could be how logging output is setup. The constructor may be created
before output gets redirected elsewhere.
Look in the other log files under the logs directory. Also is the realm
configured in server.xml or context.xml?
Gabe,
Here's the thing. I
Gabe Wong wrote:
>
> Could be how logging output is setup. The constructor may be created
> before output gets redirected elsewhere.
> Look in the other log files under the logs directory. Also is the realm
> configured in server.xml or context.xml?
>
>
Gabe,
Here's the thing. I also added
eborisow wrote:
Gabe Wong wrote:
Check the syntax as it was just done on the fly.
Here's the latest. I created a class that extends JNDIRealm and I can see
some debug messages in my constructor, but I don't see my authenticate
method getting invoked. I just wanted to see if I could
Gabe Wong wrote:
>
>
> Check the syntax as it was just done on the fly.
>
>
Here's the latest. I created a class that extends JNDIRealm and I can see
some debug messages in my constructor, but I don't see my authenticate
method getting invoked. I just wanted to see if I could override the
a
Mark Thomas wrote:
eborisow wrote:
If someone has been able to get this working and could provide some
help,
that would be great.
Haven't tried it but you should be able to create a custom Realm by
extending the existing JNDIRealm and manipulating the user name,
probably by overriding the a
markt-2 wrote:
>
>
> Haven't tried it but you should be able to create a custom Realm by
> extending the existing JNDIRealm and manipulating the user name, probably
> by overriding the authenticate() methods.
>
>
Ok, thanks Mark... that gives me a place to start.
--
View this message in co
eborisow wrote:
If someone has been able to get this working and could provide some help,
that would be great.
Haven't tried it but you should be able to create a custom Realm by
extending the existing JNDIRealm and manipulating the user name, probably
by overriding the authenticate() methods
15 matches
Mail list logo