tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Help with SPNEGO Pass-Through
Date Fri, 11 May 2018 16:40:21 GMT
On 04/05/18 12:50, Randy Oun wrote:
> As an update, the override code worked.  Thanks for the guidance.
> 
> Here is the code we packaged in a jar and place in the server lib:
> 
> package company.catalina.realm;
> 
> import java.security.Principal;
> import org.apache.catalina.realm.GenericPrincipal;
> import org.apache.catalina.realm.NullRealm;
> 
> public class NoAuthRealm extends NullRealm {
>    @Override
>    protected Principal getPrincipal(String username) {
>        return new GenericPrincipal(username, null, null);
>    }
> }
> 
> It would be good for this information to be updated on the Tomcat Windows Authentication
How-To docs to help others along.
> 
> I also think a Tomcat patch/feature to implement a new Realm for SPNEGO/CLIENT-CERT is
a good idea.  +1

AuthenticatedUserRealm

Available in 9.0.9 onwards.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message