Help! Has anyone used ArrayList.toArray() ??

Running the following program always cause runtime exception under both
jdk1.3.1 and jdk1.4.0 beta3, does anyone can help me ?
Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object;
at ArrayList2ArrayTest.main(ArrayList2ArrayTest.java:17)
import java.util.*;
import java.io.*;
public class ArrayList2ArrayTest {
     private static String[] name = {
               "Bruce", "Tom", "Mary", "Rose"
     public static void main(String[] args)
                                        throws Exception {
          ArrayList alist = new ArrayList();
          for (int i = 0; i < name.length; i++) {
               alist.add(name);
          String[] alias = (String[]) alist.toArray();     
          System.setOut(stdout);
          for (int i = 0; i < alias.length; i++) {
               System.out.println(alias[i]);

You were trying to assing an array of arrays to a simple array.
With this modifications the code runs:
for (int i = 0; i < name.length; i++) {
     alist.add(name);
String[] alias = (String[])alist.toArray(new String[0])
Or leave the alist.add() method unchanged and use this line:
String[][] alias = (String[][])alist.toArray(new String[0][0]);

Similar Messages

  • Has anyone used MC Helper to reset hotmail on their Mac?

    Has anyone used MC Helper to reset hotmail on their Mac. I just did and I'm am worried as I gave them access to my computer over the phone. They have solved access to my hotmail account though, but they charged $200 for it plus a years free support. I was very suspicious but in the end went ahead. I now fear that they may be a scam of sorts. They could have implanted or encrypted something on my mac. Is this likely? Does anyone know? I'd be most grateful.

    LogMeIn Rescue is for one time support. This is a common tool used to support users. Microsoft uses it when they do support. I use one of the LogMeIn products myself when working with clients.
    In the future if you need help with a Microsoft product you can get free help on the Microsoft forums.
    Answers -Office for Mac
    Getting Started: http://answers.microsoft.com/en-us/mac/forum/macstart
    Word: http://answers.microsoft.com/en-us/mac/forum/macword
    Excel: http://answers.microsoft.com/en-us/mac/forum/macexcel
    PPT: http://answers.microsoft.com/en-us/mac/forum/macpowerpoint
    Outlook: http://answers.microsoft.com/en-us/mac/forum/macoutlook
    Entourage: http://answers.microsoft.com/en-us/mac/forum/macother
    Skydrive: http://answers.microsoft.com/en-us/windowslive/forum/skydrive?tab=QnA
    Lync: http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/threads
    Forum for Hotmail, Live, Outlook.com accounts
    http://answers.microsoft.com/en-us/windowslive/forum/mail
    O365
    http://community.office365.com/en-us/forums/default.aspx
    Hope this helps!

  • Has anyone used a Dell 1908FPb with a MacBook Pro OSX 10.6.8?  What do I need to get/do?  thanks

    Has anyone used a Dell 1908FPb with a MacBook Pro OSX 10.6.8?  What do I need to get/do?  thanks

    Hi 4judy,
    If you are looking to use an external display with your MacBook Pro, you may find the following articles helpful:
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    http://support.apple.com/kb/ht3382
    OS X: How to use multiple displays with your Mac in Mountain Lion and earlier
    http://support.apple.com/kb/ht5019
    Regards,
    - Brenden

  • Has anyone used Aperture 2.0 with 8800GT?

    Has anyone used Aperture 2.0 with the new 8800GT? I'm about to order a new Mac Pro and wonder if Aperture will get a speed boost with the 8800GT over the HD 2600XT. I've read many times that Aperture is very GPU dependent, but then I've also read, on Barefeats.com for example, that the graphics card really doesn't do that much of a difference after all.
    For me, on my dual 2.0 G5 with 4.5GB and a X800XT, what's been most annoying with Aperture 1.5 has been the slow load times for raw images (15-20MB). But now with the quick preview mode in Aperture 2.0, that really isn't an issue any more.
    Is the 8800GT worth waiting for, or should I just get the Mac Pro now with the HD 2600XT?

    Hi Don
    I'm using Aperture 2.0 with the 8800GT. My system is the new MacPro 8 core 2.8GH with 10GB RAM. I'm shooting Nikon D3 lossless compressed RAW files. Approximately 12-14MB each.
    I do not need to use the quick preview mode. Images open instantaneously,either fit to screen or 100%. All the image adjustments are shown with no time lag. My D2X uncompressed raw files,19MB, display in approximately one second with quick preview turned off.
    I'm no MAC hardware expert so I don't know how much the speed is the result of the 8800GT but I'm just one happy camper.
    Hope this helps
    John Blake

  • Has anyone used the QuickUSB module (Bitswise Systems) to interface to a USB Camera via IMAQ for USB?

    Has anyone used the QuickUSB module made by Bitwise Systems with LabVIEW for image acquisition.   I have a USB camera and I'm trying to use the IMAQ for USB controls to no avail.   Any input is appreciated. 

    Are you using the NI-IMAQ for USB functions or are you calling the QuickUSB libraries from LabVIEW?  Unless the USB camera is DirectShow compliant, then it will not work with the NI-IMAQ for USB driver.  You can use the Code Interface Node in LabVIEW to call external dll's, and it looks like from QuickUSB's website that is the best way to go.  Hope this helps.
    Jason N 

  • Has anyone used "Microsoft.BizTalk.B2B.PartnerManagement" API ?

    Hello, forum; trying to make sense of that undocumented API library to create an agreement using BizTalk 2010. So far, I can create a Partner, Business Profiles, Business Identities and Partnerships, but how to create an agreement (onewayagreements and all
    that) still eludes me. I have checked one reference, it was written by Mick Breeze (http://blogs.breeze.net/mickb/2012/05/22/BizTalk2010CreatingTPMPartnersThroughCode.aspx),
    and also getting inspired by the newest published in here (http://msdn.microsoft.com/en-us/library/windowsazure/dn232396.aspx) which is not the same but at least it's something.
    I have navigated through the classes but I can't manage to do all the tasks that it is suppose to achieve.
    Has anyone used this before that may be able to help ? Is there any SDK sample of some sort ?
    Thanks in advance.

    Partner automation. The user wants to use an asp.net form instead of using biztalk admin console, in order to create and update a large party database, the total count rounding between 300 to 500 partners, so, we have already a webform with all business
    related information and we've add some port related information that will ultimately end up as the party information. With that info, this library should be able to accomplish everything we normally do from the console.
    We are not migrating from a previous version, so the party migration tools is a no-go. We explored the idea of creating a binding-like file that would be loaded from BtsTask, but ultimately, we end up with the idea of using this obscure library to perform
    all those so called duties of handling party related information on biztalk server.
    Thanks in advance.

  • Re: Interfaces in Forte - has anyone used them?

    We are making use of interfaces extensively and have never had the
    slightest problem. Interfaces do not cause any overhead, since they are
    mainly a means to support type checking by the compiler. At run-time the
    interface does not appear any more.
    Using Forte 3.0.F.2
    General wrote:
    >
    We are embarking on the analysis phase of a large pay/personnel project. =
    We have been advised to use interfaces wherever possible, because they =
    promote flexibility and reusability. I am fairly well convinced of the =
    benefits of using interfaces - they appear to have a lot of advantages, =
    and no drawbacks. However, I do wonder whether Forte's implementation of =
    interfaces is stable and usable (..it was only introduced in version 3). =
    If not, we may be better advised to use standard techniques.
    If you have used Forte interfaces I would be interested to hear how you =
    got on.
    regards,
    Tim Kimber--
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Eric,
    You are correct, "manipulate anAIFace object" is not really the correct
    way of thinking about what is happening. We are really manipulating an
    instance of an object through an interface.
    In regards to your other statement: "if Project C needs visibility to B,
    it must have B as a supplier Plan." Forte does not force this to happen
    when you are using interfaces, which is what causes the problem. Let me
    expand on my initial example and add enough detail so that you can create
    the problem, which surfaces as a deserialization error:
    Project A (No Supplier Plans)
    Defines Interfaces: UnitIFace with method GetValue() which returns an
    integer
    Project B (Contains A as a Supplier Plan)
    Defines Class: Unit with attribute _Value as an integer and method  
    GetValue() which returns _Value.  Implements interface UnitIFace.
    Project C (Contains A as a Supplier Plan)
    Defines Class: Square with method Calculate which accepts an
    UnitIFace as an input parameter and returns an integer. This class needs
    to be setup as a distributed object so that I service object can be
    defined using this class.
    Defines Service Object: SqaureSO using the Square class.
    Project D (Contains B and C as Supplier Plans)
    Defines a class or uses a window that creates an instance of Class B
    and passes it to the SquareSO service object that sqaures the value and
    returns an integer.
    Once this is setup, use the running man to run everything locally. This
    will run fine because the dependencies for the local partition end up
    including Projects A, B, C and D. Next, run distributed and move the SO
    to a remote partition. Now when you execute you will receive a
    deserialization error. This happens because the dependencies for the
    remote partition only included project A and C. The partition did not
    have the necessary information to deserialize the underlying instance of
    Class Unit that is referenced through the inteface UnitIFace.
    The problem can be resolved by either adding Project B as a supplier plan
    to Project C or ensuring that the interface and class are declared in the
    same project as I suggested in my previous message. In either case, this
    must be resolved by the programmer since Forte is not yet smart enough to
    correctly resolve the project dependencies, even though all of the
    information needed to establish the correct dependency hierarchy is
    available.
    Bradley K Wells
    [email protected]
    Strong Capital Management, Inc
    http://www.strong-funds.com/
    From: Eric Pereira
    Sent: Friday, July 31, 1998 5:57 PM
    To: [email protected]
    Cc: [email protected]
    Subject: RE: Interfaces in Forte - has anyone used them?
    Bradley,
    Thanks for that descriptive note on interfaces.
    I do have a observation : in that example you gave us, if Project C
    needs visibility to B, it must have B as a supplier Plan. Therefore, I
    don't quite understand how partioning classes in C would end up with a
    run-time errror in distributed mode, given that B supplies C (something
    you've perhaps missed out in your example ?).
    Also, is it really possible to "manipulate AIFace objects" ? Interfaces
    are'nt really objects, they just help implement a compile-time type
    check.
    Thanks.
    Eric Pereira
    Forte Consultant
    ----<snip>------------------
    Example:
    Project A - Contains AIFace
    Project B - Contains Class B which implements AIFace, depends on Project
    A
    Project C - Contains Classes manipulating AIFace objects, depends on
    Project A
    This can run fine locally since the local partition has knowledge of all
    the classes in A, B, and C. Now as soon as you throw a service object
    on
    classes on Project C and push them into a remote partition, your
    application starts failing because that partition does not contain the
    information form project B since there is no dependency on that project.
    The partition needs the information from project B though since it
    contains the definitions for the actual implementation objects, however
    there was no way for Forte to determine that need when it generated the
    partition.
    This problem is initially eliminated by keeping the interfaces in the
    same project as the underlying business objects. But once you start to
    have interfaces implemented by multiple classes from multiple projects,
    then this won't cover all the bases either. In any case, it is an issue
    that you will need to consider at some level when using interfaces.
    Good luck!
    Bradley K Wells
    [email protected]
    Strong Capital Management, Inc
    http://www.strong-funds.com/
    From: "Ngai, Stuart" <[email protected]>
    Date: Thu, 30 Jul 1998 11:10:50 -0400
    Subject: RE: Interfaces in Forte - has anyone used them?
    With version 3G, you can not create an array of interfaces. I believe
    Forte
    will have that feature in version 4 (which is scheduled to be in
    production
    at the end of next year).
    -----Original Message-----
    From: Thomas Kunst [SMTP:[email protected]]
    Sent: Thursday, July 30, 1998 8:52 AM
    To: [email protected]
    Cc: General
    Subject: Re: Interfaces in Forte - has anyone used them?
    We are making use of interfaces extensively and have never had the
    slightest problem. Interfaces do not cause any overhead, since theyare
    mainly a means to support type checking by the compiler. At run-timethe
    interface does not appear any more.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Has anyone used the new 5K retina iMac with Lightroom

    Has anyone  used Lightroom with the new 5K Imac. If so any problems ?

    Just bought one - arrives next week. From what i can tell it's should be the fastest mac for lightroom. Processor speed is most vital. Doesn't really use all the mac pro multiple cores as I understand 4 is plenty (correct me pls?) and 16Gb ram should hopefully do it. Getting a raid thunderbolt 2 drive for image storage which will daisy chain with my eizo monitor. Choose 3tb internal fusion as I understand full SSD doesn't really help too much. 2GB graphics plenty unless you're doing video maybe?.
    Only issue is I have a series of archive 3TB firewire 800 drives which are daisy chained. the questions is how will these work with an adapter but this remains to be seen....

  • Has anyone  used Audacity to create a Podcast on a PC and then make it available on itunes?

    Has anyone  used Audacity to create a Podcast on a PC and then make it available on itunes?  If you have used Audacity is it a good program to use? Any tips or suggestions?

    Almost certainly. You can use any program which does what you want: the end product has to be an .mp3 or .m4a file. After that it's a question of making the feed, either writing it yourself or more likely using a program or online service.
    Audacity is a useful program, and free, and you can certainly do the sort of things you need to make a podcast. I prefer Amadeus Pro, which costs $59.99 and has recently been updated with better multi-track facilities: I always fled that Audacity was awkward to use by comparison and occasionally flaky, but we're probably splitting hairs here: it would certainly be a good place to start.
    You may find my page on making a podcast helpful:
    http://rfwilmut.net/pc

  • Has anyone used ROXIO TOAST II for burning DVD

    Has anyone used ROXIO TOAST II for setting up intro and burning to DVD. I used to do this in IDVD which has been abandoned in the Maverick

    Just to say that that I've tested iDVD on 10.9 and it works for me. It's a discontinued program of course, and hasn't been supported for several years, but I don't think it runs any differently on 10.9 than it did on say, 10.6.
    However…can't help you with Toast because I don't use it.
    Russ

  • Has anyone used the mackeeper software?

    Has anyone used the mackeeper software?

    Short answer:  I don't recommend it, but it's not "a scam" or malware, per se.  If you use it, you may have some real performance issues.
    Me:  I was an actual MacKeeper user (paid version) for about two years.  What follows is my experience and conclusions.  I am not a paid reviewer, nor tech professional.  I am an educator with about 15 years of experience using Macs.  I am what most people would call a "prosumer," in that I know a good deal about my systerm, but am not a techie, anti-utility software zealot, etc.  I have no affiliation with Zeobit (manufacturer of MacKeeper) nor any of its competitors.
    I bought MacKeeper in 2011, and then upgraded last year.  I used it to remove junk files and duplicates, and experimented with the anti-virus software.  I didn't use most of the other features.
    The problem:  I am running a 2009 15" Macbook Pro 2.8GHZ Core 2 Duo, 4GB RAM, 512GB HDD.  Over the past year, it has been having major performance issues.  Slowdowns, hangups, applications quitting and more were all becoming the norm.  I deleted duplicate files and ran MacKeeper a few times a month.  I also ran permissions repairs regularly (disk utility).  I looked for the cause of the slowdowns everywhere, from too many user accounts being open, to resource hogs.  I decided that MacKeeper's Anti-Virus software was just taking up too much RAM and CPU, so I disabled it.  I continued experiencing slowdowns and started monitoring my available RAM with a freeware app called Memory Clean.  It often reported that I had less than 500MB available, even with very light usage, application wise.  After "cleaning" memory, I could get my available RAM to about 1.5GB, max.  I struggled with these issues for a year or more, and was about ready to concede defeat and buy a new machine.  I figured my MBP was over four years old, and perhaps running Mountain Lion and normal wear/tear were just too much.
    This morning, I noticed that the biggest resource hog on my system was a process called "MacKeeper Helper." The process relaunches even when it is forced to quit.  It was consuming over 100MB of RAM and up to 99 percent of my CPU at times!  I also noticed a process called "anti-virus" that also could not be quit, and was consuming over 100MB of RAM itself.  I started researching how to kill these processes, and was introduced the the Great Online MacKeeper Controversy.  Here is what I learned:
    Some in the Mac community have pure hatred for this product (and some hate all like it).
    There were numerous user reports of it slowing down systems
    Zeobit seemed to be guilty of questionable ethics, particularly in its advertising.
    There was no way to stop MacKeeper Helper and Anti-Virus processes from running with deleting the entire application.
    I wasn't the only one annoyed by MacKeeper's system pop-ups, trying to sell me something I already bought.
    The software got good professional reviews, even from well-respected publications (e.g. MacWorld)
    It is often confused with Mac Defender, which WAS malware.  They two are not associated.
    The Decision:  After researching ways of fully uninstalling MacKeeper (and considering whether or not I should), I decided to try the uninstall instructions from the manufacturer.  It said that it would remove ALL traces of the application.  I also didn't want to get into too much Terminal work and manually deleting things, as some users suggested doing.  I followed the process (close app, drag to trash, enter password, click "uninstall").  I then ran a permissions repair and restarted.
    The Results:  I have been MacKeeper-free for about an hour as I write this. Put simply, my problems appear to be completely solved. MacKeeper Helper and Anti-Virus are gone.  Available RAM is now up to 2.75GB.  I have experienced no slowdowns or app crashes.  Even bootup appeared to be considerably faster.  Launching iPhoto with thousands of images now takes a few seconds instead of minutes.  Everything feels faster.  It's like I have my Mac back!  I was ready to admit defeat and dish out another $2500+ that I didn't have.  I now think that won't be necessary!
    What Should Yo Do? You'll find a lot of controversy out there between professional reviews, ethically dubious paid reviews, Zeobit's own defense through public statements, and Mac users themselves.  Some users like it, and swear up and down they are real people.  Others are extremely angry and hate the product with the passion of 1,000 burning suns.   All I can do is tell you my experience and make the following statement:
    The bottom line is that I would not install MacKeeper/buy MacKeeper on my Mac.  After investigating my own system's problems (which made iit nearly unusable) and concluding that MacKeeper might be the issue, I uninstalled it. Magically, all my issues went away.  So...I report, you decide.  Best of luck.

  • Has anyone using a PowerMac and Tiger got a Phaser 8570?

    Has anyone using a PowerMac and Tiger got a Phaser 8570?
    There are drivers for IntelMac 10.5 and 10.6, but nothing for PowerMacs.
    I was thinking of upgrading from our 8550 - if there's a driver that will do - anyone able to help?

    Additional information.
    Had some problems with the 8550 and decided to take up a Xerox trade-in offer.
    The ColorQube 8570 not only works perfectly with Tiger, it's a lot faster and quieter than the 8550.
    Which answers the question.

  • Has anyone used BootStrap Tour or PageGuide.js with their SAPUI5?

    Hello,
    Has anyone used any of these guide frameworks or something similar on their web applications across multiple views?
    Regards,

    This is a menu that has been created using Fireworks as can be verified by the following statement
    <!--Fireworks CS3 Dreamweaver CS3 target.  Created Wed Mar 24 11:44:39 GMT-0400 (Eastern Daylight Time) 2010-->
    The creation date tells me that the menu was created just on a week ago.
    So you are now having a problem with the newly created non-Spry menu! What better place to drop in then our trusty Spry Forum that deals with Spry related issues.
    We will help you though.
    http://www.greatermichiganpmc.org/ looks for a style sheet that it cannot find unlike http://www.greatermichiganpmc.org/pmc.htm where it has been found. Change the URL (in red) to reflect where the style sheet resides.
    <script language="JavaScript1.2" type="text/javascript" src="mm_css_menu.js"></script>
    <style type="text/css" media="screen">
         @import url("./pmc.css");
    </style>
    I hope the above helps our mates using Fireworks.
    Ben

  • T4i... lousy SD video... has anyone used SD and had final edit look ok. on timeline its a disaster.

    T4i... lousy SD video... has anyone used SD and had final edit look ok. on timeline its a disaster. cell phone does better video.. im a pro video type and at this point may return cam and wait for a more capable eos.. like a mirrorless 60d...

    Speedorms,
    I would like to help determine what is causing this.
    What exactly are you seeing that is poor quality in the video from your EOS Rebel T4i?
    What are you using to edit your video?
    What settings are you using to edit the video?
    When you refer to SD, are you referring to the card in the camera or Standard Definition video?
    If you prefer a mirrorless design, we do have the new EOS M.  You may want to take a look at that model to see if it has the features you are looking for.
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Has anyone used JAAS with WebLogic?

    Has anyone used JAAS with Weblogic? I was looking at their example, and I have a bunch of questions about it. Here goes:
    Basically the problem is this: the plug-in LoginModule model of JAAS used in WebLogic (with EJB Servers) seems to allow clients to falsely authenticate.
    Let me give you a little background on what brought me to this. You can find the WebLogic JAAS example (to which I refer below) in the pdf: http://e-docs.bea.com/wls/docs61/pdf/security.pdf . (I believe you want pages 64-74) WebLogic, I believe goes about this all wrong. They allow the client to use their own LoginModules, as well as CallBackHandlers. This is dangerous, as it allows them to get a reference (in the module) to the LoginContext's Subject and authenticate themselves (i.e. associate a Principal with the subject). As we know from JAAS, the way AccessController checks permissions is by looking at the Principal in the Subject and seeing if that Principal is granted the permission in the "policy" file (or by checking with the Policy class). What it does NOT do, is see if that Subject
    has the right to hold that Principal. Rather, it assumes the Subject is authenticated.
    So a user who is allowed to use their own Module (as WebLogic's example shows) could do something like:
    //THEIR LOGIN MODULE (SOME CODE CUT-OUT FOR BREVITY)
    public class BasicModule implements LoginModule
    private NameCallback strName;
    private PasswordCallback strPass;
    private CallbackHandler myCB;
    private Subject subj;
             //INITIALIZE THIS MODULE
               public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
                      try
                           //SET SUBJECT
                             subj = subject;  //NOTE: THIS GIVES YOU REFERENCE
    TO LOGIN CONTEXT'S SUBJECT
                                                     // AND ALLOWS YOU TO PASS
    IT BACK TO THE LOGIN CONTEXT
                           //SET CALLBACKHANDLERS
                             strName = new NameCallback("Your Name: ");
                             strPass = new PasswordCallback("Password:", false);
                             Callback[] cb = { strName, strPass };
                           //HANDLE THE CALLBACKS
                             callbackHandler.handle(cb);
                      } catch (Exception e) { System.out.println(e); }
         //LOG THE USER IN
           public boolean login() throws LoginException
              //TEST TO SEE IF SUBJECT HOLDS ANYTHING YET
              System.out.println( "PRIOR TO AUTHENTICATION, SUBJECT HOLDS: " +
    subj.getPrincipals().size() + " Principals");
              //SUBJECT AUTHENTICATED - BECAUSE SUBJECT NOW HOLDS THE PRINCIPAL
               MyPrincipal m = new MyPrincipal("Admin");
               subj.getPrincipals().add(m);
               return true;
             public boolean commit() throws LoginException
                   return true;
        }(Sorry for all that code)
    I tested the above code, and it fully associates the Subject (and its principal) with the LoginContext. So my question is, where in the process (and code) can we put the LoginContext and Modules so that a client cannot
    do this? With the above example, there is no Security. (a call to: myLoginContext.getSubject().doAs(...) will work)
    I think the key here is to understand JAAS's plug-in security model to mean:
    (Below are my words)
    The point of JAAS is to allow an application to use different ways of authenticating without changing the application's code, but NOT to allow the user to authenticate however they want.
    In WebLogic's example, they unfortunately seem to have used the latter understanding, i.e. "allow the user to authenticate however they want."
    That, as I think I've shown, is not security. So how do we solve this? We need to put JAAS on the server side (with no direct JAAS client-side), and that includes the LoginModules as well as LoginContext. So for an EJB Server this means that the same internal permission
    checking code can be used regardless of whether a client connects through
    RMI/RMI-IIOP/JEREMIE (etc). It does NOT mean that the client gets to choose
    how they authenticate (except by choosing YOUR set ways).
    Before we even deal with a serialized subject, we need to see how JAAS can
    even be used on the back-end of an RMI (RMI-IIOP/JEREMIE) application.
    I think what needs to be done, is the client needs to have the stubs for our
    LoginModule, LoginContext, CallBackHandler, CallBacks. Then they can put
    their info into those, and everything is handled server-side. So they may
    not even need to send a Subject across anyways (but they may want to as
    well).
    Please let me know if anyone sees this problem too, or if I am just completely
    off track with this one. I think figuring out how to do JAAS as though
    everything were local, and then putting RMI (or whatever) on top is the
    first thing to tackle.

    Send this to:
    newsgroups.bea.com / security-group.

Maybe you are looking for

  • How do I plug a microphone into my iMac?

    I'm trying to use my gaming headset with my iMac -- it is easy to find the headphone plug but, I where can I plug in the microphone.  The plug is a similar style to the headphone plug -- not a USB. Thanks,

  • CFmapItem "markerwindowcontent" how to add URL?

    I'am using dynamic data from DB, but notice that unable to add hyperlink for my URL... <cfoutput query = "GetMapsData">         <cfmapitem           address="#Latitude_ID#, #Longitude_ID#"           markericon="markers/#category#.png"           marke

  • "Error -42032" message when starting up iTunes 10.2

    Immediately after I upgraded my 15" MacBook Pro to iTunes 10.2 a couple of days ago I began getting this error message whenever I started up the program. After dismissing the error message iTunes seems to work fine. It's more of a nuisance than a maj

  • Upload to FTP Host

    Hello, I am trying to upload my site to FTP Host, i got past the first window i am now stuck on the Upload to Ftp host window, its asking for folder info and i dont know what to put in here please help thanks Jay

  • Repeated crash on launch 7.1.1 10.4.6

    Right, afternoon/morning people, This is really starting to wreck me and if it persists much longer will also end up in a wrecked laptop. Logic has been working well with tiger, very stable and i have been very productive, untill today i boot up logi