Problem with authorization after logout (adfc issue?)
Hi,
I have an application with implemented ADF Security, and navigation case login.jspx -> home defined in adfc-config.xml ("home" is the name of view activity, page is home.jspx),
logout is done through redirecting to /adfAuthentication?logout=true&end_url=/faces/login.jspx.
If I do the login & loguot repeatedly, after 6-7 times (sometimes 2-3, sometimes >10 but definitely happens) after logging in I get authorization exception saying I am not authorized to view home.jspx.
Note that on adfc-config.xml home.jspx is registered as "home", and if I type "home" in URL instead of "home.jspx", I can access the page.
Anybody seen similar behavior?
Thanks,
Pedja
Here is a workaround:
Login button executes this code for authenticating against WLS
public String login() throws LoginException, IOException {
String un = (getUsername() == null ? "" : getUsername());
String pw = (getPassword() == null ? "" : getPassword());
FacesContext ctx = FacesContext.getCurrentInstance();
HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
CallbackHandler handler = new SimpleCallbackHandler(un, pw.getBytes());
try {
ServletAuthentication.login(handler, request);
} catch (FailedLoginException fle) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, " ", "Login error!"));
ctx.addMessage(null, msg);
return null;
return "success";
}If I call response.redirect("/faces/home") instead of returning a navigation action, the error can no longer be reproduced.
So, is this ADFc or ADFSecurity issue (adfAuthentication servlet gets confused)?
By the way, I'm using WLS's Default Authenticator, but this behavior has reproduced on few other applications, some of them use SQLAuthenticator, so this is not a WLS issue.
Pedja
Similar Messages
-
I have problems with activation, after delete mi Iphone from Icloud.
I have problems with activation, after delete mi Iphone from Icloud.
Hello Sikiz 21,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iPhone: Troubleshooting activation issues
http://support.apple.com/kb/TS3424
iOS: Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Best of luck,
Mario -
I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 issue ?
Hi were you able to resolve yours?
I was very worried losing all my medical stuff on my iPad Air 2, plus i have nothing to use for the next day! So i have to try all the possible things i read on the internet!! And this worked on my part (Thank God, and thank you Google)
Perform a hard reboot
Hold down the Home button and Power button on your iPhone or iPad and keep holding them until you see the Apple logo. Once you do, you can let go. When your device boots back up, go ahead and check to see if the apps have started re-downloading. If they still appear to be stuck, continue on. -
Problem with Java after Software Update to 10.5.7
Hi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
Details of JavaVM on my machine
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions
$ ls -ltr
total 56
drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1
lrwxr-xr-x 1 root wheel 3 Aug 31 2008 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.4.2
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.5.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 1.6.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 A
lrwxr-xr-x 1 root wheel 1 May 20 14:57 Current -> A
lrwxr-xr-x 1 root wheel 3 May 20 14:59 CurrentJDK -> 1.5
Any suggestions? Is there a cleaner approach to uninstall Java on Mac then a simpl "move to thrash"!
cheersHi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
Details of JavaVM on my machine
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions
$ ls -ltr
total 56
drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1
lrwxr-xr-x 1 root wheel 3 Aug 31 2008 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.4.2
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.5.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 1.6.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 A
lrwxr-xr-x 1 root wheel 1 May 20 14:57 Current -> A
lrwxr-xr-x 1 root wheel 3 May 20 14:59 CurrentJDK -> 1.5
Any suggestions? Is there a cleaner approach to uninstall Java on Mac then a simpl "move to thrash"!
cheers -
Problem with Java after System Upgrade to 10.5.7
Hi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $ java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
cheersHi man,
In the wake of this java problem I resorted to keep working on my old machine, and today in my spare time I tried to fix this new machine.
So I execute $java on prompt, and then try to check the files it has opened, using lsof -p pid
I see it referring to
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
isn't this usually the JAVA_HOME
However, executing $/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
hangs!!
but
$/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
works!!
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin
$ ./java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
So, I changed the links as follows
borgraf:Versions raveesh$ l
total 72
drwxr-xr-x 3 root wheel 102 Mar 6 2008 1.3.1
lrwxr-xr-x 1 root wheel 3 May 21 19:42 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 May 21 19:42 1.6.0
lrwxr-xr-x 1 root wheel 3 May 21 19:44 OldCurrentJDK -> 1.5
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 21 19:44 1.4.2
drwxr-xr-x 8 root wheel 272 May 21 19:44 1.5.0
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.6 -> 1.6.0
lrwxr-xr-x 1 root wheel 1 May 21 19:44 OldCurrent -> A
drwxr-xr-x 8 root wheel 272 May 21 19:44 A
lrwxr-xr-x 1 root wheel 3 Jun 4 17:14 CurrentJDK -> 1.6
lrwxr-xr-x 1 root wheel 3 Jun 4 17:21 Current -> 1.6
Linking my Current and CurrentJDK to 1.6 and it works!
However, shall that be the reason!
what is in your /Versions/Current/
I got the following
$ ls /System/Library/Frameworks/JavaVM.framework/Versions/Current
CodeResources Frameworks JavaVM
Commands Headers Resources
There is no /Home in here, which is usually the case for /1.5 or /1.6
Anyways, things seems to work for the moment. Lets see if I get problem with using Java.
thanks -
I am having problems with mail after upgrading to mountain lion. Is there a way to go back to lion?
It would always be easier to fix the Mail problems.
-
Problems with Mail after upgrading to 10.9.1
I am running into problems with Mail after installing 10.9.1. I had NO problems with Mail prior to this update.
Problems I have encountered so far are:
- I don't receive some e-mails on my Gmail account.
- I have sent e-mails that supposedly got "sent" but do not show up in my Sent box both on mail and on web Gmail. My Outbox is empty also.
Has anyone encountered the same problems and found a solution?
Thanks in advance!Yes Paul I have, but no solution. I cannot send email. My ISP uses a smtp mail server for sending and It will not log in. Have had ISP on phone and checked all settings. Can only put it down to Mavericks.
It worked OK for a week after upgrading then stopped. So now having to use web mail to send email.
Strange thing is I receive mail OK, just cant send. -
I'm having problems with itunes after updating. I've lost all my playlists,,finally played around with it and got the songs back but some have an exclamation point beside them and can't be located. they are songs i've purchased. I'm not very computer literate so this is a major problem. I have spent hours with this. I just want all my songs to play even though I'm not happy that I have to recreate my playlists. It would be so much easier if I knew and understood how to correct this. Has anyone else had this problem and if so..is there an easy way to correct it?
Not sure how this is an ipod touch question.
Perhaps you should post in the itunes forum. -
I am having problem with iMessage after updating my 5s to iOS 8.0.2
I am having problem with iMessage after updating my 5s to iOS 8.0.2. I cannot send any text by iMessage anymore. My friend tries to text me and it did not go through
Hello Huyen,
Thank you for using Apple Support Communities.
You can use the following article to troubleshoot Messages:
iOS: Troubleshooting Messages
Regards,
Jeff D. -
After updating to the newest software I am having problems with opening email, anyone else having similar problems or know how to fix this?
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
After updating to the newest software I am having problems with opening email, anyone else having similar problems or know how to fix this?
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
Tutorial: Issue Tracker, Problem with Authorization
Hi All,
I just worked through the Issue Trackin System Tutorial, everything looks great except the Authorization. I did the Tutorial on our local Instance of HTMLDB so I had to modify the Authorization Schemes a little. People should login using their internal HTMLDB-Account, which uses an extra loginname, not the email adress. So i added a column PERSON_LOGIN to the ht_people table which holds the userID. My Authorizationscheme looks like this:
select '1' from ht_people where
(upper(PERSON_LOGIN) = upper(:APP_USER) and
PERSON_ROLE in ('Lead','Member') and
ASSIGNED_PROJECT = :P7_RELATED_PROJECT)
or (:APP_USER = 'HOWTO')
or (:P7_ISSUE_ID is null)
This Scheme simply does not work, the user does not get the authorization to edit the issues assigned to him. I can´t see the problem, if I do this query I get the expected column back. If I log in to the Application and try to edit the issues, I don´t get the neccesary authorization. Any Ides ?From Scott -
I installed that demo app on our hosted site. I don't see anything structurally wrong with page 0 breadcrumbs. When you edit page 0, do you see the correct menu region, or is there a big number where its name should be? If you find something that you cannot repair, please let us know.
As for the authorization schemes, I see what's going on. The scheme controls the display of buttons and a region on page 7 and is evaluated during the rendering of the region and the buttons. These events take place before the item P7_RELATED_PROJECT is rendered, thus before its session state is established or altered during that page view. However the implementation of the authorization scheme references the current session state of that item. That won't work. Using standard conditions (vs. authorization schemes) to control the buttons/regions that are earlier on the page than the referenced item would have the same problem if they used the same logic. For situations like this, LOVs that submit the page and result in a branch back to the same page can be very useful, or splitting the page into multiple pages, as in wizard implementations, can also work.
From Sharon -
I want to thank you for pointing out this bug. This is our first tutorial document and a lot of time was spent making sure that users could follow the directions and learn how to create all the objects that make up an application. Obviously, not enough time was spent testing the resultant application. The statement below should work for the Authorization Scheme in question.
select '1'
from ht_people
where (person_email = :APP_USER and
person_role in ('Lead','Member') and
assigned_project = (select related_project
from ht_issues
where issue_id = :P7_ISSUE_ID))
or (:APP_USER = 'HOWTO')
or (:P7_ISSUE_ID is null)
You will notice that is allows the modification of the issue by either the Lead or any Member of the project, not just the one assigned. When I update the document and repost on OTN, I will make a note of that.
This checks that the current value of related project is the project that the Member or Lead is assigned to. It is true that while viewing the page, the user can change the related project. Once the change is applied, they would no longer be able to edit that issue. -
Problem with Authorization for Planning folder
Hi an having a problem with providing authorization for a planning folder
i am getting the following error when i test it with test user
Error while calling up RFC
Message no. UPC202
Diagnosis
You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
"You do not have authorization for InfoCube ZT_MR_T "
Procedure
Inform the system administrator.
we are not pulling the data from any other server, all the data is on the sif any one has faced the same issue let me know.
Regards,
AbrahamCalling Thru Trans code: BPS0 in ECC 6
getting this error:
Error while calling up RFC
Message No. UPC202
Diagnosis
You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
"An error occurred during the receipt of a complex parameter."
after i check in bw trans code:st22
Following this error message:
Category Internal Kernel Error
Runtime Errors PARAMETER_CONVERSION_ERROR
Application Component BC-MID-RFC
Short text
An error occurred during the receipt of a complex parameter.
What happened?
During a remote function call, an error occurred while converting
a complex parameter.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
An error occurred during the conversion of a complex parameter. -
Iphone 5. Problem with authorization by Wifi spot
Dear collegues!
Now i am in business trip and tired by the problem of connection to hotel's wireless networks that use internal authorization.
I mean the situation when network itself has no password, but i have to enter login credentials in authorization window that pops up after connecting to wireless spot.
In 80% cases this window doesn't appear, i try to on/off wi-fi, reset net settings of Iphone and after some attempts of such a workaround - sacred window appears and i can work till next time connecting. It happens without any dependance.
Other devices (Android) has no such a trouble.
What can i do? Is it possible to force this extra authorization window?
Thank you!I've had this same problem with both my 4S and now my 5. I've been an iPhone owner since day 3 of the original, and I never had this problem until iOS 6. I'm now running the betas of iOS 6.1 and it still hasn't been resolved.
One of the very first things that I tried was resetting the network settings as advised above. Doesn't resolve the issue. -
Problem with Authorization for BW BPS planning Folder
Hi an having a problem with providing authorization for a planning folder
i am getting the following error when i test it with test user
Error while calling up RFC
Message no. UPC202
Diagnosis
You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
"You do not have authorization for InfoCube ZT_MR_T "
Procedure
Inform the system administrator.
if any one has faced the same issue let me know.
Regards,
AbrahamHI ,
I Checked it out we dont have that cube in our system.
Regards,
Abraham
Maybe you are looking for
-
How do i delete an echange email account?
Hello I set up my exchange account incorrectly and I want to delete it and start over but I can not find that option anywhere... please assist Thanks in advance
-
Hi i am having a column in a table as as xml i converted the values i the placeholder option i am getting as like below. Before converting place holder: False Mini Cookies True Mini Gluten Free Cookies False Mini Brownies True Mini Desert Pastries L
-
When updating to the latest iTiunes, download and install work just fine until alomost to the end, when the install stops and I get the following message: 'Service Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have suf
-
Trying to upgrade PPC G4 from 10.3.9 to 10.5, getting error message
I'm trying to upgrade a PowerMac G4 to 10.5 from 10.3.9. Is there a free file I can download to upgrade the OS to 10.5 or do I need to purchase it and if so, where can I get it?
-
When will iOS7 be released?
I don't know when will iOS7 will be released. And I want to know when. Also, I want to know how I install iOS 7 on my iPhone 4S once it comes out.