Can I Use multiple HTTPHeaders for authentication?

Hello,
I got a question about login into portal with HTTP Headers.
My system has two different reverse proxys with their respective agents of authentication, and each one of them gives me a HTTP Header with a different name, but the content will be always the same: the user name.
Can I configure a Login Module Stack with two HeaderVariableLoginModules? I guess it's possible, but I'm not really sure. If it's possible, will be something like the next?
EvaluateTicketLoginModule     SUFFICIENT    {ume.configuration.active=true}
HeaderVariableLoginModule     OPTIONAL      {ume.configuration.active=true, Header=HEADER1}
CreateTicketLoginModule        SUFFICIENT     {ume.configuration.active=true}
HeaderVariableLoginModule     OPTIONAL      {ume.configuration.active=true, Header=HEADER2}
CreateTicketLoginModule        SUFFICIENT     {ume.configuration.active=true}
BasicPasswordLoginModule    REQUISITE {}
CreateTicketLoginModule        OPTIONAL     {ume.configuration.active=true}
Thank you in advance

Hi Marc,
What you have is exactly right - we are using a very similar stack.
In essence, you can chain any number of authentication modules using the form:
EvaluateTicket - SUFFICIENT
Module1 - OPTIONAL
CreateTicket - SUFFICIENT
Module2 - OPTIONAL
CreateTicket - SUFFICIENT
ModuleN - OPTIONAL
CreateTicket - SUFFICIENT
BasicPassword - REQUISITE
CreateTicket - OPTIONAL
The principle is that CreateTicket will only be successful if there is a valid user in the context (from the previous Module), so the logic progresses down the stack until a Module correctly gets a user, and then exits with a successful Sufficient CreateTicket.
The last two lines provide a fallback position which is to allow a username/password login if all else fails.
Hope this helps,
Darren

Similar Messages

  • How can I use accounting status for authentication on ACS?

    Dear all,
    I'm using ACS 5.5 to authenticate dot1x users on my switches.
    I have enabled accouting reports on my switches. I can see the accounting reports abut the net usages of every user on the monitring secton.
    However, I was wondering if there is any option to use this accounting reports on authentication policies t limit the users' net usage?
    I use the ACS for authenticating my hotspots and I haveno access on limiting the net usage there too.
    If there is any solution, it wuld help me a lot.
    Thanks

    Hi Masood,
    Please go through the following path that describes the reports available when you select Monitoring and Reports, launch Monitoring and Report Viewer, then select Monitoring and Reports > Reports > Catalog.
    For more information about managing the reports in ACS 5.5, please go through the following link:
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-5/user/guide/acsuserguide/viewer_reporting.html#wp1121647

  • Can I use multiple IDs for one iTunes and multiple devices

    We have one family computer with iTunes, my older brother has an iPhone and I have an iPhone. A family ID was previously used to purchase songs for the family to share. My older brother has created an apple ID for his iPhone, and l have a yet unused apple ID. my brother downloaded songs etc onto the family iTunes that I would like to share, there are songs on the family apple ID that we would both like. Can you download purchases from multiple apple IDs into one iTunes  account, then sync that data onto multiple phones that each have a separate ID? Is iTunes linked to one ID? Can purchases from multiple IDs be grouped together in our family account. Also do I Actually need a separate Apple for my iPhone to prevent private messages and contacts being shared?
    Thanks for any advice

    I forgot to add my iPhone is brand new and unused, and also that the iTunes account has non purchased songs on there. Can these be shared. As it is a new computer the purchases from the family ID have not been downloaded yet

  • Can I use .htaccess file for authentication if running pl/sql gateway?

    The server is on Windows system with Apache as the web listener
    and webDB as pl/sql gateway so if any script is under pls/,
    server would invoke pl/sql. My question is: I know .htaccess can
    be used for directory protection, in this case(with the pls/),
    can I still use it? if yes, where should I put the .htaccess
    file?
    Thanks very much in advance.
    Patricia

    Welcome to the discussions!
    +Is this feasible ?+
    Feasible, yes. Practical, no...unless you are willing to put up with very slow access to files that are on the Time Capsule.
    Keep in mind that the Time Capsule was designed primarily for Time Machine backups, not as a media server for quick access to data. You might want to explore other options that would allow much faster access to files when you need them.

  • Can I use multiple values for a rollup key on the same Endeca record?

    We have a business need to to aggregate our records using different criteria, based on user navigation. We are thinking of using a rollup key with multiple values to help with the aggregation, but we are running into some issues.
    Here is a made-up xample of what we want to do: assume we have a group of products and these products can be organized into groups using parent-child relationships. We would like to create an aggregate record for each parent, and we want the aggregate record for each parent to include all the children for the parent. To achieve this, we use a field called "parent_rec_spec" that holds the parent record spec and we set the same value on the field for the parent and its children. When we do rollup using the parent_rec_spec as the rollup key, we are able to see one aggregate record for each parent (with its children).
    The previous setup worked perfectly for us so far. But now we are getting a business requirement that allows children nodes to be linked to multiple parents at the same time. We were hoping of using another dimension to limit the records based on user roles/characteristics , so that only applicable parents/children are displayed (for example, we can use "market" as an additional filtering property, and we decide to show all parents/children for "North America", while hiding the parents/children for other markets).
    This caused an odd behavior when children are linked to multiple parents. For example, assume that SKUs A and B were linked to parents in "North America" and "Europe" at the same time, and assume that the user chose the "North America" market. The navigation state would eliminate the parents/children that are no in North America, and will also cause the parents/children that are labeled for North America to show up and be aggregated correctly. This however will lead to the creation of additional aggregate records for the A and B using the parent_rec_spec values that would have linked them to the Europe parents (even though the parents are hidden away).
    Here is an example index file that we used to load the test data:
    Update||1
    Market||North America
    Record Type||Product
    Name||Parent 1
    rec_spec||P1
    parent_rec_spec||P1
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Parent 2
    rec_spec||P2
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Record Type||Product
    Name||Child A
    rec_spec||A
    parent_rec_spec||P1
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child B
    rec_spec||B
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child C
    rec_spec||C
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Child D
    rec_spec||D
    parent_rec_spec||P2
    EOR
    In this setup, we have parent P1 marked for North America with children A, B and C, and parent P2 marked for Europe with B, C and D as children. When we use North America as a filter in the navigation state, and parent_rec_spec as the rollup key, then we will see an aggregate record for P1, A, B and C. But we will also see an aggregate record for B and C by itself (presumably because of the other parent_rec_spec value on these records).
    The actual data that we are testing with is more complicated, but the end result is similar. We also noticed that the additional aggregate records would not be created always, depending on the ordering of the records.
    The question that I need help with is this: is there a way to fine tune the rollup logic so that it can only include certain records (in the example above, we can change the rec_spec from PA and PB to PA_North_America and PB_Europe and then we would be interested in rolling up using values that end with NorthAmerica).
    By the way, we considered using separate rollup keys for each context (like parent_rec_spec_north_america and parent_rec_spec_europe), but the number of contexts is dynamic, and might grow large. So it is not easy for us to create the additional properties on the fly, and we are concerned about the possible large number of dimensions.

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1157850

  • Can you use multiple songs for a slide show in iphoto ios 2.0?

    I want to prepare a 10 minute slide show that uses more than one song.   It seems you can use a playlist using iphoto for mac (and I have seen that in other discussion threads) but what about iphoto for IOS on an ipad?   It seems to let me only use one song.   I am on IOS7 and using the lastest iphoto for ipad (v 2.0)Any suggestions out there?  Thanks

    You are welcome. Have a look at the GarageBand Help to get started.
    Basically you need to
    Create a new project - select an empty project template.
    Open the Media Browser and drag the songs from your iTunes playlist into the track area.
    Use the "Share" menu to send your new sound track to iTunes.
    This screenshot is from GarageBand 10.0, but in GarageBand '11 it would be similar.
    Just in case that you want to add some sound effects to the soundtrack, like rain or thunder, you will find the clips in the Loop Browser:
    Good luck for your slideshow

  • Can I use multiple device for reading ebook ?

    My company have own shop that will be integrated with ACS4 and one important feature of my shop is
    that "customer pay for single ebook then they can read that ebook on multiple devices that is registered with my shop".
    And my shop can manage, add, edit and remove customer device itself. Is it possible to do that ?
    I notice that when I download ebook from sample store I can copy acsm file to my friend and he can open acsm file then download an ebook
    via adobe digital edition. How can I specific only user who buy ebook can download ?

    Yes and no.  Yes, if you sell a book through ACS4 (without adding a device restring), the user can read the on any computer or device that they have activated with their Adobe DRM account.  No you can not manage these devices on your site or specify a subset other than have a single device restriction.

  • Can I use Multiple Sequences for DV and H.264?

    I have half my video in FCE as DV and sequence set to 720x480. The other half is H.264 1280x720. Can I make a second sequence? If so, then do I combine the two with a final sequence set to 720p?
    Thanks,
    Rod

    You coud but the DV sequence would be half the size of the HD sequence and would appear as a small box inside the HD sequence. Or you could place the HD squence in the standard definition sequence, scaling it down. There might still be an issue if the aspect ratios are different. The HD sequence would appear letterboxed in a standard 4:3 sequence.

  • Can i use same licence for after effects 7 on multiple computers

    can i use same licence for after effects 7 on multiple computers

    you can install on any number of computers, but you can activate on, at most, two computers concurrently with a single user license.

  • How can I use multiple row insert or update into DB in JSP?

    Hi all,
    pls help for my question.
    "How can I use multiple rows insert or update into DB in JSP?"
    I mean I will insert or update the multiple records like grid component. All the data I enter will go into the DB.
    With thanks,

    That isn't true. Different SQL databases have
    different capabilities and use different syntax, That's true - every database has its own quirks and extensions. No disagreement there. But they all follow ANSI SQL for CRUD operations. Since the OP said they wanted to do INSERTs and UPDATEs in batches, I assumed that ANSI SQL was sufficient.
    I'd argue that it's best to use ANSI SQL as much as possible, especially if you want your JDBC code to be portable between databases.
    and there are also a lot of different ways of talking to
    SQL databases that are possible in JSP, from using
    plain old java.sql.* in scriptlets to using the
    jstlsql taglib. I've done maintenance on both, and
    they are as different as night and day.Right, because you don't maintain JSP and Java classes the same way. No news there. Both java.sql and JSTL sql taglib are both based on SQL and JDBC. Same difference, except that one uses tags and the other doesn't. Both are Java JDBC code in the end.
    Well, sure. As long as you only want to update rows
    with the same value in column 2. I had the impression
    he wanted to update a whole table. If he only meant
    update all rows with the same value in a given column
    with the same value, that's trivial. All updates do
    that. But as far as I know there's know way to update
    more than one row where the values are different.I used this as an example to demonstrate that it's possible to UPDATE more than one row at a time. If I have 1,000 rows, and each one is a separate UPDATE statement that's unique from all the others, I guess I'd have to write 1,000 UPDATE statements. It's possible to have them all either succeed or fail as a single unit of work. I'm pointing out transaction, because they weren't coming up in the discussion.
    Unless you're using MySQL, for instance. I only have
    experience with MySQL and M$ SQL Server, so I don't
    know what PostgreSQL, Oracle, Sybase, DB2 and all the
    rest are capable of, but I know for sure that MySQL
    can insert multiple rows while SQL Server can't (or at
    least I've never seen the syntax for doing it if it
    does).Right, but this syntax seems to be specific to MySQL The moment you use it, you're locked into MySQL. There are other ways to accomplish the same thing with ANSI SQL.
    Don't assume that all SQL databases are the same.
    They're not, and it can really screw you up badly if
    you assume you can deploy a project you've developed
    with one database in an environment where you have to
    use a different one. Even different versions of the
    same database can have huge differences. I recommend
    you get a copy of the O'Reilly book, SQL in a
    Nutshell. It covers the most common DBMSes and does a
    good job of pointing out the differences.Yes, I understand that.
    It's funny that you're telling me not to assume that all SQL databases are the same. You're the one who's proposing that the OP use a MySQL-specific extension.
    I haven't looked at the MySQL docs to find out how the syntax you're suggesting works. What if one value set INSERT succeeds and the next one fails? Does MySQL roll back the successful INSERT? Is the unit of work under the JDBC driver's control with autoCommit?
    The OP is free to follow your suggestion. I'm pointing out that there are transactions for units of work and ANSI SQL ways to accomplish the same thing.

  • Can i use multiple icloud accounts on 1 device

    Can I use multiple icloud email accounts on one device?

    Yes, you could have multiple iCloud accounts for Mail, Contacts, Calendars, Reminders, Safari, Notes, and Find My iPhone, but only one primary iCloud account for Photo Stream, Documents & Data, and Storage & Backup.

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • Can you use one PC for 2 different Ipods, with out erasing the others music from Itunes?

    Can you use one PC for different Ipod touch's , with out erasing the other persons Itunes music?

    Yes.  See:
    How to use multiple iPods, iPads, or iPhones with one computer

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • How to use multiple hierarchies for a single char in single query

    Hi,
    Is there any way that we can use multiple hierarchies for a single char in single query. I tried and it just allows me to select one hierarchy even if I use hierarchy variable.
    I have a requirement where user wants to see information related to a cost center with different cost center groups in different hierarchies (every year has different cost center group hierarchies).
    Suppose I want to see information related to a cost center from year 2001-2004.in these four year cost center may have been associated to different groups depending upon that year hierarchy. How can I do that?
    Thanks
    Jona

    Nope. Now way to do this.
    There is always just one hierarchy assigned to a characteristic. And even if the hierarchy was time dependent, it only reads it for one key date and not according to transaction data.
    Regards,
    Beat

Maybe you are looking for