Transform claim value (personalidentitynumber) ADFS 3.0

Hi,
If i want to send a personal identity nr as a claim to a web application, is it possible to remove the year-part of the number when sending the claim.
For example if the attribute has a value of 191212121212 i would like to send it as 1212121212.
/Bo
both

Thank you. Unfortunately i would need a more precise answer :)
The goal is to transform the personalidentity "attribute" to a "ppid" claim without the first to digits in the personalnumber.
I'm looking for the syntax..
/Bo
both
You can ask them in the forum I previously recommended.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile

Similar Messages

  • How to get edited row values from ADF table?

    JDev 11.
    I have a table which is populated with data from Bean.
    I need to save changes after user make changes in any table cell. InputText is defined for table column component.
    I have defined ValueChangeListener for inputText field and AutoSubmit=true. So when user change value in inputText field, method is called:
    public void SaveMaterial(ValueChangeEvent valueChangeEvent) {
    getSelectedRow();
    SaveMaterial(material);
    This method should call getSelectedRow which take values from selected table row and save them into object:
    private Row getSelectedRow(){
    RichTable table = this.getMaterialTable();
    Iterator selection = table.getSelectedRowKeys().iterator();
    while (selection.hasNext())
    Object key = selection.next();
    table.setRowKey(key);
    Object o = table.getRowData();
    material = (MATERIAL) o;
    System.out.println("Selected Material Desc = "+material.getEnumb());
    return null;
    Problem is that getSelectedRow method doesnt get new (edited) values, old values are still used.
    I have tried to use ActiveButton with same method and it works fine in that case. New values are selected from active row and inserted into object.
    JSF:
    <af:table var="row" rowSelection="single" columnSelection="single"
    value="#{ManageWO.material}" binding="#{ManageWO.materialTable}">
    <af:column sortable="false" headerText="E-number">
    <af:inputText value="#{row.enumb}" valueChangeListener="#{ManageWO.SaveMaterial}" autoSubmit="true"/>
    </af:column>
    <af:column sortable="false" headerText="Description">
    <af:inputText value="#{row.desc}" valueChangeListener="#{ManageWO.SaveMaterial}" autoSubmit="true"/>
    </af:column>
    </af:table>
    <af:activeCommandToolbarButton text="Save" action="#{ManageWO.EditData}"/>
    What is a correct place from where save method should be called to get new (edited) values from ADF table?
    Thanks.

    Did you look into the valueChangeEvent?
    It has oldValue and newValue attributes.
    public void SaveMaterial(ValueChangeEvent valueChangeEvent) {
    Object oldVal = valueChangeEvent.getOldValue();
    Object newVal = valueChangeEvent.getNewValue();
    // check if you see what you are looking for.....
    getSelectedRow();
    SaveMaterial(material);
    }Timo

  • How to get the logged in userId value in adf task flow OIM11g R2

    Hi,
    I have created an adf task flow. Now I want to run some query in that based on the logged in userId.
    Could you please help me in knowing how to get the logged in userID value in adf TaskFlow so that I can run a parameterized query.
    Thanks

    3 different ways to retrieve the username (not sure what you mean by user ID) :
    http://mahmoudoracle.blogspot.be/2012/06/adf-get-current-logged-user-name.html#.USI_c-h8zIo
    Also provide your JDev version.
    Basicly, you should use the groovy expression in a view criteria (it's the fastest and easiest way) and call that view criteria whenever you need it.
    That's if you are using ADF BC of course.

  • Hard coded values in ADF 11g

    i want to insert hard coded values through ADF form..
    kindly help me in this
    Thanks in Advance
    VL Naidu

    Thanks john and Grant..
    i have another issue now..
    i have created the Edit form and a table
    giving partial trigger for form to table..
    so wen i select the row the corresponding row values will be displayed in the Edit form.
    but i want to show a Empty form on page load and after data insertion.
    i tried in refresh condition .but nothing worked.
    can u help me in this issue.
    Thanks in Advance
    VL Naidu

  • How can Filter ADF BC LOV values in ADF Faces UI?

    How can Filter ADF BC LOV values in ADF Faces UI?
    Hi i am bit struggle with filtering LOV values in ADF Faces UI.
    I have table In UI ,that is from ADF BC .Now i am Filtering that table data using Select one choice in same page.That SOC is named Type App:  ,So according to selection of Type in SOC table have to display.This portion is done.But my requirement is ,when i got perticular result table ,i want to add one more row related to that type only,so for that i had take popup and drag datacontrol as a form.In that form first column is Select one choice ,select Items will come from BC table.So here i want to filter those LOV values according selection in Type SOC.Suppose Type SOC contain Type1,Type2 values,then when i am selectin Type1,Type1 related date willl diplay on table,now click on ADD button popup will open and in that Type SOC will Dispaly only Type1 related values not Type 2 type values.Type1,Type2 values come from same Table.
    Here i am asking every one,please do help.

    fyi
    The HR schema I used to build the example application had some modifications in the context of https://tuhra2.samplecode.oracle.com/ .
    So after running "demo/schema/mksample" as documented in "Resetting Sample Schemas" ...
    at http://download.oracle.com/docs/cd/E11882_01/server.112/e10831/installation.htm#I6236
    ... I got "java.sql.SQLSyntaxErrorException: ORA-00904: "EMPLOYEES"."MODIFIED_DATE": invalid identifier ", using the example application in BindVarDefaultsInUIApp-v0.02.zip .
    So, I have updated the example application to match the reset HR schema:
    - see http://www.consideringred.com/files/oracle/2010/BindVarDefaultsInUIApp-v0.03.zip
    - see screencast at http://screencast.com/t/gd6zKn63j
    Because Re: af:table filter date format : task-flow navigation issue to get feedback, I created service request 3-2193340441 using My Oracle Support about (q1) and (q2).
    regards
    Jan

  • How to transform attribute values in OIM?

    I need to transform the values received for OrgUnit to AD format and then perform provisioning.
    Example: I receive OrgUnit: it/admin/oracle/com.
    I need to convert it to the following AD format before provisioning user to the correct OU
    OrgUnit: ou=it,ou=admin,dc=oracle,dc=com
    Question: Do I have to write java code to perform this transformation or can I create a lookup table that maps all expected OrgUnit values to the AD format values and have AD read that lookup table. Any thoughts on performing this transformation using OIM features instead of java code are appreciated.
    Thanks!

    Done.
    Code can be found below in case anyone else has a need for this or something similar.
    Best regards
    /Martin
    import java.util.*;
    public class ADPrepop {
         public ADPrepop(){
         public static void main(String[] args) {
              ADPrepop popper = new ADPrepop();
              String trans= popper.orgUnitTransformer(args[0]);
              System.out.println("Result="+ trans);
         public String orgUnitTransformer(String input){
              String result="";
              int counter=0;
              StringTokenizer toker = new StringTokenizer(input,"/");
              if(toker.countTokens()!=4){
                   System.out.println("Malformed input. Does not contain four tokens, i.e. it/admin/oracle/com");
                   return "ERROR:MALFORMED_TOKEN";
              while(toker.hasMoreTokens()){
                   if(counter==0|counter==1){
                        result=result+"ou="+toker.nextToken()+",";
                        counter++;
                   if(counter==2){
                        result=result+"dc="+toker.nextToken()+",";
                        counter++;
                   if(counter==3){
                        result=result+"dc="+toker.nextToken();
                        counter++;
              return result;
    }

  • How to display default value on ADF UI?

    How can I display a default value on ADF UI? means upon a web page loaded, the default value should appear in a certain control (e.g. input text) without any user action.
    I tried to assign a value through the backbean constructor but seems not working.
    Thanks

    The natural way would be to set the default value in the underlying model (which you did not mention). If you are using adfbc you can set default values e.g. in EO or VO. These values are then transferred into the UI.
    This would be my preferred method.
    You can also set default values in a bean method, but not in the constructor. Use a public method (e.g. init) to set the default values and call it as start activity in a bounded task flow. This ensures that each time you start the task flow the values are set.
    Timo

  • HOW I CAN DO INTER DEPENDEND list of value in adf

    Hi all,
    How i can do inter dependend list of value in adf
    ie if i select Country AS:USA
    next field it show me all state in usa

    User,
    Search the forum. It's probably the most asked questino
    John

  • DPS: transform attribute value - more than sub-string - more like awk/sed

    We have been working on using DirProxy to transform telephoneNumber from "(XXX) YYY-ZZZZ" format to a "Y-ZZZZ" for our VoIP call manager and and have been successful.
    How we find out that our VoIP phones have feature that lets users search by phone number. The problem is that there is no way to input a dash (-) character on the phone so we would like to be able to translate from the "(XXX) YYY-ZZZZ" format that is stored in LDAP to "YZZZZ",
    Anyone have suggestions on how to do this? (We know we can create a local attribute in the LDAP master in the format YZZZZ and have DPS return that attribute as telephoneNumber, but we are hoping we can do the transformation on the fly.)
    Thanks.

    I'm on the roads for a few weeks and have limited bandwith but here is what I did recently with the DPS version not released yet. Hope this works with DPS 6.3
    I created 3 transformations and associated them with the dataview, assuming phoneNumber looks like (XXX) YYY-ZZZZ
    In the example below, reworked number is returned in attr yz
    - step1 : extract trailing Y
    - attribute name : y // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : substring(${phoneNumber}, 7, 8)
    - internalValue: ${xxxx} // dont care
    -step2 : extract ZZZZ
    - attribute name : z // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : substring(${phoneNumber}, 10)
    - internalValue: ${zzzz} // dont care
    - viewValue : substring(${phoneNumber}, 7, 8)
    - internalValue: ${xxxx} // dont care
    -step3 : reconstruct
    - attribute name : xz // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : ${y}${z}
    - internalValue: ${y}${z}
    Note that this would work for searches only, and when the reworked attr is not present in the search filter.
    Hope this helps
    -Sylvain

  • I want to read and assign value of ADF Table rows  with Java Script

    Hi,
    I want to read and assign value of ADF Table rows with Java Script, but I cant true index of current row , so I assign wrong value to anathor column of ADF Table.
    My Code;
    ADF Table items
    <af:column sortProperty="Adet" sortable="false"
    headerText="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.labels.Adet}"
    binding="#{backing_ucret.column2}" id="column2">
    <af:inputText value="#{row.Adet}"
    required="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.attrDefs.Adet.mandatory}"
    columns="10"
    binding="#{backing_ucret.inputText2}"
    id="inputText2" onchange="getTutar('#{bindings.voHarcamaOdeme1Iterator.rangeStart + bindings.voHarcamaOdeme1Iterator.currentRowIndexInRange + 1}','#{bindings.voHarcamaOdeme1Iterator.estimatedRowCount}','#{row.index}')">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.formats.Adet}"/>
    </af:inputText>
    </af:column>
    MY JAVA SCRIPT CODE
    <f:verbatim>
    <script language="javascript" type="text/javascript">
    function getTutar(rowkey,totalrow,currentRow){
    alert('rowkey--totalRow--currentRow-->'+rowkey+'--'+totalrow+'--'+currentRow);
    if (currentRow==0) {
    rowkey=totalrow-1;
    }else{
    var rw=totalrow-currentRow-1;
    rowkey=rw;
    alert(document.getElementById('form1:table1:'+rowkey+':inputText8').value);
    alert(document.getElementById('form1:table1:'+currentRow+':inputText8').value);
    var birim_ucret=document.getElementById('form1:table1:'+rowkey+':inputText8').value;
    var adet=document.getElementById('form1:table1:'+rowkey+':inputText2').value;
    document.getElementById('form1:table1:'+rowkey+':inputText3').value=birim_ucret*adet;
    document.getElementById('form1:inputText6').value=0;
    var t;
    var toplam=0;
    alert('before Sum');
    for (var i=0;i!=totalrow-1;i++){
    t = document.getElementById('form1:table1:'+i+':inputText3');
    toplam+=t.value*1;
    document.getElementById('form1:inputText6').value=toplam;
    </script>
    </f:verbatim>

    You can achieve the use case you describe with partial page rendering (PPR), a feature of the ADF Faces framework. Here are a few posts that achieve an interactive behavior using PPR. Off the top of my head I do not know of an exact example, but this should be a good starting point:
    http://thepeninsulasedge.com/blog/2006/09/12/adf-faces-aftableselectmany/
    http://thepeninsulasedge.com/blog/2006/08/31/adf-faces-working-with-aftableselectone-and-the-dialog-framework/
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Passing values between adf application and web services

    hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
    i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
    i try this
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.start_user_details}"
                                        type="action"/>
              </af:inputText>

    i make my webservices to pass values
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.approveUser_username}"
                                        type="action"/>
              </af:inputText>
    but am geting error reference approveUser_username not found

  • Not able to get the value in ADF taskflow on load

    Hi,
    I have created an ADF task flow. I have created a ViewObject in this ADF taskflow and I am setting the value of this ViewObject using the java API.
    The issue is that i need to show the data when this ADF task flow executes first time.
    Currently I am getting the blank table in jspx page when ADF task flow is run. Now when I click on a button then I can see the required data in the table.
    Please help me to solve this issue.

    Thanks for the reply.
    I have tried placing the code to get the set the data in table and display the same from table in bean constructor, but I am getting table value as null.
    Looks like it is not able initialize the table until the jsff page gets loaded.
    Does jsff page gets loaded after bean constructor method gets called ?

  • Passing value from ADF to BPEL, and to PL/SQL

    1. I have created BPEL which take 2 inputs and concatenate them.
    2. have created a PL/SQL procedure for invoking this BPEL( working fine).
    Now i need to create a simple ADF page which contain 2 text box, 2 for input and 1 for result(concatenate), this will take 2 inputs and send them into BPEL, this will invoke the BPEL process and perform the necessary concatenate function...
    in addition to this, i am passing code into PL/SQL procedure ...
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/OrderImportDemo">
    <ns1:InputRequest>
    *<ns1:FirstName>abcdef</ns1:FirstName>*
    *<ns1:LastName>aaaaaa</ns1:LastName>*
    </ns1:InputRequest>
    </soap:Body>
    </soap:Envelope>';
    this code will take vaule from BPEL and run properly.
    can you please help me,

    Three simple steps you need to do :
    1) Generate proxy for your bpel process in Jdeveloper.
    2)Create simple ADF page with 2 input for taking value and a input for showing the result and one command button.
    3) In backing bean on command button action, get value from two inputs, pass the in the proxy service and update the the the third input with the result of service.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Unable to display the ClobDomain value in adf table

    Hi ,
    I have a database table whose column is Clob. Accordingly the Entity Attribute and VO attribute are of type. oracle.jbo.domain.ClobDomain
    Now this VO is wired as a ADF Table in jsff page. I am setting the value programmatically inside the AM by using the following.
    //Code inside AM
    String text="some xml";
    ClobDomain clobval=new ClobDomain(text.toString())
    vo.setAttribute("atrName",clobVal);
    Now at the UI level, I was able to print the value of the attribute inside a bean code. However, in the adf table, this cell is always empty. But if i try to set the value through UI then it works.
    If i make the inputText readonly then it displays the value.
    Am i missing something.
    Inside the af:column
    <af:inputText value="#{row.bindings.VariableValue.inputValue}"
    label="#{bindings.TestcaseInput.hints.VariableValue.label}"
    required="#{bindings.TestcaseInput.hints.VariableValue.mandatory}"
    columns="#{bindings.TestcaseInput.hints.VariableValue.displayWidth}"
    shortDesc="#{bindings.TestcaseInput.hints.VariableValue.tooltip}"
    id="it4" converter="oracle.genericDomain"
    rows="10">
    <f:validator binding="#{row.bindings.VariableValue.validator}"/>
    </af:inputText
    jdev version 11.1.1.6.0

    Try using SELECT_TEXT in place of READ_TEXT.
    Hope this helps.
    Regards
    vinayak

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

Maybe you are looking for

  • Podcasts Can't Be Found

    Podcasts are randomly deleted from my computer from time to time. All of my settings tell iTunes to "never delete old podcasts," but every week, something else will show up in the list with the exclamation point next to it, proclaiming the podcast ha

  • TV and TiVo - Please Help!

    Okay, I have a problem that may force me to return my TV. We have 2 TV's in our house. Only one is an HDTV and BOTH have TiVo. Getting rid of TiVo is NOT an option because I love it and can't imagine life without it since having it. Also, we are obl

  • Links on older Blogs are not working

    I am having issues getting to all the parts of The New Class-Based Exception Handling in ABAP, not a recent Blog.  IE troubleshooter reports the service does not accept the connection when I click on a link and the connection fails.

  • Can I retrieve the version information in the mxi file using the C   sdk?

    Hello I am trying to find a way to get the version information that is available in the zxp package from within the C++ code (I have a mixed C++ / html - JS) plugin In the mxi file there is e.g.   <macromedia-extension id="..." name=".." version="0.1

  • Addind art to more than one song ?

    I was wondering how I could add album art to a selection of songs as opposed to having to click on every song within a CD and adding the art individually. It'd be much easier to just select them all and only drag on the picture once. I h ave some CDs