3
votes

I have an IBM Notes/XPages site, and I'm trying to allow access to one of the pages to anyone. This particular xpage is fairly simple, but it does call some java code that is sitting under Code/Java in Designer. I know about the Public Access setting for design elements, and I think I have checked it for the xpage itself and the form/view it uses. It still doesn't execute the code on the page, and I'm wondering if it's because the java file doesn't have public access enabled. If that might be the case, how does one go about enabling it? I don't see a security tab for the java file. Thanks!

(The reason for this, by the way, is so the xpage can be called by a scheduled agent. That's made debugging this a bit tricky.)

1
Have you tried to set the $PublicAccess field of the Java note to "1"?Sven Hasselbach
Can't the scheduled agent authenticate using a name/password?Richard Schwartz
Even XPage is Java code. So the problem can be in something else. Probably constructor fails when you access session/database. Look at sessionAsSigner.Frantisek Kossuth
Sven, that's exactly what I don't know how to do! Other elements seem to have a security tab, but not the java file?Reid Rivenburgh
Reid, share your code and give more details about what you do and what error you get.Frantisek Kossuth

1 Answers

1
votes

This question is somewhat invalid, it turns out. Our server administrator disabled anonymous access, which I hadn't realized. Thank you for your help on the matter, though.