Using the same Realm for passwd auth and ssl auth

Hi,
does someone can tell me if it's possible to use the same Realm to authenticate
some client with username,password and other client with certificates.In other
word can a same realm support 2 different authentication method
Thanks a lot
romain

Yes.
The AbstractListableRealm, which I assume you're extending,
has three methods:
authUserPassword :
checks passwords
authSSLCertificate :
is passed in the certificate verified by the SSL
handshake. The default implementation of this
method hands the certificate to the CertAuthenticator
(if there is one). The CertAuthenticator typically
uses one of the fields in the certificate to come up with
a user name (eg. the email address minus the @ stuff),
then verifies that there is a user with that name in
the realm. Since SSL verfied the certificate, this
method doesn't do any further checking. I think we
ship a SimpleCertAuthenticator sample that you can
look at.
authCertificates :
Like authSSLCertificates except that the certificate
came from someplace else. I'm not sure under what
conditions this is called.
Normally, the realm worries about the user/password
authentication then relies on the CertAuthenticator for
the certificate stuff. The CertAuthenticator maps the
certificate to a user name then goes to the realm to
make sure that there really is a user with that name.
-Tom
"romain" <[email protected]> wrote:
>
Hi,
does someone can tell me if it's possible to use the same Realm to authenticate
some client with username,password and other client with certificates.In
other
word can a same realm support 2 different authentication method
Thanks a lot
romain

Similar Messages

  • HT4314 I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

  • Do I use the same password for apple ID and for iCloud?

    I am not getting mail on my iphone or my ipad air!
    When I put the password for my apple ID into icloud- it keeps reverting to another password. i.e. doesn't hold the apple ID password.
    Is this a problem keeping the mail from getting to my phone and ipad?
    DO I USE THE SAME PASSWORD FOR APPLE ID AND ICLOUD?
    Help. and MERRY CHRISTMAS

    What are you trying to do when you say "When I put the password for my apple ID into icloud- it keeps reverting to another password"?
    Where are you doing when you try to enter your password?

  • Can I use the same itunes for my ipad and iphone?  Will the computer erase my other device information?

    Can I use the same itunes for my ipad and iphone on my computer?  Will the computer erase my other device information?

    The computer will not erase the information.  Each device will show up in iTunes as a separate device and you can control the information for each device through iTunes.

  • I want to perform bidirectional i/o using a pci-6534.The problem is that i need to use the same lines for i/p and o/p. is that possible?

    I want to perform bidirectional i/o using a pci-6534.The problem is that i need to use the same lines for i/p and o/p. is that possible? And if it is how an i doing this?

    Hi I Pant,
    The idea that crossed my mind was to tie each of the lines coming from/going to "your device" to two of the DIO lines. Configure one these two ports as input, the other as output.
    When you want to read the state of the line, read from the line configured as input. Similarly, use the other port when it is time to write.
    Provided "your device" uses tri-state drivers/receivers, or can be used in a "wired-OR" configuration, this may work.
    What is "your device"?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Using the Same Profile for Outlook Connector and Exchange

    Is anyone using the same profile in Outlook for both the Oracle Connector for Outlook and Exchange server? Only Exchange would have an IMAP mail service defined.
    Oracle tech support kindly provided me with the following information but I would really appreciate hearing about customer experiences:
    "In theory this should work without causing any problem if only one service within the same Profile is configured for mail. However, before configuring a large amount of users with such a configuration, please start with 1 user and perform some tests, as I am not aware of anyone using such a configuration. The fact that you want your Oracle calendar users to invite Exchange users, will be like inviting External users, the Free/Busy information for these users will not be available etc. Also inviting external user is an already existing feature of the Oracle Calendar."
    Thanks very much.
    Brenda

    We are doing it currently as we are switching over from Exchange 5.5 to OCS. We set up a profile using the Oracle connector and then go into properties and add the Exchange account. We used this method to move files from the Exchange server to the Oracle server by having both profiles running.

  • Using the same client for both regfree and out-of-proc COM

    Hi,
    Here is the context:
    1. We have the same set of COM objects that can be deployed as in-proc COM servers (dlls) or out-of-proc COM servers (exe).  In-proc servers are called through regfree COM.
    2. We have test projects that use the in-proc COM servers through regfree COM.
    I would like to use the same test client projects for both regfree and out-of-proc COM servers (but not at the same time). For example, I would like to first run the client using regfree COM, then delete the in-proc dll and register the out-of-proc com server,
    and then run the client again without having to recompile.  But I have not found a way to do this.
    Instead, what I have to do is modify the project settings of the test client project, removing the regfree stuff (the manifest dependencies) before I can use the test client project with the out-of-proc server.
    Is there a way to do this without recompiling?
    FYI, I have tried regfree COM by changing the client project's Project->Properties->Linker->Manifest file->Additional Manifest Dependencies, or by changing the client project's Project->Properties->Manifest Tool->Input and Output->Additional
    Manifest Files.  Either way works with regfree COM.  And either way I have to remove those settings before making it work with out-of-proc COM (and hence recompiling, which is what I am trying to avoid).
    Thanks,
    Nick

    Try Manifest Tool > Input and Output > Embed Manifest = No, and change Linker > Manifest File > Manifest File to drop ".intermediate" in the middle (or just rename the file after the build).
    A manifest doesn't have to be embedded into the executable, it could be a standalone file named like ApplicationName.exe.manifest and sitting in the same directory next to the .EXE. Then you can simply delete or rename it back and forth to switch between
    registered and reg-free COM.
    Igor Tandetnik

  • My password is not working and I can not change it or use my Apple ID. I know it is the correct one because I have used the same one for a while and keep it locked in a safe.

    My password no longer works, I have tried to change it but can not. I know it is the correct one because I have not changed it and keep a verification in a safe. It works a few weeks ago.

    Had similar issue calling Apple seems to be the only way to resolve the problem.  The issue can be resolved when you get to iTunes, since they are the ones that keep  this info. They will ask you your security questions and your purchases software, music etc. Once they are happy with your answers they will get you back up. If you choose you could go the route of forgot my password etc. but I never had any luck with that. Just my 2 cents.
    Steve

  • To use the same code for many movieclips

    Dear all.
    I am using the flash to build my personal book online. I need zoom  many movieclip, my images.
    i make the code and function perfectly. But I want to find a way to use the same function for all movieclips and so, mantaining my code clean.
    mc_01.addEventListener(MouseEvent.MIDDLE_MOUSE_DOWN, Drag);
    mc_01.addEventListener(MouseEvent.MIDDLE_MOUSE_UP, unDrag);
    mc_02.addEventListener(MouseEvent.MIDDLE_MOUSE_DOWN, Drag);
    mc_02.addEventListener(MouseEvent.MIDDLE_MOUSE_UP, unDrag);
    and many others....
    function Zoom(e:MouseEvent):void
            mc_01.x = 0;  //I try here for this.x but the previews movie, called "Books" is who have changed your x value.
            mc_01.y = 0;
    I
    EDIT: For untangle, the previews movie is called MyAllPhotos and then, contain all movieclips that are each movie clip is one my images

    Hi Mr Kglad.
    And when I call a property like a X position I use this["mc_"+padF(i)].x = 0;  for substitute the mc_01.x = 0 ?
    My problem realy is inside the function. Your loop add an event to my clips and direction to function Drag and UnDrag.
    But inside in this functions, I need get some informations for the clip.
    Here the code:
    function Zoom(e:MouseEvent):void  //Sorry, but the correct name my functions is Zoom and not Drag and unDrag
               var mod:Number = 50;
               mc_01.scaleX += e.delta / mod; //in this name mc what I need to use? this, parent? I try and not function.
               mc_01.scaleY += e.delta / mod;

  • My iPod won't charge on a wall charger, only on the computer. I used the same cord for both though. I used to be able to charge it with a wall charger, but now suddenly I can't. I've even used other wall pieces. Nothing seems to work.

    My iPod will no longer charge with a wall charger, only the computer. I know it's not becuase of the wall piece or my cord, since I also use the same cord for computer charging, and the wall piece seems to work with others devices. It worked a couple of weeks ago, then suddenly quit. I think it may be something to do with the inside of my iPod where the charger goes. I find it really inconvient to always have to use the computer to charge my iPod. I believe I have a three year warrenty on my iPod, but I wouldn't think it would cover this problem. Is there anything I can do to fix it?

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store. Bring the wall charger
      Apple Retail Store - Genius Bar
    If you have a three-year warrany it is not from Apple. The standare Apple warrantyis 1 year and y can purchas an extended warranty that give y a total of two years. You can check your Apple warranty coverage hee:
    Check Your Service and Support Coverage

  • How do I change the icloud account on my iphone? I want to use the same account for all my apple devices (macbook air and imac and iphone). I can't see where I can amend the iphone account because it is in grey?

    I want to use the same account for all my apple devices (macbook air, imac and iphone). I can't see how I can amend the iphone account because it is in grey? I also can't remember the password for this account so i can't even delete it and start again?
    Help!
    Thanks

    Deleting an iCloud account only deletes it from the Device, not from iCloud.  In iOS 8, the name of this setting changed to "Sign Out" as that is a better reflection of what actually happens.  Your iCloud data remains on the server, available to devices still signed into the account, but the device you sign out of the account on is disconnected from the account, and as a result, the iCloud data from that account is removed from the device.  It will redownload to the device should you sign back into the account.
    The only issue you'll run into when you switch between accounts is with my photo stream photos older than 30 days.  When you delete (or sign out of) and account, your photo stream photos are deleted along with the other data from the account in question.  However, unlike other data which remains on the server and can redownload to your device when you sign back in, my photo stream photos only remain in iCloud for 30 days.  When you sign back in, you will only get back my photo stream photos added in the last 30 days (as older photos are no longer in iCloud to redownload).  Like other account data, any my photo stream photos on your other devices signed into the account are unaffected by this.  If you want to keep older my photo stream photos on your device as you change iCloud accounts, save them to your camera roll before deleting (signing out of) the account.

  • I have used the same laptop for all three of my iPhones but awhile back this laptop had a virus so my husband wiped it out and now when I sync my iPhone I no longer get my entire music library ( including purchased songs) on my iPhone. How do I fix this?

    I have always used the same laptop for all of my iPhones but awhile back this laptop had a virus so my husband wiped out the laptop and now when I sync my iPhone I no longer receive my entire music library (including purchased songs) on my iPhone. How do I fix this?

    kimberlyfromtopeka wrote:
    Ok,thanks but, I should be able to something so that I am able to sync the entire library again not just the purchased songs.
    If the non purchased music is not on your computer, how can it Sync to your iPhone...

  • HT204074 How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    Correction, thats two itune id's

  • How to Use the same iview for both KM End User and the KM Administrator

    Hi friends,
    *This is my scenario :* How to Use the same iview for both KM End User and the KM Administrator but with different Context
    Menu Options.
    i followed these steps but im getting same context menu for both KM End User and the KM Administrator .
    Assign the role Content Administrator to the user km_admin. This is needed so that km_admin can change
    the presentation settings for the KM Folder u201EReports_kmFolder‟.
    Now, login with user km_admin. Navigate to the Km Folder reports_kmFolder through Content Administration
    -> Km Content. Click on Details link of the folder reports_kmFolder.
    Go To Settings -> Presentation. Click on the tab u201ESettings for You‟-> Click on button u201ESelect Profile‟.
    Select the radio button corresponding to u201Elayout Set‟, and choose u201EConsumerExplorer‟ from the dropdown.
    Click u201EOK‟.
    Select both the check boxes corresponding to Items Affected as shown above, and click u201ESave‟
    Now, remove the u201ESuper Administrator‟ role from the user km_admin and login with this user.
    How rto resolve this????
    Regards,
    Prasad.

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • Good night recently my iphone 4s was exchanged for a new one because was defective and was in warranty. the problem is that now I try to use the same apple id on itunes and applications while had bought the old iphone does not appear and I think should ap

    good night recently my iphone 4s was exchanged for a new one because was defective and was in warranty. the problem is that now I try to use the same apple id on itunes and applications while had bought the old iphone does not appear and I think should appear. Can someone help?

    ?

Maybe you are looking for