aspose file tools*
The moose likes JBoss/WildFly and the fly likes cannot perform access control without an authenticated principal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "cannot perform access control without an authenticated principal" Watch "cannot perform access control without an authenticated principal" New topic
Author

cannot perform access control without an authenticated principal

robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
As discussed in the startguide.pdf (section 2.2.3 Security Service) of JBoss 4.0.3, i made the changes (basically uncommented code) in jboss-web.xml and web.xml in WEB-INF directory. The JMX-console was working fine earlier but after making the changes, I'm getting "cannot perform access control without an authenticated principal" exception when I click on jmx-console. The document said "If you've configured everything correctly and re-deployed the application, the next time you try to access the JMX Console, JBoss will ask you for a name and password."
Please help
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Did you create a policy in login-config.xml?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
Is that required? The policy (uncommented) in login-config already is

<application-policy name = "jmx-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name="usersProperties">props/jmx-console-users.properties</module-option>
<module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot perform access control without an authenticated principal
 
Similar Threads
security-constraint without login-config?
Security in TOMCAT
not making the JSP pages visible using tomcat server
Configuration Problem
Secure jmx-console in JBoss 4.0.3