Question of access Server SDK.

We have implemented SSO to one of our application (App1) and is fine(in production) work. I'm configuration application (App2) plus one for SSO.

App1 is configured using webgate on our proxy server. the entire application through the webgate, urls are validated against the NPS server and have access. no problem here

App2 - Webgate installed on my machine local apache server proxy, set up the new field of politics, and using the same identity as app1 servers, the app works very well. I'm trying to decode the obssocookie to retrieve the user ID, I created a Web service that takes in the obssocookie and decodes retrieve the user name, so that the service can be used in different applications (which are not SSO) to authenticate the user against the CAO, if the user is already logged.

My question is I webgate configured on my local machine also installed the sdk to access server (Oracle_Access_Manager10_1_4_0_1_Win32_AccessServerSDK.exe) on my local computer, Setup the classpath and path as variables described in the Administrator's guide. I'm under weblogic 9.2. My index.jsp page accepts the credentials of the user and it publishes on login.jsp (protected Ihave the login.jsp) in the field of politics with the form based authentication schema.

I created a testsso.jsp (unprotected page) to test the sdk. Here is my code. I always get an error when I access the page testsso.jsp

cm = challenge my_webgate = 268e2d09986e24c7
01/08/2009-12:41:17 message received: 14 0
cm = access_dlsso01 challenge = 071a577990ee977d m = ma = 25 rt = 1
01/08/2009-12:41:17 sending message: 0 15
response = 7b951e1ae2109fb4c7319060f2b9dc57
01/08/2009-12:41:17 message received: 0 15
answer = c045c076d3af5af4a2038a45ede9613f m = ma = 25 rt = 1
01/08/2009-12:41:17 sending message: 0 1
RO = t = 0 o = No. = r = nr = wu = http://mymachine/myapp/login.jsp wh = wo = 1 wa = 0 ws = st = my = mi = 20 6 sg = 0 sm = version = 3 DB = NULL
01/08/2009-12:41:17 message received: 1 0
RO = t = 0 o = no = r = nr = wu = http://mymachine/myapp/login.jsp wh = wo = 1 wa = ws = ri = NULL st = ma = 0 5 mi = 20 sg = 3236 sm = rt = 0

com.oblix.access.ObAccessException: HTTP:http://mymachine/myapp/login.jsp GET col resource not protected
Ed at the ObResourceRequest, so there is no associated authentication scheme.


ObResourceRequest resReq = null;
The user ObUserSession = null;
ObAuthenticationScheme authnScheme = null;

Cred Hashtable = new Hashtable();
CRED.put ("userid", "TEST");
CRED.put ("password", "TEST");
Try
{
put the correct path for your installation of AccessSDK here
ObConfig.initialize("C:\\OAM\\oblix\\AccessServerSDK");
resReq = new ObResourceRequest ("HTTP", "http://mymachine/myapp/login.jsp", "GET");
check if it is protected, if so, create a user session
If (resReq.isProtected ()) {/ / commented because the resource is still to come as unproctected. when I used the device for access control}
I get that the resource is always protected with an authentication scheme
authnScheme = new ObAuthenticationScheme (resReq);
If (authnScheme.isBasic ()) {}
System.out.println ("# is protected #");
User = new ObUserSession (resReq, cred);
If (user.getStatus () == ObUserSession.LOGGEDIN) {}
System.out.println ("the State of the user is LOGGEDIN" + user.getStatus ());
{if (User.IsAuthorized (resReq))}
System.out.println ("Permission GRANTED");
}
Token = user.getSessionToken ();
} else {}
System.out.println ("user's status is NOT LOGGEDIN");
}
} else {}
System.out.println ("is not fundamental");
}
{/ *} else {}
System.out.println ("is not protected");
}*/
ObConfig.shutdown ();
} catch (Exception oe) {}

ObConfig.shutdown ();
oe.printStackTrace ();
}




Please advice on how to use the sdk

Published by: user7498134 on January 8, 2009 10:35

Looking at the exception - "com.oblix.access.ObAccessException: resource unprotected GET HTTP:http://mymachine/myapp/login.jsp passed to the ObResourceRequest, so there is no authentication partner scheme ', apparently than wants the SDK is the resource to be spent as" / / mymachine/myapp/login.jsp ", i.e. leave the superfluous" http: "your URL in the program.

Let me know if this helps.

-Vinod

Tags: Fusion Middleware

Similar Questions

  • URL is a mistake not protected in Access Server SDK with HOST identifier

    Hello

    I am facing the problem with the SDK to access server once we switched to 10.1.4.2 and BP08. The problem is when I ran the Server SDK access code with the protected resource, he demonstrated that URL is not protected as below.

    Resource http:/welcome.html is not protected.

    Before adding the HOST identifier it works fine. After you have added the HOST identifiers it does work very well. After you apply the patch BP08 are of HOST identifiers must be there for the access door. This is the problem that I am facing.

    All can help you solve this problem.

    Thank you and best regards,

    Valentine

    Hi Valentine,.

    You must pass the host name in the ASDK to see if it is protected. Without host identifiers, use will be protected on all web servers (which have WebGates); with the host identifiers, you must specify the host name in the url, you go to the SDK so that he knows what a host you make the request. Try passing http://myhost.domain.com/welcome.html in the SDK (where the string 'myhost.domain.com' exists as one of the relevant changes in the host identifier).

    Kind regards
    Colin

  • VPN error 868 the name of the remote access server is not resolved

    I use Windows 7 Home Premium and you want to configure a VPN with my office network that uses the Check Point Safe@Office.  I am unable to log in and get the error that does not resolve the name of the remote access server and Windows cannot find the host using DNS name.  Any suggestions on what to try to fix the problem?  I set up the VPN connection according to the instructions of our network administrator.  We use XP in the office.

    Hello
    Welcome to the Microsoft answers site

    The question that you'd be better suited in the TechNet community. Please visit the link below to find a community that will provide the best support.
    http://social.technet.Microsoft.com/forums/en-us/ForefrontedgeVPN/threads

    It may be useful
    Thanks and greetings
    Support Microsoft-dieng
    Visit our Microsoft answers feedback Forum and let us know what you think
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/

  • Causing the problems of internet connection Internet access server

    I have covered a lot of discussions on this issue and have tried all the fixes I found relating to this issue but did not have a chance to find a solution to my problem. I apologize if this is a repeat post, but as I said, none of the questions I found helped.

    ------

    I have 2 laptops (windows 7), 2 xbox 360 s, and smart phones that will all connect to my internet connection with a problem and run great.

    However, I recently bought a PC oriented for the game, and I got this error because I got it.

    I am able to connect to the Internet. Google has always works as Youtube, but youtube videos will stop eventually buffering until I have restart the browser.  Most of the games that I play online will launch and play very well in the beginning, but then they lose the internet connection and not return it until I have close the game and restart it, then it works very well for 5 minutes for an hour, but ends by loses connection again until I got close the game and start it again... However, when games lose connection if I Alt + Tab back on the desktop I'm always connected to the internet and can run my internet browser to always connect to google or youtube... Other sites are also affected (Netflix, Microsoft, Outlook, contraction, etc. all will simply keep the load and eventually tell me 'the site takes long to answer').

    I tried the update of Device Manager, but it says it cannot find the updates for the server to access Internet with yellow Triangle /!

    In the currency manager<><>
    "The drivers for this device are not installed (Code 28)

    To find a driver for this device, click Update driver. »

    When I click on "put updated pilot."

    "Windows was unable to install your Internet access server .
    Windows found driver software for your device.

    If you know the manufacturer of your device, you can visit their website and check the support section for driver software. »

    However after visiting the Linksys website, the only thing close to that I found was to update the firmware, which I did, but was still does not solve the problem, and I can't seem to find everything related to the Internet Access Service.

    I then tried calling Linksys (router Linksys E1200 series), who directed, I call my ISP, which then make sure that my drivers are up to date.

    At the beginning I was not able to check for an update for access to the Internet Server (all have been 'grayed out' and unclickable).  However after clicking on "Devices and printers" under the start menu, right click router<>

    I tried also to open the command prompt

    I did the "Winsock" fix according to the instructions and an IP reset via the command prompt, always with no success.

    I spent about the last 48 hours trying to get this update with no luck, I finally met a thread with a post that seems to fix the problem for Vista, but I need the version of Windows 7 which has not been registered.  A member of the community had provided a link to download the driver I can't find for the life of me.

    I'm typing this from my laptop (not the PC having problems) and it internet runs fine on this legacy without problems as are all other currencies clung to the same internet connection. The PC in question is the only one that is connected to the router, all the rest are wireless and work very well. (No wireless in the PC with the question card)  If I wired my laptop (with the same Ethernet cable that runs on the PC with the questions) my laptop connects to the internet and always runs very well.

    Any help would be greatly appreciated.

    Hello Dubz,

    Thanks for posting your question on the forum of the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    1. What is your default browser?
    2. What is the brand and model of your computer?

    I appreciate your efforts to resolve the issue.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    If you are using Internet explorer as default browser, then please use the suggestions provided in this Microsoft Knowledge base article and check.
    Reference:
    Internet Explorer does not start or stops responding
    http://support.Microsoft.com/kb/926449/en-GB

    Important notes:
    Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings. Reset Internet Explorer is not reversible, and all the previous settings are lost after reset.

    The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Also, please use method 2.

    Method 2:
    I also suggest you try the steps in this Microsoft support article and check.
    Reference:
    Automatically get recommended drivers and updates for your hardware
    http://Windows.Microsoft.com/en-us/Windows7/automatically-get-recommended-drivers-and-updates-for-your-hardware

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Network error mystery - Windows cannot access \\server\users when you use the netbios name, but works fine when you use the full domain name.

    Hi all:

    Mystery - I have a Win 7 work company that cannot access a particular action.  I get the following error-"you are not allowed to access \\server\users.  Contact your network administrator to request access.  However, these users can access these files successfully on other computers, and also if I use the fqdn or the IP instead of the "netbios name server", it connects successfully.

    Environment:

    -Workstation and server at the same time in the same AD Windows 2008 r2 domain.

    -All users, admin and non admin, cannot access this share when connecting to this computer only.

    -ACCESS to the other actions on the same server, as well as actions on other servers.

    -The biggest mystery to me - if I type the FQDN, \\server.domain.local\users, it works!  What the?

    I tried:

    -Deletion of the domain and add it again, no improvement.

    -Check Event Viewer, nothing jumps (not red or yellow).

    -Enabled auditing for access to objects on the server, it does not show a failure in the security event log.

    -Turn off the firewall of my computer.

    -UN-share and re - share the directory.

    -Give everyone full control (the fact that it works well with de facto authorities a little full domain name, a candidate little likely, but I have an open mind).

    For anyone wishing to offer their 'help' by asking me to make some sort of workaround as re - install windows or turn off netbios or use only of the full domain name here on out or whatever, please Don ' t bother.  I appreciate your help, but I am quite able to reinstall and I'm not interested unique hacks that affect this otherwise network well managed, I'm looking for a solution that will allow me to save time and is a long-term solution.

    In my view, that a key point here maybe I can connect successfully using \\server.domain.local\users, but not \\server\users.  Someone at - it some thoughts?

    In DNS server of youe, go to the area in question and in the use of select search before Wins wins tab and enter the address of your wins server if you have one. If not, install one.

  • WebGate to access server connection status:-different status for the AM service

    What will be the effect if I pass ON the "Access Management Service" in Webgate. I understand that it will take to have the value WE for AccessServer-SDK. Died in Webgate translates into the following test posted on Webgate of the access server connection to the ' page.
    Does not
    Different status for the AM service
    thank you!
    Kabi

    Hi k,

    You only need the access management API if you are explicitly using the API Policy Manager (custom application), or for certain operations during some integrations (for example with Weblogic). Then, you can just assign it 'No' on all access servers and WebGates, or to 'Yes' If you think that you use.

    Kind regards
    Colin

  • "Windows needs to install driver software for your Internet access server.

    Hello everyone, since April 3, 2010 I get this message just after I turn on the computer and Vista SP2 is ready to ROCK, I change my router in 31 March, for a Lynksis E1000 and it works perfectly since then.

    Now, in the cry of the message I have different options from the tree, if I click in the star of windows option "locate and install driver software (recommended)" the search for drivers to install, but then another small window appears asking me to insert the CD that came with my Internet access server (it shows as another option that says "I have not a disc. Show me other options') and there is when I stop because I fear :)

    What is c? WHAT is an Internet access server?

    My ISP is Comcast, I don't know if it's important.

    Can someone help me? THANKS :)

    Easy problem to solve, go in right Device Manager click on internet access server select Update driver they are looking on the web for the driver. It may take up to 5-10 minutes. The Device Manager will change other devices forInfrastructure. network devices / Microsoft Wireless Router Module.

    Terry

  • Ent of Windows 7. Apart from 2012 - Windows cannot access \\server\share$

    I have a treatment of strange problem with part of 2012 R2.  We have a lab with 30 workstations Windows 7 Enterprise.  They all have the same office via a redirection of folder GPO applied to a share on the server of 2012 R2 mentioned above.  All but 4 of them can connect and pull on the desktop the appropriate shortcuts, network folders, etc.

    The share permissions so no denies explicit.  In an effort to solve this problem, I added everyone and authenticated users, with read permissions on top of the appropriate ad group object that already had read permissions and, of course, SYSTEM and with full control Domain Admins.  NTFS permissions have, of course, CREATOR OWNER, SYSTEM and with full control Domain Admins.  Also, the appropriate ad group has read permissions.  No NTFS clear or rejects the request.

    Using the same account that belongs to the appropriate group or my domain administrator account (which has no office redirected) I can connect to all the workstations and all, but the four mentioned above get the redirected folder desktop.  When I authenticate my account with DA and try to connect to the share on these four computers I get the same error to the user:

    Network error

    Windows cannot access \\SERVER\Share$

    You are not allowed to access \\SERVER\Share$.  Contact your network administrator to request access.

    I think we've all seen this error before.  But I only saw him associated with NTFS permission issues or sharing.  Frankly I'm perplexed.  Any ideas on what's going on?

    Edited to add: I don't think it's a problem with sharing.  Clearly, it's a matter of workstation since 26 of 30 machines Win 7 can be connected without difficulty.  And I don't think it's a matter of profile either since I've never authenticated on these workstations with my domain account.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • ACS - the clean access server

    Hi guys,.

    I have a doubt about the own ACS and access server.

    The clean access server can do the job of the ACS?

    for example, act as a VMPS server, AAA server, or radius server.

    Thank you

    ACS is entirely different to serve own access. See the below url for more details

    http://www.Cisco.com/en/us/products/ps6128/products_qanda_item0900aecd803be813.shtml

  • debugging access server problem

    I'm unable to connect ISDN users via access servers there is some problem among raduis, the access server and billing machine then I felt I need to debug on the access server, but when I go to run the debug command first, and then I m get no output, below is the reviews. What is good order? I enabled debugging, but I cannot see the logs (outputs) so missing here. Please answer me as soon as possible.

    AS5300a aaa #debug?

    Accountant accounting

    Administrative administrative

    attr AAA Attr Manager

    authentication

    authorization authorization

    AAA DB DB Manager

    ID Id Unique to the AAA

    IPC IPC AAA

    attributes of each user by user

    treatment of POD Pod AAA

    treatment of the AAA Protocol

    SubSys AAA subsystem

    AS5300a #debug aaa VAC

    Aaa AS5300a #debug accounting

    AAA accounting debug is on

    AS5300a #sh deb

    AS5300a #sh debugging

    General operating system:

    AAA accounting debug is on

    AS5300a #.

    Hello

    You can use terminal no monitor to turn off the same and also check this link for setting up an external syslog server to collect system logs.

    you use syslog software installed in the external system to collect the newspapers.

    the best bet would be kiwisyslog s/w, which is very easy and roubst.

    You must configure your router and point the same to send messages to the external system.

    http://www.Cisco.com/en/us/products/SW/iosswrel/ps1835/products_configuration_guide_chapter09186a008030c760.html#wp1001176

    regds

  • Remote access server problem ASA5510

    Hello guys,.

    I have a problem with ASA5510 configured as a remote access server. We use the client VPN in Windows XP. Look at the requirements I see no problem, but when I try to connect to the server it doesn't open the negotiation of VPN. I had the problem like this before, but at least I saw the traffic hitting the ASA. Now, I don't see anything hitting the device. I enclose the current configuration of the SAA. The VPN client on my laptop is configured correctly. Thank you in advance!

    RVR

    Hello

    Happy to help and thanks for the note.

    This command is not required, but 90% of deployment I've seen has this configured command and is the default value for the SAA. In a Word, what this command is open to IKE and IPSEC ports and also does not check ACL entering ASA for IPSEC traffic.

    In case if you do not have this command enabled, you must configure inbound ACL to allow IKE, IPSEC and text clear remote access VPN traffic after IPSEC packets get decrypted on the SAA.

    Kind regards

    Arul

    * Rate pls if it helps *.

  • Question on access to multidimensional data Collection

    Hi all

    I have a multidimensional question on access to data using Collections.

    We use Oracle 11 GR 2.

    Our requirement is as shown below

    We get data from upstream via a stored procedure. The procedure store entry variable is a multidimensional complex type.

    I gave below the structure of the collection

    Step 1

    CREATE or REPLACE TYPE feature_type IS OBJECT

    (

    feature_code VARCHAR2 (10),

    feature_name VARCHAR2 (50).

    feature_value NUMBER

    );

    /

    Step 2

    CREATE or REPLACE TYPE feature_array IS TABLE OF THE feature_type;

    /

    Step 3

    TYPE to CREATE or REPLACE the argument subscriber_type IS OBJECT

    (

    subscriber_id NUMBER,

    first name VARCHAR2 (50).

    name VARCHAR2 (50).

    feature_data feature_array

    );

    /

    Step 4

    CREATE or REPLACE TYPE subscriber_array IS TABLE OF subscriber_type;

    /

    Step 5

    CREATE or REPLACE TYPE order_type IS OBJECT

    (

    order_id NUMBER,

    subscriber_data subscriber_array

    );

    /

    Step 6

    CREATE or REPLACE TYPE order_array IS TABLE OF THE order_type;

    /

    Suppose I have a procedure as shown below

    CREATE OR REPLACE PROCEDURE multidimensional_prc (p_dataarray order_array)

    IS

    lv_order order_array;

    BEGIN

    lv_order: = p_dataarray;

    lv_order: =.

    () order_array

    order_type)

    1,

    () subscriber_array

    subscriber_type argument)

    10,

    "Subscribed 10 first name."

    "Subscriber 10 Lst Name."

    () feature_array

    "feature_type ('F10', ' Featgure Code 10', 10 '))),"

    subscriber_type argument)

    11,

    "Subscriber 11 name."

    "Subscriber 11 Lst Name."

    () feature_array

    "feature_type ('F11', ' Featgure Code 11', 11 '))),"

    order_type)

    2,

    () subscriber_array

    subscriber_type argument)

    20,

    "Subscriber 2 first name."

    "Subscriber 2 Lst Name."

    feature_array (feature_type ("F2", "Featgure Code 2', 20 ')));

    FOR m1 in 1... lv_order. COUNTY

    LOOP

    Dbms_output.put_line (.order_id lv_order (m1));

    -FOR the m2 in 1... lv_order (M1). COUNTING LOOP

    -NULL;

    -END LOOP;

    END LOOP;

    END multidimensional_prc;

    /

    I am able to read the data until the order data as it is in level 1. But when I'm reading the data of the subscriber level 2nd level or level of functionality level (3rd), I make mistakes. Basically, I am unable to read the data into Sub levels.

    Very much appreciate your help here.

    Thank you

    Please ignore this one.

    FOR m1 in 1... lv_order. COUNTY

    LOOP

    Dbms_output.put_line ('- order identification-' | .order_id lv_order (m1));

    FOR m2 in 1... .subscriber_data lv_order (m1). COUNTING LOOP

    Dbms_output.put_line (' Subscriber ID => ' | lv_order (m1) .subscriber_data (m2) .subscriber_id);

    FOR m3 to 1... lv_order (m1) of .subscriber_data .feature_data (m2). COUNTING LOOP

    Dbms_output.put_line (' Code function => ' | lv_order (m1) .subscriber_data (m2) .feature_data (m3) .feature_code);

    Dbms_output.put_line (' include the name => ' | lv_order (m1) .subscriber_data (m2) .feature_data (m3) .feature_name);

    END LOOP;

    END LOOP;

    END LOOP;

    I got the answer.

  • Still waiting for approval of the access program SDK InDesign family

    Hello

    I asked the access program SDK InDesign family approval weeks ago and still have not heard anything.

    I need the CC2014 SDK and it becomes more urgent... How do you run after that? There is a post that mentions a guy of messaging on Twitter - is there a more formal way?

    Thank you

    Liz

    I wrote an e-mail to Roger Risdal [email protected]>.

  • The OAM access server

    Hi all

    Can someone please provide information on what are access primary and secondary servers in Oracle Access Manager?
    Why the access server is cut in the access to the primary and secondary server?

    Thank you and best regards,

    Swathi.

    Published by: user9116523 on August 2, 2010 00:26

    Hi Jessica,.

    Access on their own servers are not primary and secondary. However, for each webgate you can choose what access servers or clusters it can talk and then to designate as primary/secondary. The webgate is trying to contact the primary servers configured for her and balance the load among them. If one or more main servers becomes unavailable, the webgate attempts to establish contact with the secondary servers (failover). You can use this concept to extract optimum performance in a distributed installation geographically while maintaining high - availability in a way A webgate can be configured so that the local access server has as a main and a remote server B that is located in a remote as secondary data center. So, unless a server goes down, A webgate ordered all of his requests to a server and does not commit the latency of the network to connect to Server B. Similarly, entire webgate which is in the same datacenter as the access server B may designate Server B as principal and the server has as main.

    Note that the above explanation is on the simplistic side to illustrate the concept and there are other parameters like the use of cluster, the failover threshold, maximum number of connections and connections configured for each access server that also has the webgates Configuration - balance load and failover of connections to the servers of access to them.

    -Vinod

  • Newbie question on access to the RADIUS server

    I've worked before on RADIUS servers running on Windows but not on Unix. I'm new to an environment without any documentation and I make sure I have access to the GANYMEDE/ACS config.

    I go to my config switch and I see that ' 10.0.0.1 radius-server.

    Then I ssh into ' 10.0.0.1' and I see the below after "method.

    From the bottom, you have an idea on how to access the configuration of the ACS in case I need to change any setting it? I tried http://10.0.0.1 but it does not work.

    -bash-3, $00 ls
    bin features core net sbin TT_DB
    Start the etc. opt system usr lib
    export of CDROM lost + found tftpboot var platform
    dev House Dem proc tmp flight-bash-3. $00 ls
    bin features core net sbin TT_DB
    Start the etc. opt system usr lib
    export of CDROM lost + found tftpboot var platform
    dev House Dem proc tmp flight

    Try http://10.0.0.1:2002 for ACS listening on port default 2002.

    Pete

Maybe you are looking for

  • Synchronization devices

    I have a MacBook Air, iPad Pro, iPhone 6 and a Apple Watch.  Is it possible to synchronize all together while I have the same on all devices?  If she does not watch which was fine with me but at least 3 others. Thank you Sheryl Heller

  • Second cloud on my PC

    How can I add a second IPhone to my cloud

  • (Awesome bar) integrated google search bar

    My question is about the integrated google search bar, I want to change from .com to. com.au as I live in Australia and American google is also irrelevant for me.

  • No updates for AT300-101

    I have an AT300-101 and the android version of this powerhorse is always 4.1.1.xxxxx, no updates, why? I begin to develop android applications, turn the debugmode usb and nothing! I am running windows 8.1 x 64!With my nexus4, I plug in the usb cable

  • Sound / Audio (CRAC, pop, broken playback) the buffer Y460P issues

    Hello I have problems playing audio without clicks and pops. They sound like problems of buffer against the recess. Clicks occur during audio playback of any program, but worsen under certain cercumstances. The worst time is when I have my external m