A french question about a login

 

Et voilà,
WindowsUserName : TextData;
WindowsUserName = task.part.OperatingSystem.GetEnv(name='username');
Hope this helps
Fabrizio Genesio
Datasign AG für Informatik
ch. d'Eysins 53a
CH-1260 Nyon
Switzerland
Tel.: +41 22 361 04 04
Fax: +41 22 361 01 10
e-mail: fabrizio.genesiodatasign.ch
<mailto:fabrizio.genesiodatasign.ch>
URL: www.datasign.ch <http://www.datasign.ch>
-----Original Message-----
From: Olivier Andrieux [SMTP:oandrieuxaxialog.fr]
Sent: Thursday, 27 April 2000 11:53
To: Mailing Liste Forte
Subject: (forte-users) a french question about a login
Bonjour,
J'ai une petite question &agrave; vous soumettre:
Je voudrais r&eacute;aliser une fen&ecirc;tre de login avec Fort&eacute;, mais pour
cela il me faudrait r&eacute;cup&eacute;rer les informations
d'identification de chaque utilisateur sur le serveur
NT. Questionner le serveur en utilisant les m&ecirc;mes noms et mots de passe
utilisateurs que le serveur.
Cela est-il possible ?
Je vous remercie par avance pour vos r&eacute;ponse .
A bient&ocirc;t
Olivier.
Olivier Andrieux
Axialog Lille
France

Similar Messages

  • Question about SWT Login

    Hi all i'm new to SWT and i was trying to create a login shell to log on to my main shell. My problem is i can't get the shell to read from oracle. The login information is stored in an Oracle database.
    This is my method for capturing login infomation:
    public static String getPass(String UserName, String Password){
    try{
    String login ="Log";
    String nolog = "Invalid";
    dbConn = db.getDBConnection();
    Statement statement = dbConn.createStatement();
    ResultSet rs=null;
    String query = "Select * from administrator where adminName = '"+UserName+"' and      adminPassword = '"+Password+"'";
    rs=statement.executeQuery(query);
    int counter = 0;
    while(rs.next())
    counter++;
    if(counter == 0)
    return nolog;
    else return login;
    catch (Exception e){
    return(e.toString());
    Here is a code snippet from my main method:
    btnLogin.addSelectionListener(new SelectionAdapter() {
    public void widgetSelected (SelectionEvent e) {
    String Username = txtUserName.getText();
    String Password = txtPassword.getText();
    String Check = getPass(Username, Password);
    if(Check.length()<4){    
                             shellMain.open();
         shellLogin.dispose();                    
                        else{
                             JOptionPane.showMessageDialog(null, "Please enter correct username and password");
                             txtUserName.setText("");
                             txtPassword.setText("");
    Basic the problem is with my if statement. If i say Check.length()>4 it always logs in and if i reverse it, it never logs in.
    My database is working fine and is populated. My JDBC code is fine aswell.

    Hey pj,
    you can have as many accounts on your machine as you like and that seem fit to you.
    floba
    PS: Man, I have to type faster as long as V.K. lurks around
    (MN316)
    Message was edited by: floba

  • A question about JSF login

    Hi all!
    I am following this link (http://benjmaz.blogspot.com) for handling session in my application.
    I am unable to understand that what attributes and methods would be there in the MemberManager class, object of which we have created in LoginBean.java class, please give me some clue about this.
    Thanks in advance.
    Edited by: 857452 on May 17, 2011 2:22 AM

    How can i do if user close browser without logout? You pretty much can't do anything about that, and shouldn't. There is one thing you could do (but probably shouldn't), and that would be to include some javascript on your page to handle the "onExit" (or something like that - I don't know off the top of my head, but there is a way to trap navigating away from a page, which includes closing the browser) event to invoke whatever URL you want to, to tell it the person is "logging out".
    Other than that, you could rely on session timeouts, and handle the event on your server side which happens when the session expires.

  • Basic Questions about JSF, Login and Session

    Hi,
    I try to implement a login/logout function on my jsf-website. I create one <form> with Login and Pass to enter. My AuthenticBean(sessionbean) checks login and pass. If Login is "ok" the login and pass will set in the authenticBean (min. value of login and pass = 2).
    Now I check protected .jsf files (files who need a login) if in the AuthenticBean the login.equals("") or pass.equals(""). If so, the user is not logged in.
    Is this a safe method or should I choose a better way to have secure login/logout functions. Perhaps its better to create a userSessionBean after a succeful login and check it with HttpServletRequest rq.getSession().getAttribute(userSessionBean)?
    I am confused a little bit and I hope you'll help me:)
    Thnx Alex

    Implement a javax.servlet.Filter and indeed use the attributes of the HttpSession.

  • Question about ssh login warning: Bad protocol version identification

    I set up ssh on my computer according to Tim Haigh's suggestions given here:
    http://discussions.apple.com/thread.jspa?threadID=1674968&tstart=0
    But when I log in from my iPhone, secure.log shows this:
    sshd[534]: Bad protocol version identification 'GET / HTTP/1.1' from 208.54.83.51
    Although I do log in successfully, how can I resolve this error?

    GET / HTTP/1.1
    Looks more like a Web browser handshake, than ssh.

  • Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in. Thanks

    Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in.

    You don't. Email comes in either by push or when you invoke the email app. Ther is no password except when you first set up the account. If your iPad is not being used as your personal device and you need to shield emails from other users, then don't use the email app.  Instead, use web mail if available from your provider.

  • Basic questions about login

    I got 2 questions regarding to login,
    1. I'm on a 8i DB, when it is shutdown, I want to login again.
    for "sqlplus internal", it says connect to an idle DB.
    for "sqlplus sys/password", it says
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or director
    is this normal? I'm pretty sure my /etc/system is OK and the shutdowns are clean.
    set shmsys:shminfo_shmmax=805306368
    set shmsys:shminfo_shmmin=200
    set shmsys:shminfo_shmmni=200
    set shmsys:shminfo_shmseg=200
    set semsys:seminfo_semmni=4096
    set semsys:seminfo_semmsl=500
    set semsys:seminfo_semmns=4096
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767
    2. For OS user authentication, I understand if the user is a DBA, I would put him in group "dba", then set remote_login_passwordfile=none.
    My question is: how about a regular user? OS authenticaion is only for DBA?
    I may just got myself confused, please give me a hint. thanks.

    I understand now. The problem was the syntax.
    I used
    sqlplus terry/pass as sysdba
    which should be
    sqlplus "..."
    and the second question is clear as well.
    Thanks,
    Terry

  • A quick question about WebDynpro SLD and R/3 with concurrent users

    Hello ,
    I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3  for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
    - I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
    Thanks Ubergeeks,
    Guy

    Hi Guy
    You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because  a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
    For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
    Regards
    Pran

  • Basic questions about JAAS capabilities

    I've never used JAAS for authentication or authorization in a Java app before. Can somebody that has (or at least has some experience and knowledge about JAAS) please answer the following couple of basic questions about it? (I know I could probably answer these myself with a few hours of reading.)
    1. Can I use JAAS to restrict the users that can execute specific methods of my code?
    2. If the answer to #1 is yes, is there a way to programmatically determine if a JAAS login user has the permissions to run a method before actually calling that method. In other words, can I ask something like canUserExecute(method) or do I have to just put the call to the method in a try/catch and catch a security exception of some type?
    3. Is it fairly simple to have JAAS authenticate against a Windows Domain or a LDAP server?
    4. Are there programmatic ways to add or edit user information in JAAS?
    Answer to any of these questions are greatly appreciated. I'll even toss a couple of Dukes to the people that answer each question. Thanks in advance.

    You might look at the AfterthoughtSoft-Secure product at http://www.advancedmodelingconcepts.com. It is designed to do just that and will easily allow you to connect to users/group repositories that are in anything from a simple text file all the way up to Kerberos V.
    You can contact the author of the product (me) at bart dot jenkins at gd-ais dot com.
    bart

  • Question about Single Sign On

    Hi Gurus!
    I have a question about the following scenario:
    The login in EP6 is with the NT User (adriano.oliveira), but to access the SAP applications I need to use another User (aoliveira - the size of the NT User is bigger than SAP User length).
    I know this works with user mapping, but the problem is that each user will need to configure his mapping (5000 users). Then I think the option is to use the SAP Logon tickets.
    My doubt is: Is it possible to validate a user id at login (in the EP6 SP10) and generate the client certificate with another user id???
    Important: In the AD (Active Directory), for each NT User id, there is a field with the SAP User id. I could use this field...
    Thanks for any help.
    Regards,
    Adriano

    Adrianao,
    You can maintain reference SAP Server.
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/845896b89711d5993900508b6b8b11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/d82c4142aef623e10000000a155106/content.htm
    Hope this helps,
    thanks,
    Praveen

  • Questions about Access Manager tutorials available in netbeans site

    Hi
    Thank you for reading my post
    I have some questions about two tutoral which i find in :
    http://www.netbeans.org/kb/55/amsecurity.html and
    http://www.netbeans.org/kb/55/amsecurity-liberty.html
    here is my problem :
    we have some web services, now we want to have authentication applied for consumer who try to access our web services.
    we need to have most possible flexibility because we may deploy the server for a customer with an already established Identity database ( Database Table with user details)
    Also we need to have Transport level security using SSL.
    I read and studied both of them and now i have some questions :
    -I think Securing Web Services Using the SAML or UserNameToken is what we need for authentication and autorization of web service consumers?
    is that right?
    -Does Sun Java System Access Manager provide flexibility to authenticate user/password with a database table content?
    -How we can apply roles in Sun Java System Access Manager when we authenticate users ?
    Thanks

    Imagine that we want to have an end to end security for our web services
    we thought that we could use message level encryption to protect the soap message and also we should protect our web services from un-authenticated acess,
    we will use userName token for this.
    Our customer has large database which contains many user/password and role of those users.
    some of web services should be available to higher role (manager) and not for all users.
    so we should check a user role before we allows him/her to access a web service.
    my question is whether Sun Access manager can help us with this? or there are other configuration or packages that we should apply to have this feature.
    to explain more :
    our client side is a swing application, users enter username/password to login into system. after they loged in, we send user/pass every time user want to request some data from some services. (is it good to send user/pass every time?)
    We want Sun Access Manager to handle users authentication .
    We also need to handle role related authorization, can Sun access manager handle this?
    Thanks

  • Question about setting cookies and custom authentication

    I have a question about setting cookies.
    I have two different 'projects' in HTMLDB - we will call them App1 and App2.
    I also have two different connection configurations setup in the DADs.conf file. - we will call them Connect1 and Connect2.
    App1 is setup to use database authentication (no user is specified in the DAD) and uses Connect1. Once the user successfully logs in, we set a username cookie (this is a persistent connection).
    We created a custom authenticatoin scheme for App2 - this scheme checks for the username cookie (set by App1). We would like for App2 to use Connect2 (HTMLDB_PUBLIC_USER is the default user specified and it uses connection pooling).
    Is it possible to set a cookie from App1, Connect1 for App2, Connect2 - then redirect to App2 and pick up that cookie?
    Here is an example of what we are trying to accomplish:
    A user loggs into App1, we set a cookie, and the user is redirected to App2. If the cookie exists, we allow them access to the home page in App2, if no cookie, we redirect back to a 'Login Failed' page in App1. We don't want App2 to use the same database connection as App1 though, we need App2 to use connection pooling.
    Is this possible? OR...Is there a better way to accomplish what we want to do?
    This is an enhancement to an existing app. Our requirements are to use Database Authentication (setup where pass expires after 60 days or so, cannot reuse last 3 passwords, etc.) - which is already setup and being used by other applications in our organization. All of our users have accounts in the database. We don't want users to have a new username/pass - and we don't want to manage a separate group for HTMLDB apps.
    The existing application uses HTMLDB's built in authentication - which uses database username/pass, and it uses connection pooling, but we cannot handle the pass expire stuff in it, unless there's something we're not seeing or understanding - at least that's how our DBA explained it to us.
    Any help with this will be appreciated so much. I can send you the code we have if needed.
    Thanks!

    Same problem here.  I have so many problems with this remote app.  Is there an iTunes API? I would like to write my own remote app that actually works.

  • Muvo V200, question about the play m

    Hello,I have a question about the play mode on my V200. I want to play the songs in a specific order (like in a playlist) but I don't find the way to do this. Can you help me please ?
    Thanks
    (sorry if I don't speak english very well, but I'm french )

    Hi!
    To get the tracks to play in a specific order, put numbers at the beginning of each file name. E.g.: file 'examplesong.mp3' would become '0_ examplesong.mp3' Don't spend years doing that manually though; the computer will do it for you! Click on 'my computer', then click on 'Muvo V200 media explorer'.. This shows the contents of your player. Choose the folder that you want to reorder the songs in...
    ( it's best to put the songs in folders, like you would in a floppy disk, as the muvo can only hold a certain amount in the root directory, and folders are great for organisation - eg: you can put one CD in each folder, and then the player will play all of the tracks in that folder before moving on to the next one )
    ...and click on it to display the songs. In the pictures along the top of the window, 4th from the right is an icon with a downward facing arrow and an A above a Z. Click on this, it's called 'custom sort'. You can then use the arrows at the bottom to change the order of your tracks to how you want them. Click OK, and they'll all be numbered (and so will play) in that order.
    Hope that helps!
    x

  • Question about imap log format.

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account Notice: close [203.231.11.113] ywmoon 2005/12/26 13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account Notice: close [203.231.14.251] hkchoi 2005/12/26 13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ? And is this "hour:minute:second" OR "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean ?
    Thank you in advance...

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account
    Notice: close [203.231.11.113] ywmoon 2005/12/26
    13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account
    Notice: close [203.231.14.251] hkchoi 2005/12/26
    13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?how long the connection lasted.
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?Number of messages?
    that's a guess. we don't actually document this stuff.
    >
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ?
    And is this "hour:minute:second" OR
    "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean
    Thank you in advance...

  • TrackControl, Change Track, and others questions about AvTransmit

    Hi there,
    I've got multiples questions about JMF and AvTransmit, hope you will help
    For a small student project, i'm developing a streaming server using JMF, i have used the AvTransmit example.
    Streaming, etc... everything work fine, i stream music over web
    But i need help with "playlist" :
    // Get the tracks from the processor
    TrackControl[] tracks = processor.getTrackControls();
    First Question :
    The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
    At this time, i can only set 1 file in the MediaLocator.
    I'm using a simple class as Playlist (a File[]), and, when i want to change song, i stop the thread, change the MediaLocator with another file, and restart the thread.
    It works on a Lan, but on Internet, Player (I use VLC for my test) lost the connection, i need to restart VLC to get audio again.
    Second Question
    Is there a more "elegant" way to change tracks ?
    Last Question
    I have think about building my own object Playlist... gasp...
    I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
    If someone knows information about this...
    That's all ;)
    Thanks !
    Tommy, french student (sorry for the english)

    First Question :
    The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
    At this time, i can only set 1 file in the MediaLocator.No. The processor uses a MediaLocator to get one file. Files (can) contain multiple tracks.
    You can, in fact, combine the tracks of multiple files together, but, there's no need to do that with your application. AVTransmit2 sends each track as a separate RTP stream, so you'd just be sticking them together just to pull them apart again.
    In general, you want to keep your architecture as one processor per file, one RTP stream per track.
    Second Question
    Is there a more "elegant" way to change tracks ?Yes. It's what I refer to as a jukebox DataSource. I discuss it / explain the concept on this previous thread.
    [http://forums.sun.com/thread.jspa?forumID=28&threadID=5400318]
    What you're essentially doing when you change the MediaLocator is starting over from scratch. You end up with a whole new DataSource, whole new Processor, whole new RTP session. On the LAN, this isn't an issue because it looks like you paused the RTP session (because the IP/PORTs don't change).
    Over the internet, though, when you stop sending and restart, you're very likely going to get a new public NAT port. And so when your stream gets to the client, it's going to look like it's from a different person than the original.
    The solution is to use the jukebox datasource to change the media without restarting the Processor or the RTP streams. That'll ensure that your stream won't move between files from the perspective of the client...
    Last Question
    I have think about building my own object Playlist... gasp...
    I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
    If someone knows information about this...Ummmm, your "Playlist" object should just be a Jukebox datasource, so follow the link and figure out how that's supposed to work. If you have questions about it, just ask 'em here (rather than on the older thread)...

Maybe you are looking for