How to Publish SAML 2.0 Meta Data using WLST

Hi All,
I would want to know who to publish SAML2.0 metadata using WLST commands? Is there a way to export xml as is done from Weblogic Console >MyServer > Configuration > Federation Services > SAML 2.0 General > Publish Meta Data?
Regards, Nitish

Wikipedia has a good article on SAML and how it works: Security Assertion Markup Language - Wikipedia, the free encyclopedia
For it to work in BO, you would need an identity provider and a service provider, and the ability to pass in one of the parameters mentioned in the Admin Guide  (such as REMOTE_USER). The identity provider and service provider would be specified by your organization (we use Shibboleth for example). You may also need to install Apache if your SP does not talk directly to Tomcat (and in which case you can skip the web.xml configuration on p221), though there is other configuration needed for that scenario.
I don't know the answer to your Windows AD question, but it appears there is an AD/SAML service available: Active Directory Federation Services

Similar Messages

  • How to save info in a meta-data of a jpg file?

    hi, i need to know how to save info in a meta-data of a jpg file:
    this is my code (doesn't work):
    i get an exception,
    javax.imageio.metadata.IIOInvalidTreeException: JPEGvariety and markerSequence nodes must be present
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeNativeTree(JPEGMetadata.java:1088)
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeTree(JPEGMetadata.java:1061)
    at playaround.IIOMetaDataWriter.run(IIOMetaDataWriter.java:59)
    at playaround.Main.main(Main.java:14)
    package playaround;
    import java.io.*;
    import java.util.Iterator;
    import java.util.Locale;
    import javax.imageio.*;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.metadata.IIOMetadataNode;
    import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
    import javax.imageio.stream.*;
    import org.w3c.dom.*;
    public class IIOMetaDataWriter {
    public static void run(String[] args) throws IOException{
    try {
    File f = new File("C:/images.jpg");
    ImageInputStream ios = ImageIO.createImageInputStream(f);
    Iterator readers = ImageIO.getImageReaders(ios);
    ImageReader reader = (ImageReader) readers.next();
    reader.setInput(ImageIO.createImageInputStream(f));
    ImageWriter writer = ImageIO.getImageWriter(reader);
    writer.setOutput(ImageIO.createImageOutputStream(f));
    JPEGImageWriteParam param = new JPEGImageWriteParam(Locale.getDefault());
    IIOMetadata metaData = writer.getDefaultStreamMetadata(param);
    String MetadataFormatName = metaData.getNativeMetadataFormatName();
    IIOMetadataNode root = (IIOMetadataNode)metaData.getAsTree(MetadataFormatName);
    IIOMetadataNode markerSequence = getChildNode(root, "markerSequence");
    if (markerSequence == null) {
    markerSequence = new IIOMetadataNode("JPEGvariety");
    root.appendChild(markerSequence);
    IIOMetadataNode jv = getChildNode(root, "JPEGvariety");
    if (jv == null) {
    jv = new IIOMetadataNode("JPEGvariety");
    root.appendChild(jv);
    IIOMetadataNode child = getChildNode(jv, "myNode");
    if (child == null) {
    child = new IIOMetadataNode("myNode");
    jv.appendChild(child);
    child.setAttribute("myAttName", "myAttValue");
    metaData.mergeTree(MetadataFormatName, root);
    catch (Throwable t){
    t.printStackTrace();
    protected static IIOMetadataNode getChildNode(Node n, String name) {
    NodeList nodes = n.getChildNodes();
    for (int i = 0; i < nodes.getLength(); i++) {
    Node child = nodes.item(i);
    if (name.equals(child.getNodeName())) {
    return (IIOMetadataNode)child;
    return null;
    static void displayMetadata(Node node, int level) {
    indent(level); // emit open tag
    System.out.print("<" + node.getNodeName());
    NamedNodeMap map = node.getAttributes();
    if (map != null) { // print attribute values
    int length = map.getLength();
    for (int i = 0; i < length; i++) {
    Node attr = map.item(i);
    System.out.print(" " + attr.getNodeName() +
    "=\"" + attr.getNodeValue() + "\"");
    Node child = node.getFirstChild();
    if (child != null) {
    System.out.println(">"); // close current tag
    while (child != null) { // emit child tags recursively
    displayMetadata(child, level + 1);
    child = child.getNextSibling();
    indent(level); // emit close tag
    System.out.println("</" + node.getNodeName() + ">");
    } else {
    System.out.println("/>");
    static void indent(int level) {
    for (int i = 0; i < level; i++) {
    System.out.print(" ");
    }

    Hi,
    Yes, you need store data to table, and fetch it when page is opened.
    Simple way is create table with few columns and e.g. with CLOB column and then create form based on that table.
    Then modify item types as you like, e.g. use HTML editor for CLOB column
    Regards,
    Jari

  • Is meta data used for SEO if so how dose it work ?

    Is meta data used for SEO? I would like to know how to create meta data for SEO use. I found this on a form with the label mete data for SEO. Can anyone help me understand what the parts of this code are used for?
    <title>epecho | The visual works of Danel Roldán</title>
    <meta name="verify-v1" content="+Yjk73MkziQFeIPyBcJtgXwi2LcwfLnAMazU0KtigIA=" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="description" content="epecho is a creative studio founded by designer Danel Roldán in 2004. Located in New Jersey, epecho serves clientele locally, nationally and internationally.
    epecho focuses on logo design, corporate and brand identity and works closely with providers of multimedia, illustration and production of internet and print marketing campaigns. For more information please contact epecho. For a direct quote, please complete and submit the online application form." />
    <meta name="keywords" content="logo, logos, logo design, logo designs, brand, brands, branding, brand design, brand designs, design, designer, graphic, graphic designer, danel, danel roldán, roldán, jersey, new jersey, geneva, lausanne, cross, genève, graphiste, logotype, font, type, typeface" />
    <meta name="author" content="Danel Roldán" />
    <meta name="copyright" content="(c) 2009 epecho" />

    Vinay has given you some good links, but I'll add a little bit more  :-)
    <meta name="verify-v1" content="+Yjk73MkziQFeIPyBcJtgXwi2LcwfLnAMazU0KtigIA=" />
    That is a verification code, supplied via google if you have signed up for the WebMaster Tools:
    https://www.google.com/webmasters/tools/
    It allows you to check some stats etc., once you have added the verification code to your page.
    The only other Meta Tags you really need to use are the <Title> tag and the Description tag.
    The rest of SEO is making sure that the web pages are SE friendly.  Not many SEs take into account all those meta-tags these days.
    Make sure that keywords are scattered through the pages, make sure that the <h1> and <h2> heading tags use words that are important to site as they help with SEO as well.
    SEO can't be mastered in a day - there are people that do this full time and even they are constantly learning new ways to ensure good rankings in the SEs.  :- )  It's not dificult, but does take persistence !
    Google's SEO Starter Guide (PDF)
    http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf
    High  Rankings Advisor
    http://www.highrankings.com/newsletter/
    SEOMoz.org  - Beginner's Guide to SEO (1-page html)
    http://www.seomoz.org/article/beginners-1-page
    SEO  Chat
    http://www.seochat.com/

  • How to do search of business partner data, using a message from external sy

    Hi CRM Gems,
    please send the answer to the following question.
    1.How to do search of business partner data, using a message from external system. What FM’s, BAPI etc that can be used for this functionality?
    your answer will be valuble to me.
    Regards,
    Krishna..

    Hi krishna,
      Look at BAPI   BAPI_BUPA_SEARCH.
    Regards.
    Manuel

  • Regex question: How do I insert commas between meta data?

    Current search engine is being replaced with Google Search Appliance (GSA). It requires meta data to be separated by a comma + space, whereas the previous search engine required only a space.  For example:
    <meta name="C_NAME" content="Screen1 Screen2">
    must become
    <meta name="C_NAME" content="Screen1, Screen2">
    There are 17 unique screen names and each of 2500 html files may have one or more screen names identified in that meta tag field.
    I am hoping for some regular express magic to help me with that global search/replace effort.  Suggestions are greatly appreciated.
    Thanks,
    Rick
    ================================
    Nevermind... figured it out.  Just needed to study regex syntax a bit. Here's the answer:
    Find:  <meta name="C_NAME" content="(\w+)\s(\w+)\s
    Replace:  <meta name="C_NAME" content="$1, $2,

    The only transition you can add this way is default cross dissolve. If the images are in the timeline, move the playhead to the beginning of the images, select them all, and drag from the timeline to the canvas to overwrite with transition.

  • How to publish the BI content in portal using Information Boardcasting ?

    Hi Gurus,
    I know we can broadcost the BW information using (System admin->System Config->KM Config->Content Management-->Repository Manager)
    BI document repsitory
    BI Meta data repository
    why we need two (Document and Meta data repostory) what is the use of it?
    Now my question can someone please tell me the steps to achieve this?and also tell me about the advantage and dis-advantage of doing this?
    Thanks in Advance,
    Dharani

    Hi Dharani,
    see following links for more information
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a]
    [http://help.sap.com/saphelp_nw04s/helpdata/en/38/3f59403db70272e10000000a155106/frameset.htm]
    [http://help.sap.com/saphelp_nw04s/helpdata/en/85/905640a2f78437e10000000a155106/frameset.htm]
    Best regards,
    Denis

  • How to publish for Google ADP, and make use of clickTag like Flash

    The transition from Flash to Edge Animate seems pretty straightforward from a coding/user perspective. I have not been able to find a solid answer on how to publish a banner ad, say a 728x90 leaderboard and deliver to a vendor. I need to know:
    1. Which files to deliver
    2. How do you structure the links for the .js files (absolute, root relative etc)
    3. How to add a clickTAG link that the vendor will populate the actual link into.
    Thank you.

    Just uploaded a file snippet created using software you mentioned. Try syncing the file named "TestClip" and see if it exhibits the same audio problem.
    http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=jrwalker4&tem platefn=FileSharing31.html&xmlfn=TKDocument.31.xml&sitefn=RootSite.xml&aff=consu mer&cty=US&lang=en

  • How do we create a jdbc onnection pool using WLST in an existing domain

    I am using WLST for creating weblogic 8.1 sp4 domain. The scripts I have create connection pools at the creation of domain. These scripts are used by other developers to create their local domains. I would like to avoid the creation of domain from scratch just to add a new connection pool
    I am looking for way to create connection pool in the existing domain. Is there a way to do this?

    You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
    As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
    If you are still having issues then post another message.
    Geoff

  • Setup SAML 2.0 Service Provider using WLST Offline

    Is this possible http://weblogic.sys-con.com/node/1455841 to do using WLST offline?

    I enabled "DebugSecurityAtn" as suggested - and "DebugHttpSessions" as well.
    Unfortunately, I'm still not sure what's happening though.
    Here are all my "Authentication Providers" in the order listed in the Console:
    - DefaultAuthenticator : Control Flags=SUFFICIENT
    - DefaultIdentityAsserter : No "Active Type"
    - saml2IA (SAML 2.0 Identity Assertion Provider)
    - samlauth (SAML Authentication Provider): SUFFICIENT
    This is an except of the updated server log:
    <SecuritySAMLAtn> <SAMLIALoginModule: commit(): SAML IA LoginModule Group Added>
    <SecurityAtn> <weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.authenticate login succeeded and myuser was not previously locked out>
    <SecurityAtn> <com.bea.common.security.internal.service.IdentityCacheServiceImpl.cachedIdentity(Subject: 3
    Principal = class weblogic.security.principal.WLSUserImpl("myuser")
    Principal = class weblogic.security.principal.WLSGroupImpl("grp_a")
    Principal = class weblogic.security.principal.WLSGroupImpl("grp_b")
    )>
    <HttpSessions> <[HTTP Session:100046]Creating new session with ID: nVm... for Web application: /saml2.>
    <SecuritySAML2Service> <Using redirect URL from request cache: 'https://localhost:1234/MyApp/secure/index.html'>
    <SecuritySAML2Service> <Redirecting to URL: https://localhost:1234/MyApp/secure/index.html>
    <HttpSessions> <[HTTP Session:100078]HTTPSession with id: "nVm..." is of size 84 bytes.>
    <SecuritySAML2Service> <SAML2Filter: Processing request on URI '/MyApp/secure/index.html;jsessionid=nVm...'>
    <SecuritySAML2Service> <getServiceTypeFromURI(): request URI is not a service URI>
    <SecuritySAML2Service> <getServiceTypeFromURI(): returning service type 'SPinitiator'>
    Thank you,
    Patrick

  • How to return the correct row of data using diffferent conditions?

    I am having some problems with an sql query and I hope someone can help please?
    The data I am using is customers with multiple transactions. If a customer contains one transaction where the transaction type = 'W' then I need to set the output value to be transaction.ValueA. If the customer does not contain any transactions where the transaction type is 'W' then I need to set the output value to be
    the most recent transaction.ValueB where transaction.transaction_date <= customer.cust_mod_date.
    Here is an example of the data. For each test customer 10 and 20 I have put a star against the value I want to return
    CUSTOMER_ID CUST_MOD_DATE TX_DATE      TX_TYPE TX_VALUEA TX_VALUEB
    10          15/07/2009 16/07/2009     A     110      95
    10          15/07/2009 14/07/2009     A     100      90(*)          
    10          15/07/2009 13/07/2009     A     90          10
    10          15/07/2009 12/07/2009     A     80          5
    20          15/07/2009 15/07/2009     A     60          10
    20          15/07/2009 14/07/2009     W     50(*)     20
    20          15/07/2009 13/07/2009     A     40          30
    ie
    CREATE TABLE
    TMP_CUSTOMER (CUSTOMER_ID NUMBER, CUST_MOD_DATE DATE);
    insert into tmp_customer
    values(10, to_date('15/07/2009','dd/mm/yyyy'));
    insert into tmp_customer
    values(20, to_date('15/07/2009','dd/mm/yyyy'));
    CREATE TABLE
    TMP_TRANSACTION (TX_ID NUMBER, CUSTOMER_ID NUMBER, TX_DATE DATE, TX_TYPE VARCHAR2(1), TX_VALUEA NUMBER, TX_VALUEB NUMBER);
    INSERT INTO TMP_TRANSACTION
    VALUES (1,10, to_date('16/07/2009','dd/mm/yyyy'),'A',110,95);
    INSERT INTO TMP_TRANSACTION
    VALUES (2,10, to_date('14/07/2009','dd/mm/yyyy'),'A',100,90);
    INSERT INTO TMP_TRANSACTION
    VALUES (3,10, to_date('13/07/2009','dd/mm/yyyy'),'A',90,10);
    INSERT INTO TMP_TRANSACTION
    VALUES (4,10, to_date('12/07/2009','dd/mm/yyyy'),'A',80,5);
    INSERT INTO TMP_TRANSACTION
    VALUES (5,20, to_date('15/07/2009','dd/mm/yyyy'),'A',60,10);
    INSERT INTO TMP_TRANSACTION
    VALUES (6,20, to_date('14/07/2009','dd/mm/yyyy'),'W',50,20);
    INSERT INTO TMP_TRANSACTION
    VALUES (7,20, to_date('13/07/2009','dd/mm/yyyy'),'A',40,30);
    The query I have so far is
    (SELECT CUSTOMER_ID, CUST_MOD_DATE, TX_DATE, TYPE_FLAG, TX_VALUEA, TX_VALUEB, RN
    FROM (SELECT CUST.CUSTOMER_ID, CUST.CUST_MOD_DATE,TRANS.TX_DATE, TRANS.TYPE_FLAG, TRANS.TX_VALUEA,TRANS.TX_VALUEB,
    ROW_NUMBER() OVER (partition BY TRANS.CUSTOMER_ID ORDER BY TRANS.TX_DATE DESC) RN
    FROM TMP_CUSTOMER CUST,
    --- Return all transactions creating a type_flag field where Y = type W, else N ---
    SELECT CUST.CUSTOMER_ID, TX.TX_DATE, TX.TX_VALUEA, TX.TX_VALUEB, CUST.CUST_MOD_DATE, TX.TX_TYPE,
    CASE WHEN NVL(TX.TX_TYPE,'0') <> 'W' THEN 'N'
    WHEN NVL(TX.TX_TYPE,'0') = 'W' THEN 'Y'
    ELSE 'N'
    END AS TYPE_FLAG
    FROM TMP_TRANSACTION TX, TMP_CUSTOMER CUST
    WHERE TX.CUSTOMER_ID = CUST.CUSTOMER_ID
    AND CUST.CUSTOMER_ID in
    '10','20'
    ) TRANS
    WHERE CUST.CUSTOMER_ID = TRANS.CUSTOMER_ID
    --AND   TRANS.TX_DATE <= CUST.CUST_MOD_DATE
    AND CUST.CUSTOMER_ID in
    ('10','20'
    Can anyone please help with how I extract the record I am looking for
    ie customer 10 has amount 90
    customer 20 has amount 50.
    Thanks :-)
    GB

    SQL> select c_id
      2  ,      cust_mod_date
      3  ,      tx_date
      4  ,      tx_type
      5  ,      tx_valuea
      6  ,      tx_valueb
      7  from ( select c.customer_id c_id
      8         ,      c.cust_mod_date
      9         ,      t.tx_date
    10         ,      t.tx_type
    11         ,      t.tx_valuea
    12         ,      t.tx_valueb
    13         ,      row_number() over (partition by c.customer_id order by t.customer_id, t.tx_date desc) rn
    14         from   tmp_customer c
    15         ,      tmp_transaction t
    16         where  t.customer_id = c.customer_id     
    17         and    t.tx_date <= c.cust_mod_date
    18       )
    19  where case
    20          when tx_type = 'W' then 1
    21          when rn = 1
    22          and  not exists ( select null
    23                            from   tmp_transaction t2
    24                            where  t2.customer_id = c_id
    25                            and    t2.tx_type = 'W'
    26                          )
    27          then 1
    28        end = 1;
          C_ID CUST_MOD_ TX_DATE   T  TX_VALUEA  TX_VALUEB
            10 15-JUL-09 14-JUL-09 A        100         90
            20 15-JUL-09 14-JUL-09 W         50         20
    2 rows selected.

  • How do I pull SharePoint 2013 list data using a SQL Query

    I have been asked to write a sql query to pull data from a SharePoint 2013  List.it needs to return all the columns
    Basically a Select all from the specific SharePoint list Database
    I do have the  list GUID ID. But not sure  which  SQL Table or Database to look in for list data.. the site and the list is in our main SharePoint site collection.
    the query only needs to be saved in SQL server

    I know it isn't support but sometimes you have to share data with other programs....
     I'm stuck.. I was able to get this far...
    SELECT * FROM dbo.Lists
    where tp_Title ='List Name'
     how do I pull the columns of the list?
    I think I still need the specific list not just the master list dbo....
    those two links do not work for SQL server  and SharePoint 2013

  • How to search a .csv file for data using its timestamp, then import to labview

    Hi, I'm currently obtaining density, viscosity and temperature data from an instrument, adding a timestamp and writing it to a .csv file which I can view in Excel. This works fine (see attached code) but what I need to do now is to search that csv file for data which was obtained at a certain time, import the temperature, density & viscosity values at this time back into Labview to do some calculations with them, while the data acquisition process is still ongoing.
    I've found various examples on how to import an entire csv file into labview, but none on how to extract data at a specific time. Also, whenever I try to do anything with the .csv file while my data acquistion VI is running, I receive error messages (presumably because I'm trying to write to and import data from the .csv file simultaneously). Is there some way around this, maybe using case structures?
    If you need to know my skill level, I've been using Labview for a few weeks and prior to that have basically no experience of writing code, so any help would be great. Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Lemis VDC-30 read registers MODBUS v5.vi ‏56 KB

    It sounds as if you are going about this a little backwards writing to a data file and then extracting from the file but its the weekend so I can't think of an improved way to do it at the moment. 
    Searching for a specific time with those specific values is quite easy, or if you wanted to select any time then you could interpolate the values to find any value that you want (This is where the contiguous measurement comes in, as you have readings at discrete times you will have to interpolate the values if you want to get the 'measured value' at a time point that is not exactly one of your measured points).
    If you can extract the TDMS time column and the T, D & V then simply thresholding and interpolating each of your array/data sets should allow readings at your desired times.
    Attachments:
    Interpolate.png ‏301 KB

  • How to sort pdf documents by modified date using Javascript action

    Hello,
    I want to use a Javascript action to sort multiple pdf documents in a folder before I run a Javascript action that prints the last page of multiple pdf documents.  I received help from this forum on the last page print script and it works perfectly.  The downside is it prints in default NAME order and I need them to print in accending DATE MODIFIED order.  I'm not sure if the sort function could be incorporated into the print script or if it would be a seperate code/action.
    This is the script to print the last page of several pdf documents:
    this.print
    ({bUI: false,
    nStart:this.numPages-1,
    bSilent: true,
    bShrinkToFit: true});
    I would appreciate help from anyone that is willing to share the code to "sort by DATE MODIFIED".
    Adobe Acrobat 10 Pro
    Windows 7
    Thank you in advance,
    David C.

    I'm not a code writer.  I'm trying to streamline some operations here at work.  The original code assistance was to print the last page of several pdf documents (sometimes as many as 100 to 150 at a time) without having to open each file, scroll to the bottom, Ctrl-P, current page, Print.  Can't express how beneficial it was to get that to work.  I realize I'm looking a gift horse in the mouth, but when it prints out, it would be great to have them print in DATE MODIFIED order since they are kept in processed order rather than alpha order.
    If the two processes are too labor intensive I fully understand and appreciate all the assistance thus far.  I was hoping it would be as simple as the first script coding to do the actual printing.
    Thanks,
    David C.

  • How do you query the journal drilldown data using SQL

    Hi All,
    Appreciate if anybody can assist me into querying the database via SQL query so the journal data includes sub ledger detail.
    I found that I cannot link the GL journal batch id (etc.) with the existing sub ledger (AR and AP). Is there any way to perform this query, if not, how can the drill down works?
    I needed the guidence since there are certain info that is not available in the journal (rct number, PO no, check no etc). I need to ensure that the data I have is tally with GL journals.
    Reasons: doing some recon download to be feeded to a third party system.
    Thanks.

    Hi there are mappings for the reference fields from AP and AR, so you can buid up the links there. Just look at the reference fields of gl_je_lines and try to identify which is valuable for you.
    Ugur YILMAZ
    http://oracle-master.com

  • Can you remove Meta Data using Acrobat 7

    Mac OSX
    Acrobat 7.0
    Hello,
    Is this possible. If not is it available in another version?
    Thanks

    I think I found out how to do this. I would appreciate if someone could confirm the accuracy of this.
    File > Document Properties > Descriptionl > Additional Metadata > Advanced
    Select the data and click Delete, click OK.

Maybe you are looking for