O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JNDI, Security, and Identity

In addition to providing an object naming service, JNDI also establishes a client's identity within the server. By default, InitialContexts are created by the guest user. When an InitialContext is made, the client can specify a user name and password, and the WebLogic security system authenticates the user password combination. If the password is invalid, a javax.naming.NoPermissionException is thrown to the client. With a valid password, the user establishes an identity with the server.

Many resources in the WebLogic Server can be protected by Access Control Lists (ACLs). These resources may only be accessed by appropriate users. Creating an InitialContext with a user name and password effectively switches the client ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required