How to associate LDAP attributes with the subject?

I am writing a custom role mapper and want to determine the roles of the subject
depending on values of LDAP attributes. Is it posssible to associate LDAP attributes
with the Subject?
We use iPlanet and hence I have configured iPlanetAuthenticator as the Authentication
Provider. Is it possible to configure iPlanetAuthenticator so that the LDAP attribute
values are associated with the subject? Or is it possible to extend iPlanetAuthenticator
for this purpose?
Is there a way to do this other than writing my own AuthenticationProvider?
Thanks in advance.
Jay

"Jay" <[email protected]> wrote in message
news:3f1d77f7$[email protected]..
>
I am writing a custom role mapper and want to determine the roles of thesubject
depending on values of LDAP attributes. Is it posssible to associate LDAPattributes
with the Subject?
Which LDAP attributes are you interested in? We can look at adding this
functionality
if we have more info.
We use iPlanet and hence I have configured iPlanetAuthenticator as theAuthentication
Provider. Is it possible to configure iPlanetAuthenticator so that theLDAP attribute
values are associated with the subject? Or is it possible to extendiPlanetAuthenticator
for this purpose?
There is no way to extend the provider.
Is there a way to do this other than writing my ownAuthenticationProvider?
>
You may be able to write a separate provider that works in conjunction with
the
authentication provider. It would add the principals with the ldap
attributes.
Thanks in advance.
Jay

Similar Messages

  • How to associate a button with the selection/unselection of a JTable?

    hi,
    how to associate a button with JTable in this manna? i want to disable a button once there is no selection in the JTable, and enable the button when there is a selection. to associate the selection it is easy: just make an eventAction for the button on the click in the JTable and check whether there is a selection. but how to do this with the unselection? hope anyone can give me any hint. thanx!

    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
        String[] head = {"One","Two","Three"};
        String[][] data = {{"1-1","1-2","1-3"},{"2-1","2-2","2-3"},{"3-1","3-2","3-3"}};
        JTable jt = new JTable(data,head);
        public Test() {
         setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
         Container content = getContentPane();
         content.add(new JScrollPane(jt));
         jt.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
             public void valueChanged(ListSelectionEvent lse) {
              if (lse.getValueIsAdjusting()) return;
              if (jt.getSelectionModel().isSelectionEmpty()) {
                  System.out.println("Nothing Selected");
              } else {
                  System.out.println("Something Selected");
         setSize(500,500);
         show();
        public static void main( String args[] ) { new Test(); }
    }

  • How to pass another attribute with the attributes in the select

    i have multi select that will be generated from the database but how do a pass a parameter associated on of the selected item other then the one selected:
    for instance if I wanted to pass the capital of the state as hidden if a select any of these selected states..
    <html:select property="state" multiple="true">
    <option value="Arizona">Arizona</option>
    <option value="Colorado">Colorado</option>
    <option value="Idaho">Idaho</option>
    <option value="Oregon">Oregon</option>
    </html:select>

    You are right, I changed the code to what you said but how do I pass another value through my fonction so I can get Result1 and Result2?
    is it
    var a = this.getField("OPE003.EVEN.1.MIP");
    var b = this.getField("OPE003.EVEN.2.MIP");
    var result1 = Mip(a);
    var result2 = Mip(b);
    var c = new Array[result1, result2]

  • Five days ago I received an email from an anonymous sender with the subject: Your Apple ID was just used to buy full album Elton John 312.99. Your receipt No. 37930343160405752. the content began: Content-Transfer-Encoding: base64 From (my email add

    Five days ago I received an anonymous email with the subject:
    Your Apple ID was just used to buy full album Elton John £12.99.Your receipt No.37930343160405752
    The content started: Content-Transfer-Encoding: base64 From:(my email address) followed by a very,very,very long stream of gobbledygook. There is no record of it in my i-tunes purchases or my credit card statement but that might only be because I have not updated my credit card details. Should I be worried that my account has been compromised? Does anyone know how I can get through to the right section of Apple to deal with this - all the emails I get say no-reply so I don't have an email address to contact them on.
    I would be most grateful if anyone could help me with this.
    Thanks in advance
    Walwal

    It's a phishing attempt to try and get your account and payment details - forward it to Apple : [email protected] , and then delete it
    Phishing emails : Identifying fraudulent "phishing" email - Apple Support
    Genuine emails : Identifying legitimate emails from the iTunes Store - Apple Support

  • Missing camera attributes with the NI IMAQ for IEEE-1394 driver

    I'm using an ORCA-AG and the IEEE-1394 driver. When i look at the camera attributes (either with MAX or the attribtue inquiry vi.) i can see just some of them (brightness, shutter,...). I have tried the ORCA-ER, which has the same attributes, but uses the PCI-1424 framegrabber. Using this camera i can see and modify more attributes (light mode,...). How can i modify them with the IEEE 1394 driver?
    I also have another problem. When i use 1x1 binning the image must be 8bits, if is use 16bits, max cannot aquire the image (timeout error). Does anyone have the same problem?
    Thank you very much.

    Some non-standard attributes can be modified by directly reading and writing to the memory of the camera. Your camera manual probably has memory locations listed for the different attributes. You can get to these using the low level firewire routines. I have done it once or twice.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How to join navegational attributes with infoset

    Hi Experts,
    How to join navegational attributes with infoset? the infoset based on ODS and both having navigational attributes,
    my requirment is to join Vendor account group navigational attributes with infoset,
    or else plz
    povid stps to crete...
    In the infoset how to  join Info Object CHAR1 to the CHAR1 in the ODS object which makes all the attributes of CHAR1 accessible in the Infoset..
    plz suggest with steps,
    regards,
    Edited by: Sap-10564461 on Apr 20, 2010 11:34 AM

    Hi,
      Consider that you have a cube/ODS which has 0MATERIAL. Say you have switched on the nav attribute Material group in the cube.
    Now since an infoset acts on a table level, it cannot read nav. attributes directly. Hence you will not be able to find 0MATERIAL__MATGROUP in the infoset.
    Now if you want to get able to obtain MATGROUP, you need to add 0MATERIAL to your infoset. One you have added 0MATERIAL, you will be see the attributes of this infoobject as fields.
    Map 0MATERIAL from the cube to 0MATERIAL from the info object. Join type is inner join. Now check the MATGROUP field under the infoobject table indicating that this field needs to be fetched by the infoset.
    Now when you run a query on the infoset, you will be able to use MATGROUP from 0MATERIAL.
    Hope this helps.
    Regards.

  • How to filter by attributes with type Strings

    The documentation is not really detailed about setting attributes with type Strings. I assume I've to type each string value in a new line in the set attributes dialog box. This works fine and my XML looks like this<br /><br /><para CMS = "prodA prodB"><br /><br />having set the two string values "prodA" and "prodB".<br /><br />But how to filter these attributes? The filter CMS="prodA" shows my paragraph correctly, but CMS="prodB" does not show this paragraph as it should. Filters seem to match only the first of the set of string values.<br /><br />I would like to show this paragraph in two document versions for these two products prodA and prodB.<br /><br />Framemaker 8.0.3<br /><br />Tilman

    Tilman,
    this is something that AFAIK is not supported by FrameMaker's own attribute based filtering.
    But, without changing your documents, if you install the *free* ABCM (Attribute-based condition management) plug-in from weststreet consulting, you will succeed. Be sure to read the tutorial!
    http://weststreetconsulting.com/
    - Michael

  • How to accomplish these Updates with the Tool?

    How to accomplish these Updates with the Tool?
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'X'
    WHERE STATE_CODE IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'E'
    WHERE STATE_CODE IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'M'
    WHERE STATE_CODE IN ('AZ', 'CO', 'MT', 'NM', 'UT', 'WY');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'P'
    WHERE STATE_CODE IN ('CA', 'NV', 'WA');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'H'
    WHERE STATE_CODE IN ('HI');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'A'
    WHERE STATE_CODE IN ('AK');
    commit;
    Thanks,
    Carol-Ann

    Good morning Carol-Ann,
    * Pick table operator for table TIME_ZONE_BY_STATE_TYPE twice, once as source and once as target.
    * Pick an expression operator.
    * Drag STATE_CODE as input to expression
    * Create output column TIME_ZONE in outgroup
    * With the attribute properties of this output, choose Expression
    * Enter here a case statement 'translating' all state_codes to time_zones, e.g. CASE
    WHEN INGRP1.STATE_CODE  IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH')
    THEN 'X'
    WHEN INGRP1.IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV')
    THEN 'E'
    etc.
    END* Map this output column to TIME_ZONE column of target
    * Set Loading Type of target to Update, choose No Constraints.
    Hope this helps.
    Regards, Patrick

  • HT1695 How to connect my iPhone with the printers at school? Many thanks

    How to connect my iPhone with the printers at school? Many thanks

    They must be Airprint capable printers... if they are not, then there is no supported way of connecting to them.
    Airprint 101

  • HT201269 I had an old PowerMac and now i have the MacBook Pro.  I am not use to the new iTunes.  I use to be able to drag music that I had added onto my computer from a CD to my iPhone or iTouch.  How do I do that with the new iTunes?

    I have CDs that I want to import onto my new MacBook Pro to my iPhone.  I am not use to the new iTunes with the Mountain Lion software.  I had an old PowerMac that had the Leopard software and I was able to drag those songs to my iPhone.  I can't find that option.  When I find the song I want to add to my iPhone, I tried dragging it to the top when it shows that my iPhone is connected with iTunes.  Or how do i do this with the Cloud?  I am new to that as well.  Seems like it just held my purchased songs from iTunes.

    iCloud only has content purchased (or free) from iTunes. Ripped music or music from other sources is only on your computer. As the iPhone can only sync with one computer at a time you should copy the iTunes folder from the old computer to the new one. It's in the Music folder on the old one, just copy the entire folder to the Music on the new computer. When you first sync your iPhone content will be replaced by the content of the new computer.
    You can optionally enable iTunes Match. This searches the non-iTunes content in iTunes or on your iPhone and finds the original digital version on the Internet if it exists. This then becomes your backup. If you have music that it cannot find it will upload it to your cloud storage, but you may have to pay for the storage if it is over 5 GB total (along with your backup). iTunes content and Match content are not included in the 5 GB free limit.
    Usually to fix mail issues just delete the account, reset (reboot) the phone by holding HOME and SLEEP until an Apple logo appears, and adding the email account(s) back.

  • I updated my ipod and it deleted my entire library how do I restore it with the backup I have saved?

    I updated my ipod and it deleted my entire library.  How do I restore it with the backup I have so all songs will be available in the cloud; which I paid extra Money to increase memory for?

    The backup that iTunes makes does not include apps, music, synced videos and photos. Se:
    iTunes: About iOS backups
    You will have to sync the items back form yur computer/iTunes library to the iPod via iTunes. If they are not on the computer you can redownloa d some iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • In iPhoto, how can I export images with the metadata - including the title and caption information - intact as part of the image?

    In iPhoto, how can I export images with the metadata — including the title and caption information — intact as part of the image?

    Check those boxes in the export dialogue - Exporting From iPhoto
    LN

  • How to open a file with the extension x3f (sigma)

    how to open a file with the extension x3f (sigma)?

    RAW data from the following Sigma cameras is currently supported:
    DP1
    DP1s
    DP2
    SD9
    SD10
    SD14
    If your camera is among these, then simply import the photo as usual. https://helpx.adobe.com/lightroom/help/importing-photos-lightroom-basic-workflow.html

  • How to transfer own -done with the iPad- movies from iPad to PC ?

    How to transfer own -done with the iPad- movies from iPad to PC ?
    The fotos are possible to transfer, but not the movies

    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

Maybe you are looking for