Maintaining security information across pages
Is there an efficient way to maintain the security principal/credential
associated with the JNDI Context across pages within a session? Or is there
some place that describes how the security information is retained/released
by the servlet engine?
We tried storing the Context in the session object and accessing it through
a convenience method. This works for EJB lookup but results in the user
reverting to "guest". A similar thing happens when using handles to retain
access to a stateful bean across JSP pages. The only workaround currently
is to get the InitialContext on every page, even if it's not being used.
thanks,
chris
Chris McCarley
Senior Software Architect
Daleen Technologies, Inc.
561.981.2391 voice
561.999.8006 fax
mailto: [email protected]
www.daleen.com
I don't think you can use jsp:getProperty directly for an array.
Similar Messages
-
Passing data while navigating across pages
I have a registration page across more than 6 pages.
which is splited as personal details, contact details etc...
I have to store the data as user enter details each page.
But should save the data to database after completion of last page.
How to do we maintain data enterred across pages?
Hope this clarifies. Waiting for earliest reply.
thanks
Regards
priyapsThat answer has to be one of the worst I have seen.
All the data in the request object at the end? What dreamworld do you live in?
The request parameters only last for one request. Every time you submit a page, you send a new request.
In order to retain state over multiple requests you need to use the Session.
Best way to do it is to create a java bean that will encapsulate all the data you need to enter across all the forms. Making it a session bean means that all its values will be retained on the server.
One by one, as you submit the pages, put the values entered on the form, into the bean. If you need to go back a step, you can retrieve the data from the bean to repopulate the form.
At the end, all of the data is stored in your session bean.
Then you can write a method which saves the values in your bean to the database -
How to avoid security information pop up when using BSP in SRM
Hi. I have created a custom BSP and have flagged it as HTTPS in the properties, and the URL does start HTTPS.
I have then put this BSP in a role in SRM and can access it from the internal ITS after logging into SRM. Obviously the main SRM URL is also HTTPS. The BSP actually does its job fine.
However, when I click on the BSP I get the security information pop up telling me that the page contains both secure and nonsecure items every time.
How can I avoid this?
I have read the article on the wiki, but it does not apply to my BSP as there are no links at all in my BSP, and everything is HTTPS.
We can not change the IE settings as all our desktops are locked down and configured in the same way from an outsource company.
Any help would be greatly appreciated.
Regards,
Dave.Hi. I'd already seen that, and it is not quite the same as mine. That link is about calling a BSP as a catalog in SRM and switching from HTTPS to HTTP.
I am calling the BSP direct from the SRM main menu and everything of mine is HTTPS, I am not switching.
Do you have any other ideas?
Thanks a lot for your help.
Regards,
Dave. -
How to keep together Title + table's line across pages
Hi all, I have a question.
I'm trying to create a .rtf template where I have a table with 4 lines and a title <PROJ_NAME>
I need to repeat this table (with all the necessary information - 4 lines) as many times as the projects' names are stored on the DB.
For example: if the employee has 4 projects, on the report I will see 4 times these table and the relative project name as title.
So, the repeating group mechanism works perfectly, but I am not able to control how the table's lines are splitted across pages....
In other words if I have two pages in my .rtf template and I am at the end of the first page:
1) I don't want to see the title on the bottom of the first page and the relative table above on the second page (title and table splitted on two differents pages)
2) I don't want to see the title and a portion of the table on the bottom of the first page and the rest of the table (1,2 or 3 lines) above on the second page (table splitted on two differents pages)
At the end I'd like to see always title and table together even if the page finishes. If the title + table exced the table's vertical border, it has not be splitted, but rewrite entirely (title + table) on the next page.
The syntax is this:
<?for-each-group:G_PROJ;./PROJ_NAME?><?PROJ_NAME?>
TABLE WITH 4 LINES
<?end for-each-group?>Page break
I tried also, reading the forum, to use the paragraph properties (Keep lines together), but nothing.....
Anyone can suggest me something ?
Thanks in advance
AlexAfter the for loop,
take a table (suppose A) with one row and one column. In that table insert the Project name tag. Below that tag, insert an inner table(suppose B) in table A with 4 rows and columns you wish. Now select the outer table A(select the whole table), and in the table properties/Row , in the options , uncheck the 'Allow row to break across pages' property.
end the for loop. -
How to maintain pageFlowScope value across 2 japx??
Hi All,
How to maintain pageFlowScope values across the pages.
In my application I got 2 jspx pages where the 1st page (result page) have two page fragments and no fragments in the 2nd page (Master Details page).
I am triggering the 2nd jspx while clicking the continue button from the 1st jspx's 2nd fragment. I am using Java webservice DataControl in the model layer and both the pages sharing the same WS DC results. In the 2nd fragment I am displaying the user search result. While hitting the continue button I am collecting the selected userID and then triggering the 2nd jspx by passing the that userId thru pageFlowScope, which used to call the WS method once again.
PageFlowScope losing the context while navigating to 2nd page. It is returning null value. If I remove 2nd page and create the new fragment in the first page itself then the master details is working well.
Please help me how do I pass the pageFlowScope value from one page to other page without losing the value. I am using faces-config.xml for page navigation.
Continue button Action method:
public String userSelected() {
FacesCtrlHierNodeBinding binding = (FacesCtrlHierNodeBinding) searchResultTable.getSelectedRowData();
currentRow = binding.getRow();
selectedNetID = (String) currentRow.getAttribute("netid");
requestContext.getPageFlowScope().put("netid",selectedNetID);
return "goToUserMgmt";
Thanks
klnI am not opening any new window for the 2nd jspx. Trying to open the 2nd jspx in the same window.
I did the same as you mentioned.
1) create first page idm.jspx
2) create 1st page fragment search.jsff (Manually create the input fields...didnt drag and drop the WS DC input).
3) create 2nd page fragment searchResult.jsff (drag and drop the WS DC result and setting #{pageFlowScope.netid} as value)
4) create search-task-flow and attaching these 2 frag in it.
5) Drag and drop the search-task-flow in to first page IDM as region.
6) Creating 2nd page MasterDetails.jspx (Drag and drop the same WS DC result)
7) Creating faces-config.xml where I drag and drop both the jspx and setting the navigation rule.
(If continue from IDM.jspx then go to------>masterDetails.jspx)
Here the String continue is return by the 1st page--2nd fragment continue button action method...
This is what I am doing exactly....Any idea please why am I missing the pageFlowScope value!!!
-kln -
Can we Restrict Rows or Stop rows from breaking across pages in XSL-FO
Hi,
Iam working on PO Print report and my requirement is to Stop rows from breaking across pages.
Suppose there are three Lines in a PO.Then the information of the Third line of PO comes partly on page1 and the rest on Page 2.I need all the line information in a single page and not break across pages.Can i control the rows from breaking across pages....If not then can i limit the Rows?
Any Help would be appreciated....ThanksHi vetsrini,
not very sure where to add the code.I have tried but its not working...i have sent u the xsl file on [email protected]
Please let me know where i should add the code.
Thanks in advance -
Portlet to Portlet Across Pages
Does anyone know the recommended way to do portlet to portlet interaction ACROSS
PAGES? i've seen the 'martini' portlet but this doesnt show how one portlet can
affect another portlet on a different page.
I've tried connecting webflows via proxy nodes (doesn't work right, causes portlet
B to be included in portlet A's page, which will cause errors)
I've started to do a "forward" customization to the portal like the "redirect"
example on dev2dev, but this doesn't work well either.
thanskthanks, i appreciate the feedback. that's how i'm going to try it...
"William Young" wyoungATsapient.com wrote:
>
Heya Kurt,
We did almost the same thing you are trying to do (we had a quick search
input
box in our header instead of a portlet that appeared everywhere).
We implemented it using a tag such as this:
<portal:form event="bea.portal.framework.internal.refresh"
namespace="search"
pageName="SearchResultPage" name="frmBasicSearch" method="GET">
The SearchResultsPage rendered our SearchResultsPortlet. The search
results
portlet's webflow had the refresh event go directly the SearchIP (which
is a bit
weird...but it worked). We did this in Portal 4.0.
Will Young
"Kurt C" <[email protected]> wrote:
you could do this, but that doesn't require portlet to portlet communication
at
all. the point is that the search form should be painted on all screens
but display
it's results on only 1 page. The results "window" is very large, the
search form
is very small.
after some thought, i think the best way to do this is by doing an actual
page
change and passing the search criteria with the request. It's not ideal,
but i
think the only option for portlet to portlet across page boundaries
"Adnan Bukhari" <[email protected]> wrote:
I don't know much about your design but to keep things simple if you
design your
search portlet such that it also shows search result the you can use
the portlet
on both pages. Store search result in pipeline session.
Regards
Adnan
"Kurt C" <[email protected]> wrote:
The portlet can be made to post to itself. You can then have an
InputProcessor which can intercept the data and store it in the session.
Then when a user clicks on the second page, on refresh the second
portlet can retrieve the data from the session.but this doesn't accomplish the goal of sending the user from page1
to 2, they
are having to do it manually
Also, I think that instead of posting to the same page, the portletcan
be made to post to the second page after going through the input
processor. That way you can have the user fill in the form data,then
i've tried this with createPageChange url and with Proxy nodes (i.e.,
IP to IP
in another webflow , represented on another page)
and it doesn't work
i think maybe i can just do a regular "get" to the second page andlet
it do the
processing
Jalpesh Patadia <[email protected]> wrote:
Kurt C wrote:
Yes, i figured that. But what if portlet A (on page 1) is submittingform data
to portlet B (on page 2)? How does the form data get put into the
session?
I suppose
you can just do a pageChangeUrl tag and pass in the parameters,
but
then you really
couldnt' use any webflow , correct??The portlet can be made to post to itself. You can then have an
InputProcessor which can intercept the data and store it in the session.
Then when a user clicks on the second page, on refresh the second
portlet can retrieve the data from the session.
Also, I think that instead of posting to the same page, the portletcan
be made to post to the second page after going through the input
processor. That way you can have the user fill in the form data,then
hit submit which will then activate the second page. Once the portlet
in
the second page is being rendered, it can retrieve the informationfrom
the session and display appropriate information.
Thanks,
Jalpesh.
Jalpesh Patadia <[email protected]> wrote:
One way which I can think of is to put the data you want to share
into
the pipeline session. Then when the portlet on another page is
accessed,
it would fetch that data and then change it's display accordingly.
Thanks,
Jalpesh.
Kurt C wrote:
Does anyone know the recommended way to do portlet to portlet
interaction
ACROSS
PAGES? i've seen the 'martini' portlet but this doesnt show how
one
portlet can
affect another portlet on a different page.
I've tried connecting webflows via proxy nodes (doesn't work right,causes portlet
B to be included in portlet A's page, which will cause errors)
I've started to do a "forward" customization to the portal like
the
"redirect"
example on dev2dev, but this doesn't work well either.
thansk -
Can't Purchase anything in App Store, Additional Security Information Needed
I am trying to make a purchase from the App Store in Snow Leopard 10.6.8, but can't make any purchases. When I try to purchase, I get the message, "Additional security information is needed. To use this Apple ID you must first login to the my info web page then provide additional security information." But when I click on Update Security Info, it brings me to a page at https://myinfo.apple.com/ but the page will not load, and it says that Safari can't establish a secure connection to the server. I have also tried it in Firefox and it does not work there either.
I went to the Apple Store online, and updated my account info with the proper credit card and information, but it has not helped. What is going on here.
This is for my bosses account and not my account, and we need to purchase some software for this machine, but are completely unable.
Any help would be appreciated.I'm having the same issue. We have recently signed up for the Volume Purchase Program. I created the Facilitator account, logged into the VPP site, then got a message that additional information was needed.
When I click the link to "Update Security Info", I get an error page on the browser...
I have tried the same process in Firefox and received a similar message...
I then proceeded to try the same thing on a Windows 7 computer with Internet Explorer, no good...
Next, I thought the problem might be related to my firewall, so, I attempted it on a computer OUTSIDE the firewall, no good.
Then, I tried it from home on my ipad, no good...
Anyone have any ideas? -
Stop the Security Information popup
Some users get a Security Information pop-up when navigating Siebel saying "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?" even after adding the url to their list of trusted sites. Is there a way to stop this?
Rather than lowering your IE security, just adjust 1 setting:
From Tools|Internet Options, select Security
Select Trusted Sites
Select Custom Level
Under Miscellaneous, select “Enable” for “Display Mixed Content”
Repeat for each of Internet or Local Internet
hope this helps
Alex -
My Security Information i am Forgotten plz help
my Security Information i am Forgotten plz
who was youer first teacher ?
where was youer least Favorite job ?
i am ForgottenHow to reset your Apple ID security questions
Go to appleid.apple.com and click on the blue button that says 'Manage Your Apple ID'.
Log in with your Apple ID and password. If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email.
Go to the Password & Security section on the left side. Then underneath the security questions click on the link that says 'Forgot your answers? Send reset security info email to [email]'. This will generate an automated e-mail that will allow you to reset your security questions.
If that doesn't work, or there is no rescue email link available, then:
click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
Next, go to getsupport.apple.com. If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services'.
Choose 'More Products & Services', then 'Apple ID'.
A new page will open. Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
Click the blue 'Continue' button.
Select the contact option that suits your needs best. -
Additional security information
Why is my iPad asking for additional security information with a popup screen when trying to install apps. You have to answer 3 questions with answers...what if the questions they want you to answer don't exist. Is this for real or something else
Stover\'s Net Connection wrote:
Calling this enhanced security is analogous to the secure feeling one gets by leaving a key under the mat at the back door so that you don't get locked out. Why would you secure an account by asking questions that for most people, would take 5 minutes on there facebook page to figure out? This is a joke. As it stands now I will not be installing any more apps so long as this is mandatory. I refuse to provide this info. And for those who say enter fake info, do you really think you will remember what you put down in 4 years? Save it in a text file.... Another great idea to secure your account. I have been an apple fanboy for YEARS!!!!!! This is the biggest screwup ever.
Maybe on your Facebook page, but certainly not on mine. I don't have the first car I ever owned on there. I don't have the job I liked the least. And I don't have the car I liked the most on there. All three questions are ones no one on the planet could get right. -
Security information needed?
I am trying to create an iTunes account. I have an iPod and already have music on it, I don't want an iTunes account to download music, I want it to get Artwork. I have created an account. But when I login it says more security information is needed to continue, and opens a 'Settings' page on this website, but I have updated everything it needs. I am lost.
Hello, Welcome to Apple Discussions.
When you login to http://myinfo.apple.com/ once logged in click on Apple ID on the left hand side. Do you have your month & day you were born selected as being correct info? Also make sure the Question & Answer box for your password are filled in. Once this is done press save changes.
You will also want to click on email on left hand side, fill out all info, and save changes as well.
Once all info is saved and updated, try the free iTunes purchase again. You may find you also need to sign out of itunes store and sign back in, And may even need to go to your iTunes Store account info screen and update any payment or billing address information as well.
You can also obtain the latest version of iTunes below
http://apple.com/itunes/download -
I do not have the option to change my security information when I sign in to my Apple ID and goto Password and security. Why not?
Just to be clear - what are you signing into? You could be talking about connecting or setting a computer or device to your icloud or itunes account. You could be talking about logging into your icloud account using a browser to icloud.com. Or you may have followed a link to an Apple page that lets you edit your account.
If you can't remember your security questions/answers then go to Express Lane and select 'iTunes' from the list of 'products' in the middle of the screen.
Then select 'iTunes Store', and on the next screen select 'Account Management'
Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox) - but some recent posts are saying that Apple have temporarily suspended the reseting of security question/answers whilst account security processes are improved, so it may take longer. -
Need to change security information.
I need to change my security information on the apple site (not iTunes) and am required to answer two questions I answered back in 1956. I do not remember the answers to one of the questions and Apple sent me an email to reset the questions but sent the email to an obscure work email address that I no longer have. How can I get the security questions reset?
You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
(112241) -
How to reset your security information
hi
how to reset your security information?
apple dont send an email fore me to change security qusWhat do you mean by 'apple dont send me email' ?
If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page give you a reset link on your account : http://support.apple.com/kb/HT5312
If you don't have a rescue email address (you won't be able to add one until you can answer your questions), or you have one but aren't receiving the reset email to it, then you will need to contact iTunes Support / Apple in your country to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use
Maybe you are looking for
-
HP HSC 950 Printer "Press to Align Cartridges" loop - how do I get it to print?
Hi, I have a HP HSC 950 All-In-One printer that always returns to the display message "press enter to align print cartridges", even after a complete print alignment is performed and looks fine. I can't get past this to print anything. I've wasted
-
Routing engine problems: partition_id AND frequent exceptions in responses
Hi. I want to use Oracle routing engine with Oracle Spatial 10gR2 for Europe. I have tables NODE, EDGE, SIGN_POST and PARTITION populated okay with data from a data vendor. I have 600000 edges and 415000 nodes. 128 partitions were generated by using:
-
Revision: 12087 Revision: 12087 Author: [email protected] Date: 2009-11-21 20:56:09 -0800 (Sat, 21 Nov 2009) Log Message: Dev only. Checking in Flash Builder 4 "Library Projects" for building Flex SDK SWCs in trunk. These projects are easier t
-
Integrate with SES: connector approach or embedded search approach
hi Experts: According to the document, we have 2 options to integrate ECM11g with SES11g: * SES connector approach * embedded search approach My customer needs to use a unified search engine to search ECM, internal web and file system, so SES should
-
IPhone 2.x update makes Wi-Fi useless...
iPod Touch 1.1.4 - Wi-Fi couldn't be better. iPhone 2.x - Just shoot me. I recently purchased an iPhone 2G on eBay, and I was pounding my head against the wall trying to figure out why the wi-fi connected and reverted to EDGE or just didn't connect o