Null username and password on image file retrieval

I'm noticing that when the initial page of may application comes up, when
the browser attempts to get the images, weblogic is calling my realm to
authenticate, but the username and password are both null. And my realm is
written to reject that for obvious reasons.
In WL 5.1, I've confirmed that the call to the realm never happens. The
code is identical. The only difference I can think of is that in 6.1 it is
a web application unlike 5.1. I define no security at all in the web.xml or
weblogic.xml.
FYI...in my architecture, the JSP inserts reference to the images in the
HTML
James
Viewlocity, Inc.
http://www.viewlocity.com
[email protected]

Greg Coulombe wrote:
>
Hello,
Can someone please tell me how I can prevent WLS from creating an initial context
for a client that has not specified a valid SECURITY_PRINCIPAL/SECURITY_CREDENTIAL
combination in the InitialContext properties?Remove the user "guest" from the group "everyone" and make sure it has no
permissions on any ACLs.

Similar Messages

  • Add Proxy Username and Password and also SOCKS proxy to Dreamweaver CC 2014.1

    Hello
    I am currently behind a network corporate proxy that requires a username and password to login.
    Dreamweaver since CS4 has never supported any proxy including SOCKS that require a login; this is backwards and is supported by most other IDEs.
    The Dreamweaver user interface only has fields for entering the FTP server login information. An example of a proxy server that Dreamweaver does not support is SOCKS.
    SOURCE: http://helpx.adobe.com/dreamweaver/kb/troubleshoot-ftp-problems-dreamweaver-cs4.html
    Please can you add the ability to have more complex proxy addins such as SOCKS. Filezilla has a range of proxy settings but due to the nature of it saving username and passwords in XML files and non-encrypted passwords we cannot use this.
    I use the full Adobe CC and use a Mac on Yosemite
    Regards

    It's highly unlikely that CS4 will gain this feature since it is now 7 versions removed from the current one and no longer supported with updates.  My advice is to find a secure, dedicated FTP app you can use.
    http://fetchsoftworks.com/fetch/security
    Nancy O.

  • Dynamically Obtaining Username and Password

    Hi,
    I am using Oracle Application Server and implementing a Servlet in it.
    The issue I am having is , how do I dynamically get the username and password to connect to the database? Should I use a configuration file and hard code it? Is there any specific file I can read from?
    Besides, there are other properties such as the Server name, DB name etc which I would like to read. There is an XML properties file. Is there a text version for it?
    Please let me know.
    Thanks in advance.
    Menon

    Hi,
    According to the previous reply , keeping username and password on properties file is a good strategy.
    you dont need to hardcode anything inside your servlet or jsp.
    Properties file is an ordinary text file . you dont need to confuse withe urself.
    or else
    you can register your database with ur web server.
    To implement that , you need to do some work with web.xml. Please refer
    documentation of your web server for more information.
    thanks,
    nvseenu

  • Username and password token retrieval from SOAP web services

    We are implementing one JAX-WS Web services which requires to retrieve the username and password in SOAP header elements and use those for further use/processing.
    When we are retrieving username/password it’s coming as null. Please help ...
    if (Boolean.FALSE.equals(context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY))) {     
    try {
    SOAPMessage sm = context.getMessage();
    //SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
    SOAPEnvelope envelope = sm.getSOAPPart().getEnvelope();
    SOAPHeader sh = envelope.getHeader();
    System.out.println("Message: "+envelope);
    System.out.println("Envelope: "+envelope);
    System.out.println("Header: "+sh.toString());
    Iterator it = sh.examineAllHeaderElements();
    while(it.hasNext()){
    System.out.println(it.next());
    String username;
    username = sh.getAttribute("Username");
    // username = sh.getAttributeValue("Username");
    //String password = sh.getAttribute("Password");
    System.out.println("uid:"+username);
    //System.out.println("pass: "+password);
    context.put("Username", username);
    //context.put("Passsword", password);
    // default scope is HANDLER (i.e., not readable by SEI
    // implementation)
    context.setScope("Username", MessageContext.Scope.APPLICATION);

    <S12:Envelope xmlns:S11="..." xmlns:wsse="..." xmlns:wsu= "...">
    <S12:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>TestUser</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">TestPassword</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </S12:Header>
    </S12:Envelope>

  • How to retrieve WorkflowContext without passing username and password ?

    Hi,
    I have created a dynamic ApprovalGroup and inside this class i have the following private method.
    private IWorkflowContext fetchWorkflowContext() {
              IWorkflowServiceClient wfSvcClient =
                   WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.LOCAL_CLIENT);
              ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
              IWorkflowContext workflowContext;
              try {
                   workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
                   } catch (WorkflowException e) {
                   e.printStackTrace();
    But when i retrieve workflowContext, I have to pass username and password.As this dynamic ApprovalGroup class will be deployed on the same SOA server under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1
    I have kept wf_client_config.xml under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1\classes.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration
    xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true" excludeFromFederatedList="true">
         <localClient>
              <participateInClientTransaction>false</participateInClientTransaction>
         </localClient>
         <remoteClient>
              <serverURL>t3://localhost:8001</serverURL>
              <userName>weblogic</userName>
    <password>weblogic1</password>
              <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
              <participateInClientTransaction>false</participateInClientTransaction>
         </remoteClient>
         <soapClient>
              <rootEndPointURL>t3://localhost:8001</rootEndPointURL>
              <identityPropagation mode="dynamic" type="saml">
                   <policy-references>
                   <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                   </policy-references>
              </identityPropagation>
         </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    How to retrieve WorkflowContext without passing username and password ?
    ============================
    workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
    ============================
    regards.
    Edited by: user10303338 on Oct 5, 2011 1:51 AM

    Use :
    Properties prop = System.getProperties();
    prop.put("proxySet","true");
    prop.put("http.proxyHost","yourProxy");
    prop.put("http.proxyPort","8080"); // change the port
    //prop.put("https.proxyHost","yourProxy");
    //prop.put("https.proxyPort","8080"); // change the port
    Denis

  • Creating txt file to store input username and password

    Hi everyone,
    I'm new to java, and have been having a hard time with this code.
    My goal is to allow the user to enter in their username and password which should be concatentated as a string and stored into a text file. I am unable to link the two input fields as one string of characters. I know i'm approaching this wrong, but am uncertain of where i need to begin.
    Code is as follows:
    /*Purpose: To allow the user to input their desired username and password
    *which will be stored in a data structure for later use; for instance when
    *the user wants to use the application again their username and password
    *will be assigned the same/linking locations, hence they will be validated.
    *inputed username and password should be stored in a text field for later use
    *of validating login possbily using a search method
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    import java.lang.String.*;
    public class TextFieldTest1 extends JFrame {
    private JTextField userName;
    private JPasswordField password;
    private JLabel textFieldLabel, passwordFieldLabel;
    // set up GUI
    public TextFieldTest1()
    super( "Please Login to AutoSync" );
    Container container = getContentPane();
    container.setLayout( new FlowLayout() );
    // construct textfield with default sizing
    userName = new JTextField( 10 );
    //creating textfield label
    textFieldLabel = new JLabel("Username");
    container.add(textFieldLabel);
    container.add( userName);
    // construct passwordfield with default text
    password = new JPasswordField( "Hidden text" );
    passwordFieldLabel = new JLabel("Password");
    container.add(passwordFieldLabel);
    container.add( password );
    // register event handlers
    TextFieldHandler handler = new TextFieldHandler();
    userName.addActionListener( handler );
    password.addActionListener( handler );
    setSize( 325, 100 );
    setVisible( true );
    }// end constructor TextFieldTest
    //ADDED TO CREATE TEXT FILE OF USER INPUTS
    //Code actually doesn't work, but i was thinking that where i have brooke
    //if i should create another actionlistner to concatenate the userName and password nputs into one field, perhaps a login button which hold both those arrays then i can do writer.write("combinedfields")      
    public static void main( String args[] )throws IOException
    TextFieldTest1 application = new TextFieldTest1();
    application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    // private inner class for event handling
    private class TextFieldHandler implements ActionListener {
         String fileName = "SENIOR.txt" ;
    FileWriter writer = new FileWriter( fileName );
    writer.write(userName.addActionListener);
    writer.write(password.addActionListener);
    writer.close();
    // process textfield events
    public void actionPerformed( ActionEvent event )
    String string = "";
    // user pressed Enter in JTextField textField1
    if ( event.getSource() == userName )
    string = "userName: " + event.getActionCommand();
    // user pressed Enter in JTextField passwordField
    else if ( event.getSource() == password ) {
    string = "password: " +
    new String( password.getPassword() );
    JOptionPane.showMessageDialog( null, string );
    } // end method actionPerformed
    } // end private inner class TextFieldHandler
    //private class users to link username/password input with Array locations
    private class Users{
              public String userCheck[] = new String[10];     
              public String passCheck[] = new String[10];     
    private boolean validateUser(String usr, String pwd)throws IOException {
         for (int i = 0; i < userCheck.length; i++)
    if (userCheck.equals(usr) && passCheck[i].equals(pwd))
    return true;
                   return false;
         }     //end method validateUser
    }     //end class users
    } // end class TextFieldTest}

    Double Post
    http://forum.java.sun.com/thread.jspa?threadID=631685&tstart=0

  • How can I save or export the file containing stored usernames and passwords?

    I'm about to update my desktop computer's operating system, which will mean my hard drive will be wiped. I want to save any file Firefox might have that contains usernames and passwords so I don't have to rebuild that file once Firefox is reinstalled. I've found such files for extensions and bookmarks but not for passwords.

    In article: http://kb.mozillazine.org/Password_Manager#Backing_up_and_restoring_passwords
    *'''Backing up and restoring passwords '''
    **Firefox '''''3.5 and later versions''''', including current beta and nightly builds, use '''''signons.sqlite'''''.
    *'''Troubleshooting'''
    **Firefox '''''3.5 and later versions''''' use the file '''''signons.sqlite''''' to store the encrypted names and passwords. passwords.
    **You can rename '''''signons.sqlite''''' to signons.sqlite.sav to make Firefox '''''3.5+''''' versions use the file signons#.txt from a previous Firefox 3 or 2 version.
    ***'''''3.5+''''' = same as '''''3.5 and later versions'''''
    Also:
    *http://kb.mozillazine.org/Profile_folder_-_Firefox#Files_and_folders_in_the_profile
    *https://support.mozilla.com/en-US/kb/Backing+up+your+information
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    *http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    *

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • I have lost my username and password and can't find my way to the "firefox window" to see if I can retrieve my sync key.

    I have lost my username and password and sync key. I do not understand how to find the "firefox window" described in the "help" page for finding the sync key. I am trying to get my bookmarks downloaded on a new laptop.
    GW Maloney

    Hi Steve,
    Depends which OS
    version.
    If OSX try this instead...
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Change Password from the Installer menu up at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Change Password.*
    If worse comes to worse try this...
    Reset OS X Password Without an OS X CD...
    http://theappleblog.com/2008/06/22/reset-os-x-password-without-an-os-x-cd/
    Admin Hack...
    http://www.hackmac.org/?q=node/4
    Starts up like the first time you buy a new Mac, but after filling in all that info again, you should have access to the computer and the other Users & files will still be there... give the new User a different name than an existing one.

  • When using SSL Word Files ask for username and password.

    I have SharePoint Foundation 2013 setup and it works great.  I need to allow users access when they are not connected to our local network, so for testing purposes I added a domain signed certificate and assigned it to IIS on 443. Internally when
    I try to access the site IE now ask me for a username and password and when I open a word file Word then ask me for a username password again. If it didn't do it in http why is it happening with https and how can I fix it?  Externally I know users will
    have to login but they should have to only login in once right?

    After doing some more research it seems that it is just not possible to use Windows authentication along with FQDN without being prompted for username and password in SharePoint.  Can anyone confirm this? I am sorry what a bad design of a program. 
    Did anyone think at Microsoft that organizations might want employees to work from outside of their network in the year 2013 using the username and passwords they already have.

  • Ask for username and password for XDB when download files

    Hi,
    I have an application to upload/download files. While the user click on the file link for downloading files, a small window pops-up saying that "The server 127.0.0.1 at XDB requires a username and password.".
    Can anyone shred some light ?
    Thanks.
    Edward

    Edward:
    Does this link work ? if it does then I think you may need to set up appropriate ACLs in XDB for the other IP address.
    http://127.0.0.1:8080/apex/wwv_flow_file_mgr.get_file?p_security_group_id=1025018959703326&p_fname=24-Nov 08.doc
    Varad

  • How to retrieve username and password that I have created in YouTube app in iPhone?

    I found out that YouTube in safari and YouTube app in iPhone it self are different thing. So I have created a username and password in YouTube app. Both username and password I have forgotten. How to retrieve my username and password?? I can't use the playlist without the username and password. Please help.

    Hi I'm having the same problem. Did u find a solution?

  • Retrieving username and password

    I've apparently set up a username and password on the printer for security reasons and cannot remember what they are. Does anyone know how to retrieve them?

    Hello Moose7b,
    Welcome to the HP Support Forums!
    I would like to see if I can help out. When are you asked to enter the user name and password on the Officejet? Are you trying to access a  menu on the front display, trying to access the printer in HPConnected, or trying to load the Embedded Web Server?
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • My computer is authorized, but when I try to open a recently downloaded audio file I get asked for my "Audible username and password"  and my AppleID and password do not work

    My computer is authorized, but when I try to open a recently downloaded audio file I get asked for my "Audible username and password"  and my AppleID and password do not work.

    thats because audible isnt apple provided, its a third party app/website so you'll have to get it from them

  • Retrieving admin username and password

    Hello:
    Can someone tell me how I can retrieve the username and password for the admin URL? The DBA is gone and he didn't document any of this info.
    Thanks.

    Hi,
    You can follow the steps here to change the password for the admin account ( the user name is ADMIN ):
    http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/db_install.htm#CIHBHAFJ
    It basically just involves running the @apxchpwd.sql script from the apex install directory ( in oracle home ).
    best,
    john

Maybe you are looking for

  • Remote Function Module...

    Hi Folks, I have created a RFC using tcode SE37 where in im importing 2 fields from a structure and i want to return the values to a table.... while activating the RFC im getting the Following error "REPORT/PROGRAM statement missing, or program type

  • Firmware upgrade, then lost

    Hi, Quickly following automatic firmware upgrade on 1 week old Time capsule, network is now lost. Airport set up utility can't find Time Machine .. others experience the same problem? TM feels hot .. perhaps overheated due to firmware upgrade. Soluti

  • Reg:Vendor Sales & purchase report

    Dear All, We need one customzied report which is having the details about Vendor Sales & purchase transactions , if we are giving the input vendor or customer , fiscal year, comapany code, & fiscal period as the input means we need the details about

  • Oracle 9i - Invalid or Stale Connection found in the Connection cache

    Hi all, I did the following steps: 1. Deployed my application in Jboss and started the jboss and my application. 2. Re-started my database when the application is alive and running. 3. Tried to login to the application. 4. I got the following excepti

  • Adding online redo logs with standby database in place

    Hi group, I have decided to add one new member to my existing redo log groups and an additional redo log group to my primary database. That change went ok without problems. I assumed that with standby_file_management=auto the equivalent online redo l