SAP Knowledge Base Article - Preview

3035275 - AS Java - User: Guest has not permission - Best Practices to handle such cases

Symptom

During some software logistic process, you face an error that the user GUEST or J2EE_GUEST has no permission to perform the operational task. See example exceptions:

  • Principal: Guest (authentication method: unknown)
  • Principal: J2EE_Guest (authentication method: unknown)
  • javax.jms.JMSSecurityException: User: Guest has not permission: vpName: default, type: queue, action: consumer, destination: JobQueue
  • javax.jms.JMSSecurityException: User: J2EE_Guest has not permission: vpName: default, type: queue, action: consumer, destination: JobQueue
  • javax.jms.JMSSecurityException: The username: Guest has not permission: vpName: default, type: queue, action: produce, destination
  • javax.jms.JMSSecurityException: The username: J2EE_Guest has not permission: vpName: default, type: queue, action: produce, destination
  • java.security.AccessControlException: access denied
  • java.lang.SecurityException: User 'Guest' is not authorized.
  • java.lang.SecurityException: User 'J2EE_Guest' is not authorized.

Also you can see that those users are locked and you want to know the background of this state.


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

j2ee admin, j2eeadmin, Guest user, no permission, anonymous, anonymous user, user locked, guest user is locked, j2ee_guest is locked, locked, j2eeguest , KBA , BC-JAS-SEC , Security, User Management , BC-JAS-JMS , Messaging , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.