I am getting "access denied" when trying to log in to the admin console
revision: 20855
at v3: mvn clean ; mvn -U install
at admingui: mvn clean ; mvn -U install
./asadmin deploy
/home/claudio/alphaworks/projects/gf-workspace/v3/admingui/war/target/admingui.war
deployed successfully
20/05/2008 00:16:31 com.sun.enterprise.web.WebModuleContextConfig
authenticatorConfig
SEVERE: webModuleContextConfig.missingRealm
20/05/2008 00:16:31
com.sun.enterprise.security.provider.PolicyConfigurationImpl
generatePermissions
WARNING: No Principals mapped to Role [admin].
20/05/2008 00:16:31
com.sun.enterprise.security.provider.PolicyConfigurationImpl
generatePermissions
WARNING: No Principals mapped to Role [noaccess].
20/05/2008 00:16:31
com.sun.enterprise.web.PersistenceStrategyBuilderFactory
createPersistenceStrategyBuilder
WARNING: webcontainer.invalidSessionManagerConfig
20/05/2008 00:16:32 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/admingui'
20/05/2008 00:16:34 com.sun.enterprise.web.WebApplication start
INFO: Loading application admingui at /admingui
20/05/2008 00:16:34 com.sun.enterprise.v3.deployment.DeployCommand execute
INFO: Deployment of admingui done is 4990 ms
20/05/2008 00:16:34
INFO: AMXConfigLoader.sortAndDispatch: 14 events
20/05/2008 00:16:34
INFO: AMXConfigLoader.sortAndDispatch: process new ConfigBean:
com.sun.enterprise.config.serverbeans.Engine
20/05/2008 00:16:34
INFO: AMXConfigLoader.sortAndDispatch: process new ConfigBean:
com.sun.enterprise.config.serverbeans.Engine
20/05/2008 00:16:34
INFO: AMXConfigLoader.sortAndDispatch: process new ConfigBean:
com.sun.enterprise.config.serverbeans.ApplicationRef
20/05/2008 00:16:34
INFO: AMXConfigLoader.sortAndDispatch: process new ConfigBean:
com.sun.enterprise.config.serverbeans.Application
Login as admin/adminadmin or anonymous/adminadmin failed.
20/05/2008 00:16:50
com.sun.enterprise.security.auth.login.LoginContextDriver
doPasswordLogin
INFO: java_security.audit_auth_refused
20/05/2008 00:16:50 com.sun.web.security.RealmAdapter authenticate
WARNING: Web login failed: Login failed:
javax.security.auth.login.LoginException: Failed file login for admin.
20/05/2008 00:16:55
com.sun.enterprise.security.auth.login.LoginContextDriver
doPasswordLogin
INFO: java_security.audit_auth_refused
20/05/2008 00:16:55 com.sun.web.security.RealmAdapter authenticate
WARNING: Web login failed: Login failed:
javax.security.auth.login.LoginException: Failed file login for
anonymous.
As anonymous (blank password), I get the access denied
HTTP Status 403 - Access to the requested resource has been denied
type Status report
messageAccess to the requested resource has been denied
descriptionAccess to the specified resource (Access to the requested
resource has been denied) has been forbidden.
GlassFish/v3
Restarted the server, but no lucky.
Is there any workaround ?
--
Claudio Miranda
_______________________________________________