tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TBLDM" <tb...@ig.com.br>
Subject Custom Authenticator
Date Thu, 20 Jan 2005 02:58:06 GMT
I created my own Authenticator . 
Deployed at <tomcat_home> \server\classes..
extract the Authenticators.properties include my Authenticator:
-- Authenticators.properties
------------------------------------------------------------------------
-------------------------------------------------
BASIC=org.apache.catalina.authenticator.BasicAuthenticator
CLIENT-CERT=org.apache.catalina.authenticator.SSLAuthenticator
DIGEST=org.apache.catalina.authenticator.DigestAuthenticator
FORM=org.apache.catalina.authenticator.FormAuthenticator
NONE=org.apache.catalina.authenticator.NonLoginAuthenticator
NTAUTHENTICATOR=br.com.atlantico.technical.security.access.valve.NTAuthe
nticator
------------------------------------------------------------------------
------------------------------------------------------------------------
----------------
                                                     
 but the follow error appeared:    
 
19/01/2005 23:40:47 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
ServerLifecycleListener: Exception processing event
ContainerEvent['StandardEngi
ne[Standalone].StandardHost[localhost].StandardContext[/examples]','addV
alve','br.com.security.access.valve.NTAuthenticator@e61a35']
javax.management.MBeanException: nested exception is
java.lang.Exception: ManagedBean is not found with NTAuthenticator
java.lang.Exception: ManagedBean is not found with NTAuthenticator
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:810)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddVa
lve(ServerLifecycleListener.java:1400)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(Server
LifecycleListener.java:192)
        at
org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.
java:1404)
        at
org.apache.catalina.core.ContainerBase.addValve(ContainerBase.java:1293)
        at
org.apache.catalina.startup.ContextConfig.authenticatorConfig(ContextCon
fig.java:383)
        at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:660)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:243)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3587
)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
19/01/2005 23:40:52 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
19/01/2005 23:40:52 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
19/01/2005 23:40:54 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='eGenResources', returnNull=true
19/01/2005 23:40:54 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ApplicationResources', returnNull=true
19/01/2005 23:40:54 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ErrorResources', returnNull=true
19/01/2005 23:40:54 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ApplicationResources', returnNull=true
19/01/2005 23:40:55 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
19/01/2005 23:40:55 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
19/01/2005 23:40:55 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=15/157  config=D:\Tomcat
4.1.30\bin\..\conf\jk2.properties
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message