Authentication - I thought I got it, but I don't
L.S. I just don't get it. Still using Orion server version 1.3.8, got a working account and group set up, but I don't understand how to pass in authentication information. When I change the JNDI properties to reflect the new username and password, they are rejected (using java.naming.security.principal and so on). When I add them to the InitialContext using addToEnviroment(), with the constants defined in javax.namimg.Context as keys, they are not recognized (the server brings up the dialog prompting for username and password). When I type them in to the dialog box the server produces, everything works. Obviously, using the latter option is not viable for production code. Can anybody help me with getting another option to work? TIA, Ben Z. Tels [EMAIL PROTECTED] http://www.stack.nl/~optimusb/ UIN:2474460 "The Earth is the cradle of the mind, but one cannot stay in the cradle forever." --Tsiolkovsky
Really basic problem with user authentication
L.S. I am having the following problem with principals on the Orion server (version 2.1): I have principals defined in an applicaiton-specific principals.xml file, like so: - principals.xml ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd" principals groups group name="StoreOwner"/group group name="Customer"/group /groups users user deactivated="false" locked="false" password="KerLach" realname="Ben Tels" username="ben" group-membership group="StoreOwner" / group-membership group="Customer" / /user user deactivated="false" locked="true" password="" realname="" username="anonymous" group-membership group="Customer" / /user /users /principals --- lmx.slapiclap ----------- Needless to say, my client application gets refused ( Invalid user/password (ben) ). If anybody can help, I'd really appreciate it. Thanks in advance, Ben Z. Tels [EMAIL PROTECTED] http://www.stack.nl/~optimusb/ UIN:2474460 "The Earth is the cradle of the mind, but one cannot stay in the cradle forever." --Tsiolkovsky
Help with diagnosing problem
L.S. I'm learning how to use the Orion server to run EJBs in and tried deploying my first self-written EJB today. When starting the server, I get the following error message: E:\orionjava -jar orion.jar Auto-deploying dev (No previous deployment found)... Error compiling file:/E:/orion/titan/dev/: Variable contained illegal space Which is certainly interesting, but not very useful. Can someone suggest a way to find out WHICH variable it is talking about? Or at least in which/what sort of FILE this variable is declared/it's value is being derived from? Thanks, Ben Z. Tels [EMAIL PROTECTED] http://www.stack.nl/~optimusb/ UIN:2474460 "The Earth is the cradle of the mind, but one cannot stay in the cradle forever." --Tsiolkovsky
Re: Help with diagnosing problem
Which is certainly interesting, but not very useful. Can someone suggest a way to find out WHICH variable it is talking about? Or at least in which/what sort of FILE this variable is declared/it's value is being derived from? Nevermind. The problem ssems to have vanished all by itself. Ben Z. Tels [EMAIL PROTECTED] http://www.stack.nl/~optimusb/ UIN:2474460 "The Earth is the cradle of the mind, but one cannot stay in the cradle forever." --Tsiolkovsky