How to retrieve the admin console password

hi,
How to retrieve the password for the admin console. I have forgotten it. I am
using 8.1
Thanks
Ashwani

Hi,
I don't know of a way to retrieve the administrators password. Are you sure there
is one? I know how to change or reset it from the command line. Then you'll
know what it is :)
I did the following:
%JAVA_HOME%\bin\java -cp %WL_HOME%\WLS\server\lib\weblogic.jar weblogic.Admin
-adminurl localhost:8301 -username system -password patbumpus invoke -mbean Security:Name=myrealmDefaultAuthenticator
-method changeUserPassword system patbumpus password
You can also try -method resetUserPassword and you don't have to know the original
password.
There is a problem with changing the administrator's password. You need to update
the boot.properties file in the domain directory as well which you can do in a
sed script. If you don't, then the server won't boot. Also, there might be issues
with changing the administrator's password and then being able to start managed
servers. I had a problem, but didn't investigate enough to rule out user error.
This is supposed to be all fixed in WLS 9.x.
I know that I didn't answer your question, but maybe something was useful.
pat
"Ashwani Kalra" <[email protected]> wrote:
>
hi,
How to retrieve the password for the admin console. I have forgotten
it. I am
using 8.1
Thanks
Ashwani

Similar Messages

  • How to clean the Admin Console Library of Resources?

    Hi,
    Could anybody point me how to clean the library of books, pages and portlets of the admin console library? It's full of old elements not in use anymore.
    Thanks in advance,
    leandro

    With reference to steps in
    Oracle® Business Intelligence Applications Installation Guide for Informatica PowerCenter Users Version 7.9.6 Part Number E14217-01
    Chapter 4, "Installing and Setting Up Oracle BI Applications."
    http://download.oracle.com/docs/cd/E14223_01/index.htm
    I think I had a similar error at step
    "4.6.3 Creating the Informatica Repository Service"
    "The repository code page [106: UTF-8 encoding of Unicode]
    does not match the code page specified for the corresponding
    Repository Service in the Administration Console
    [2252: MS Windows Latin 1 (ANSI), superset of Latin1]."
    you must create the repository service with a matching code page
    - remember that the code page cannot be changed after the Repository Service is created
    Service Name = RepositoryService
    CodePage = UTF-8 (Unicode)
    later on at step "4.6.4 Creating the Informatica Integration Service"
    it throws
    "LM_36011 Code page mismatch. Service process is running in code page
    [ISO 8859-1 Western European] whereas the service is configured
    in the Admin Console to run in code page [UTF-8 encoding of Unicode]"
    so I had to set the language env variables before starting the service
    export LANG=en_GB.utf-8
    export LC_ALL="en_GB.utf-8"
    export INFA_HOME=/u01/app/oracle/product/8.6.0/etl_1
    $INFA_HOME/server/tomcat/bin/infaservice.sh startup
    Hope that helps.

  • How to get the admin username & password for JMX connection

    Hi All,
    I need to retrieve the username & password and pass it to the JNDI to get the JMX connection for MBean Server. I will be doing this locally.
    Is there an API that I can use to retrieve this information ?
    thanks
    -sheshi

    Forgot to mention, I am using WebLogic 9.1

  • How to change the Admin name/password?

    Hello, I have a iMac 27 inch i5 16GB RAM (don't think this matters, but just in case) and I am selling it in order to upgrade to the i7.
    I have bootcamp with windows 8pro and a lot of software on the MAC side. If this guy want to take it as is, is there a way to simply change the "account" from mine to a new person without wiping the drives and starting from scratch?

    Are you a police officer? Did I ask for legal advice? You are wrong, my friend. not to mention, a lot of software is bought online, no disks. Either way, if I buy my nephew a laptop, buy dvd fab and put it on his computer...and do not give him the confirmation email, that is not a crime. Not trying to be an azz, buut come on. Why can't someone just answer a question here without the 3rd degree, I just looked for a solution as to why my finder doesn't update to show shares, and if there is a "refresh" option. I found a thread! Guess what? Everyone there was asking "why would you want to do that?" Who cares?! It is a question!
    nice job, apple with not allopwing certain words in your posts. I guess apple users are more easily butt hurt than the others lol
    And no one answered what happens if I delete my email address that is connected to my apple ID?

  • How do i restore/reset Admin console password

    Hi
    Here is the scenario
    1. i install a new Sun Directory Server 5.2 in my development Server ( Solaris 10 )
    2. i set admin/password for my admin console password
    3. i backup the data from UAT server using
    - ./saveconfig
    - ./db2bak
    then transfer over the file to my development server
    4. i do ./restoreconfig
    and ./bak2db
    5. the development ldap server is up and running
    BUT somehow the password for admin console get overwritten
    by the config i extract from UAT Server ( which i dont know the password for admin console in UAT server )
    how do i reset/restore the admin console password?
    Thanks.
    can i just do ./bak2db without doing restore config to restore the data??

    hi,
    stop the slapd process,
    go to the config directory of your server and open the dse.ldif with a editor,
    serach for 'nsslapd-rootdn' and 'nsslapd-rootpw',
    you will find your ldap manager account, should be something like:
    nsslapd-rootdn: cn=Manager
    an his password:
    nsslapd-rootpw: {SSHA}lrSK6wJmZMBBg/jOdCd/fxKf+hhUfaFQFCpLFw==
    generate a new password with:
    ./getpwenc <encryption scheme> <password to encrypt>
    ./getpwenc SSHA newsecret
    {SSHA}cwn+TWDDcex1nJgA1QxkWJN/V+hWTytPyCZTbw==
    the 'getpwenc' script is located in the slapd-<hostname> directory of your server-install-directory.
    take the new generated pasword and replace it with the old one in the dse.ldif.
    don't forget to make an extra backup of the dse.ldif!

  • You have forgot your admin console password.how to reset your admin console

    If you create the new domain in oracle weblogic at that time you give the admin console username & password. After one week you forgot the admin console password. then how to login into the admin console page.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain --> The New domain name is " vinoth_domain"
    [root@loaclhostvinoth_domain]# ll
    total 44
    drwxr-x--- 2 root root 4096 Jul 23 12:21 autodeploy
    drwxr-x--- 5 root root 4096 Jul 23 12:21 bin
    drwxr-x--- 12 root root 4096 Jul 23 12:22 config
    drwxr-x--- 2 root root 4096 Jul 23 12:21 console-ext
    -rw-r----- 1 root root 462 Jul 23 12:21 fileRealm.properties
    drwxr-x--- 2 root root 4096 Jul 23 12:21 init-info
    drwxr-x--- 2 root root 4096 Jul 23 12:21 lib
    drwxr-x--- 2 root root 4096 Jul 23 12:31 security
    drwxr----- 3 root root 4096 Jul 23 12:22 servers
    -rw-r----- 1 root root 649 Jul 23 12:21 startManagedWebLogic_readme.txt
    -rwxr-x--- 1 root root 275 Jul 23 12:21 startWebLogic.sh
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r--r-- 1 root root 3301 Jul 23 12:31 DefaultAuthenticatorInit.ldift
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_backup
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    -rw-r--r-- 1 root root 3301 Jul 23 12:33 DefaultAuthenticatorInit.ldift_backup
    [root@loaclhostbin]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/bin
    [root@loaclhostbin]# ll
    total 48
    drwxr-x--- 2 root root 4096 Jul 23 12:21 nodemanager
    drwxr-x--- 2 root root 4096 Jul 23 12:21 server_migration
    drwxr-x--- 2 root root 4096 Jul 23 12:21 service_migration
    -rwxr-x--- 1 root root 15895 Jul 23 12:21 setDomainEnv.sh
    -rwxr-x--- 1 root root 3211 Jul 23 12:21 startManagedWebLogic.sh
    -rwxr-x--- 1 root root 5658 Jul 23 12:21 startWebLogic.sh
    -rwxr-x--- 1 root root 2437 Jul 23 12:21 stopManagedWebLogic.sh
    -rwxr-x--- 1 root root 2098 Jul 23 12:21 stopWebLogic.sh
    [root@loaclhostbin]# ./setDomainEnv.sh --> You can set the Environment.
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]#java weblogic.security.utils.AdminAccount Adminnewusername Adminnewpassword .
    Example:
    [root@loaclhostsecurity]#java weblogic.security.utils.AdminAccount vinoth vinoth123 .
    You must use '.' dot at the end of this command in between have a space.
    If you execute the above statement then the newly created DefaultAuthenticatorInit.ldift is availble in this path
    "/oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/"
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    -rw-r--r-- 1 root root 3301 Jul 23 12:33 DefaultAuthenticatorInit.ldift_backup
    -rw-r--r-- 1 root root 3301 Jul 23 12:37 DefaultAuthenticatorInit.ldift ---> newly created file.
    After you start the Adminserver the error is throughing then we go to the Adminserver ldap directory and rename the ldap directory.
    [root@loaclhostdata]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/servers/AdminServer/data
    [root@loaclhostdata]# ll
    total 16
    drwxr----- 2 root root 4096 Jul 23 12:23 console
    drwxr----- 7 root root 4096 Jul 23 12:44 ldap
    drwxr----- 4 root root 4096 Jul 23 12:23 store
    [root@loaclhostdata]# mv ldap ldap_backup
    [root@loaclhostdata]# ll
    total 16
    drwxr----- 2 root root 4096 Jul 23 12:23 console
    drwxr----- 4 root root 4096 Jul 23 12:23 store
    drwxr----- 7 root root 4096 Jul 23 12:55 ldap_backup
    After that you start the Adminserver by using the "startWeblogic.sh'' shell script.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain
    [root@loaclhostvinoth_domain]# ll
    total 44
    drwxr-x--- 2 root root 4096 Jul 23 12:21 autodeploy
    drwxr-x--- 5 root root 4096 Jul 23 12:21 bin
    drwxr-x--- 12 root root 4096 Jul 23 12:22 config
    drwxr-x--- 2 root root 4096 Jul 23 12:21 console-ext
    -rw-r----- 1 root root 462 Jul 23 12:21 fileRealm.properties
    drwxr-x--- 2 root root 4096 Jul 23 12:21 init-info
    drwxr-x--- 2 root root 4096 Jul 23 12:21 lib
    drwxr-x--- 2 root root 4096 Jul 23 14:50 security
    drwxr----- 3 root root 4096 Jul 23 12:22 servers
    -rw-r----- 1 root root 649 Jul 23 12:21 startManagedWebLogic_readme.txt
    -rwxr-x--- 1 root root 275 Jul 23 12:21 startWebLogic.sh
    [root@loaclhostvinoth_domain]# ./startWebLogic.sh
    Then you enter the new adminuser & password. The admin server Working fine. But if you start the Managed server the can through error. Then we follow the below step to resolve that problem.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/servers/Managedserver1/data/
    [root@loaclhostvinoth_domain]# ll
    [root@loaclhostdata]# ll
    total 8
    drwxr----- 7 root root 4096 Jul 15 18:50 ldap
    drwxr----- 4 root root 4096 Jun 8 16:40 store
    [root@loaclhostdata]# mv ldap ldap_backup
    root@loaclhostdata]# ll
    total 8
    drwxr----- 4 root root 4096 Jun 8 16:40 store
    drwxr----- 7 root root 4096 Jul 23 15:50 ldap_backup
    Then you can start the Managed server one means they can't show any error.
    [root@loaclhostbin]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/bin/
    [root@loaclhostbin]# ll
    total 72
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 nodemanager
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 server_migration
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 service_migration
    -rwxr-xr-x 1 root root 15901 Jun 8 16:27 setDomainEnv_default.sh
    -rwxr-xr-x 1 root root 16348 Jun 8 17:27 setDomainEnv.sh
    -rwxr-xr-x 1 root root 3217 Jun 8 16:27 startManagedWebLogic.sh
    -rwxr-xr-x 1 root root 5661 Jun 8 16:27 startWebLogic_default.sh
    -rwxr-xr-x 1 root root 5702 Jun 8 16:29 startWebLogic.sh
    -rwxr-xr-x 1 root root 2440 Jun 8 16:27 stopManagedWebLogic.sh
    -rwxr-xr-x 1 root root 2101 Jun 8 16:27 stopWebLogic.sh
    [root@loaclhostbin]#./startManagedWebLogic.sh Managedserver1 http://localhost:7001 adminusername adminpassword
    adminusername : vinoth
    adminpassword: vinoth123
    If you follow the step to start the Adminserver & Managed servers in oracle weblogic.
    Regards,
    S.Vinoth Babu

    Re: Reset admin password in Weblogic 9.2
    this worked for me.

  • Adobe muse - how to upload images in photo gallery in the admin console?

    Question from Adobe Muse beginner - I can't figure out how images can be uploaded in a slideshow/photo gallery in the admin console? I can edit or delete images but not upload additional images?

    Hi,
    May I know which admin console are you talking about.
    You are talking about Business Catalyst or Adobe Muse?
    Please provide the steps to access the admin console via Muse.
    Regards,
    Gaurav Aggarwal

  • How do I find out the admin and password?

    I need this ASAP so I can download some music onto my ipod touch. How are you supposed to know what the admin and password are?

    the admin and password for what?
    If for Apple ID see:
    Frequently Asked Questions About Apple ID
    If you forgot your screen-lock passcode
    Connect the iOS device to your computer and restore via iTunes. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do I create admin console users with full access to configuration and the directory in every instance?

    I want to be able to create directory user ID for the iPlanet administrators. They should be able to access the admin console and all the instances created. They should be able to configure each instance and directory. I was able tocreate Admin Server Administrators but they were only able to modify the directory(tab) and not the configurations(tab). Any help would be greatly appreciated!
    Thanks.
    Keith

    Hi Keith,
    In o=netscaperoot, edit the static group called cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot - this group contains the admins peer to your config admin. Since the console is quirky and doesn't let you add in users not in netscaperoot, just click advanced and put in the full dn of whoever you want in by hand, e.g., uid=scarter, ou=people, dc=mydomain,dc=com as a static member. then rebind to the console with the full dn and passwd, and away you go :)
    james

  • How to retrieve the data from SAP-BAPI by using VB Code

    Hi ,
    I am new to BAPI.
    V have created an application in Visual Basic with the following fields
    EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
    We have written the code for SAVING the data into SAP. Already we have
    constructed a table with the respective fields in SAP.
    For that we ourself created our own BAPI Structure / Function Group /
    Function Module/ Business Object - RELEASED related elements.
    1)Established the connection successfully.
    2)Stored the data into SAP Successfully and v r in need of
    3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
    Following is the code :
    'BAPI Structure  : ZBAPIEMP
    'Function Group  : ZBAPIEMP
    'Function Module : ZBAPI_EMP_CREATEFROMDATA
    'Business Object : ZBAPIEMP
    'Function Module : ZBAPI_EMP_GETLIST
    Dim bapictrl As Object
    Dim oconnection As Object
    Dim boEmp As Object
    Dim oZEmp_Header As Object
    Dim oImpStruct As Object
    Dim oExpStruct As Object
    Dim oreturn As Object
    Dim x As String
    Private Sub Form_Load()
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set oconnection = bapictrl.Connection
    oconnection.logon
    Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
    Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
    Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
    End Sub
    Private Sub cmdSave_Click()
        oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
        oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
        oZEmp_Header.Value("ADDR1") = txtAddr1.Text
        oZEmp_Header.Value("ADDR2") = txtAddr2.Text
        oZEmp_Header.Value("CITY") = txtCity.Text
        oZEmp_Header.Value("PHONE") = txtPhone.Text
        boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
        x = oreturn.Value("Message")
        If x = "" Then
            MsgBox "Transaction Completed!..."
        Else
            MsgBox x
        End If
    End Sub
    Private Sub cmdView_Click()
    End Sub
    COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.

    I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
    -Tim
    Option Compare Database
    Dim SAPLOGIN As Boolean
    Dim FunctionCtrl As Object
    Dim SapConnection As Object
    Sub SAPLOGOUT()
    On Error GoTo LogoutFehler
        SapConnection.logoff
        SAPLOGIN = False
    Exit Sub
    LogoutFehler:
        If Err.Number = 91 Then
            Exit Sub
        Else
            MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
        End If
    End Sub
    Function SAPLOG() As Boolean
    'Verbindungsobjekt setzen (Property von FunctionCtrl)
       Set FunctionCtrl = CreateObject("SAP.Functions")
       Set SapConnection = FunctionCtrl.Connection
    'Logon mit Initialwerten
       SapConnection.Client = "010"
       SapConnection.Language = "EN"
       SapConnection.System = "PR1"
       SapConnection.SystemNumber = "00"
       'SapConnection.Password = ""
       SapConnection.GroupName = "PR1"
       SapConnection.HostName = "168.9.25.120"
       SapConnection.MessageServer = "168.9.25.120"
         If SapConnection.Logon(0, False) <> True Then  'Logon mit Dialog
             Set SapConnection = Nothing
             DoCmd.Hourglass False
             MsgBox "No connection to SAP R/3 !"
             SAPLOGIN = False
             SAPLOG = False
             Exit Function
          End If
        SAPLOG = True
    End Function
    Function MatDescr(MatNr As String)
    Dim func1 As Object
    Dim row As Object, X As Integer, ErsteNr As String
    Dim DatensatzZähler As Long
    Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
        If Not SAPLOGIN Then
            If Not SAPLOG() Then
                MsgBox "No connection  to SAP !", 16
                SAPLOGOUT
                Exit Function
            End If
        End If
    ' Instanziieren des Function-Objektes
    Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
    ' Export-Paramter definieren
    func1.exports("MATNR") = MatNr
    func1.exports("SPRAS") = "EN"
    DoEvents
    If Not func1.call Then
        If func1.exception <> "" Then
            MsgBox "Communication Error with RFC " & func1.exception
        End If
        DoCmd.Hourglass False
        SAPLOGOUT
        Exit Function
    Else
      MatDescr = func1.imports("MAKTX")
    End If
    If MatDescr = "" Then
        MatDescr = "PART NO. NOT FOUND"
    End If
    End Function

  • Switching off DEBUG messages in the admin console

    Hi
    I have the problem that I see a lot of debug information on the log when starting the admin console and navigation through the pages. It makes the admin console VERY slow. This must be some sort of low level debug stuff which I'm not able to witch off.
    I already made sure that debugging is switched off for the server (AdminConsole->Debug) and no diagnostic options are turned on. I also checked for a debug command line option in the start script.
    Some example debug output:
    DEBUG struts.util.PropertyMessageResources (PropertyMessageResources.java:284) - Saving message key '.assistant.jms.server.resumeconsumption.title
    DEBUG util.logging.Logger (Logger.java:118) - Delegating to RequestDispatcher for URI /jsp/contentheader/Messages.jsp
    Thank for any hints!

    You could add a dynamic text field to your app, add it to the stage and send notifications for whatever you need to debug.
    e.g. Just as you would use the trace("this message "+variableValue); in Flash to debug using the output window.
    You would use
    textfield_name.appendText("this message "+variableValue+"\n");
    or if you were listening for error you could use something like:
    private function errorXML(e:Event):void {
    textfield_name.appendText("XML Error:"+ e);
    I'm not sure how or if you can utilise the Xcode organiser with an AIR app.

  • Sun java system application server 8 custom realm lock the admin console up

    Hi:
    I implemented a custome realm. After I installed the custom realm to Sun App server 8 PE, I can get into the admin console any more. According to the log, the user is authenticated. However, this user isn't in write group to access the admin console. What would be the user group in a custom realm to access admin console?
    In version 7, even you set up custom realm the admin console still not affected by the custom realm. Why is the admin console in version 8 picking up custom realm?
    Thanks.

    Previous reply was quite misleading - there is no such thing as default admin password for standalone installation of Application Server. Default values only apply to Application Server installation installed through Creator or NetBeans installer.
    Otherwise, you have to specify admin user name and password at installation time. Admin username value is defaulted to "admin" so unless you changed it in your installation that should still apply. You had to enter explicit password values.
    If you forgot those, you can either uninstall and reinstall or you can take a look at Troubleshooting Guide for instructions on reseting admin authentication:
    http://docs.sun.com/source/817-6085/troubleshooting.html#1026910

  • How to retrieve the system used in an iview?

    hello,
    i'm currently having trouble retrieving the proper attribute of an iview to retrieve the system used by it.
    it seem like the strings identifying the system in the iview differ in some iviews.
    using either:
    myIView.getAttribute(IAttriView.PORTAL_SYSTEM)
    or
    myContext.getAttributes("").get("System").get().toString()
    produce errors.
    while get("System") sometimes provides the correct system alias the attribute is none existant for other iviews where the string would be "Systemalias".
    IAttriView.PORTAL_SYSTEM doesn't seem to work at all.
    i did implement fail safe code if the attribute isn't present, however i don't know how to retrieve the system attribute without doing a case switch or something similar for all the different strings, which i would prefer not to do.
    also, is there an easy way to retrieve all iviews which use a specific system without parsing the whole pcd and checking the attributes?

    Prerequisite : Create the System Alias for the systems used in the application.
    Use the below code to retrieve the system details:
            HashMap mapattr = new HashMap();
            HashMap map = new HashMap();
            IUser user = WDClientUser.getCurrentUser().getSAPUser();
            IPrincipal principal = (IPrincipal)user;
            ArrayList list = UMFactory.getSystemLandscapeWrappers();
            ISystemLandscapeWrapper systemLandscape = (ISystemLandscapeWrapper)list.get(0);
            //Portal System ALias name
            ISystemLandscapeObject landScapeObject = systemLandscape.getSystemByAlias("<system alias name>");
            IUserMappingData userMapping = (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(landScapeObject,principal);
            userMapping.enrich(map);
            mappedUserId = map.get("user").toString(); // String "UserId"
            mappedPassword = map.get("mappedpassword").toString(); //String "Password" 
         catch(Exception e)
              e.printStackTrace();
              wdComponentAPI.getMessageManager().reportException("Exception during retrieving the User Details - " + e.getMessage(),true);
    Thanks & Regards,
    Amar Bhagat Challa

  • Can I use Apache to Proxy the Admin Console?

    Greetings.
    We are deploying a new Weblogic environment into a network that we treat like a DMZ. Basically we treat all of our Production networks like DMZs, let's not debate the intelligence or stupidity of this please. We are running on RHEL 5.3 x86_64, with Apache 2.2, with Weblogic 10.3.1 32bit.
    One security flaw we are trying to correct is not having secure access to the Weblogic Admin Console. In this secure environment we intended to use the Firewall, Apache Allow/Deny, and SSL to ensure the console is kept secure.
    In our less controlled networks we use an Apache SSL Virtual Host to proxy the Admin Console but it seems that none of our weblogic admins have ever noticed that inside the browser, half the links are not SSL, and include the Admin Console's port number. Just a snippet of the Admin Console's HTML for the banner across the top shows a how some links are / relative and others are fully qualified with protocol, hostname, port and path.
    In order for my Apache Proxy to work properly the Console must be generating / relative links, is there some way to configure the server's root for the Admin Console or something?
    As of now, unless a better idea surfaces, my options seem to be:
    1. Spending my holiday weekend writing a Perl CGI to be the proxy and content filter all of these bad URLs out.
    2. Using ssh to tunnel to the Admin Console's port.
    3. Using mod_proxy_html to do the same thing as #1.
    Here are options not on the Table:
    1. Firewall rules to allow access to the Admin Console port.
    2. Bridging networks with a spare NIC in the server.
    3. Running the Admin Console as Root and binding to port 443.
    Overall, I can't believe I'm the only one to ever think of or try to do such a thing as proxy the Admin Console, but I can not seem to find any blogs, forum posts, or documentation to suggest a good way to accomplish this.
    Thanks for your time and attention.
    Edited by: user1758753 on Sep 4, 2009 2:56 PM

    Hrrm, just changed my forum profile to a better username. Guess it didn't work.
    Edited by: user1758753 on Sep 4, 2009 2:58 PM

  • How to retrieve the Authentication Policy Responses?

    In my OAM server(OAM 11.1.1.5), I configured a Response in authentication policy to retrieve the user information after user signed in, the response item named "UserID", value is "$user.userid", type is "Cookie".
    My question is:
    If I use the WebGate , I will got the response items after user signed in. But I need to develop an Access Gate use the ASDK to replace the WebGate, I don't know how to retrieve the Response items by the ASDK.
    Below is the access log captured by Fiddler, "http://auth.mydomain.com/login.aspx" is my customized login page.
    -----------------------------Web Gate 10g (IIS)----------------------------
    GET http://alan-hu.mydomain.com/oamtest/index.aspx HTTP/1.1
    Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: http://auth.mydomain.com/login.aspx?authn_try_count=0&request_id=6476845472436935518&OAM_REQ=VERSION_4%7EFC5cvGlDZbKLQVbcnbvJSmtBw163LKRGyryAQ8b3CvEpVzVXpqqVE3Nbdcf3K7J957wIyP1d%252bEHNaC92smcnXnYxZr7xSfW8eNMU9NlFRnCUoNBTNXR6jZr8Ug8zqnSau5U%252bEnlInxHudS%252bTzD%252bUy5E9qUfX6lySlHfesJbBBH2yubEJ%252fJVrjbetqv5L295D1mhF%252f7VKyTED%252fAOv2LaVjT7Mi9PGkKDwGkZy9Th5vKVCvT58V%252fEYEgWqawE2LUv%252fb9nh7mdP5gRGBcoDpIeqXWo1F9G767%252feG9vPxM7jZRlGWcMKuYQYSn1oTg%252fL1KBE0KW2EJPvOiBpsplU7e0BvbqWgoSR8ctora%252fj2DHbHZh7m2k1GulUeBRiF3MKbY8XulBEtOYIuc02qVNhlQg2XAHOOk%252bqQ1Z6oua3DWH0aru6jnlFNpsTx6Rk2Q4WHAhXqKPzTwjtVHLgs%252b7Fb32D2Ncz%252fQqx%252b%252bfRtK9yS4YSNcoA3AmF15HoHgFd0lXQzUuQzxsDiho5S6GRc5QY2UvTz%252fsoC0Osismkd%252bUx0yZtxeFJrqA1%252f%252b9eeN%252fEFLMes2%252bxn7jxDP9ahl%252bDKaF9GdypVNZAKSdxSdUKcVCWHneHRRRtqdW8jcUEcTzohuCdCOvEgETz%252fksM7nsFHq01GHakc8174sXvcEE1l1jvsPy8f1CBf75DtguanLVIfenmUEp7kcRhe1vIgiBxmNefuhMKhLV%252fW%252fveJgnuMtWZ%252bgc2Yr%252bYFL5Qe9yz3Zz0Zn2d4PAzZWiS9teBrLqzAk6dU5dM9JTGdthstrhwjovP96J252mAGrRjo%252fFWTByyfrXYoQzETxV8QCDl8kDWaCsZl6V3Ahm94gDcTQrW8MYK8PJDlkUlnVtRtaDevrv4%252fQY%252bFvo78W1iKYM9v9O%252fu0EgPqyOJBg%252fYsBC5fI4VV7OvLZ1YoPb2v6IsepN9avD8nTB6B%252f5ZW0z1IxocptShWgjb5fMrDclA%252fEqgShz0QXzkoOa80cqLu%252bNEG7aUHQQXhZEG42zCN0NaJZbENpksK5ZyKo8U92KdjdSgHeUsFbWA0jZ%252b5nIIYHtesLFwoRZw%252f%252bbceyXAG8%252b6LMjJWYsRpl8bKKJejnOIvzM1dlY7PQ%252bf8eCtGxPkCaCa%252bkuJUkhHcK%252bsS5T2JMyocrBj0hIZsBXiWIrtmGr5h%252bbQIT8TdTfVCmUiv3zBRgDSvQqpJ3hAFc0NIk6zJS%252bPxSquhuYIH15G7zeN%252faW3sRecDpH8%252bFqa7HsT7xDukI2c6Ro3x7Bvp5MBEBSITibP41PJo7f5kPP6wFIk3rMpsC9r7zsSU0pzN3RvWn5M5gNyQ4EZVuwYMFCfgIAjRKRcNUWHebwSMxsOhwrsYESNfA9rFYxtOapzvIcx63B%252baR%252bsQXHI%252fQ4eoP2VBkkCOktummpQ41bDC6elI5LhFrAlSwCT5qv4ytCSBRan6OfMZ%252bLSA5J%252fkFtTvx2aNbV&locale=en_US
    Accept-Language: en-US
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
    Cookie: ObSSOCookie=NQqPNA%2BvLoyIujMLO%2F3VWalLMpFbnK6IW4uvEl1piC8hoQVQw%2FqGbDdkVg%2BDDcx1O7YeJhFVYinyJtKF8vI3VTQ%2BL3StaWFRZFLl7KqHnQEqdNVgkn4FCfx49t2KzXNQ%2FxLBkF0olHoNU1P01VTMOdQsq4hzdc6C0B7X6PM9hoaVGWvVmsbUKr5BmqWBG0aHbT1HXgNKlVsDimyz2Q9iy%2Briiu8%2B7x190rm8PTm3uXqEUqs4zuvOSdjZGs77uUFzeYnEzQb6T9gcZqyUvo8OtXqnmrUtPwdva8UrV9GlUkymsWDDtNk3iIqapLxQL1oXHO0iH2KXzXfUAcnQca%2BfNw%3D%3D
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Pragma: no-cache
    Host: alan-hu.mydomain.com
    HTTP/1.1 200 OK
    Cache-Control: no-cache,private
    Pragma: no-cache
    Content-Length: 649
    Content-Type: text/html; charset=utf-8
    Set-Cookie: UserID=TEST; path=/
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Thu, 05 Jul 2012 08:14:13 GMT
    -----------------------------My Access Gate (IIS)----------------------------
    GET http://alan-hu.mydomain.com/oamtest/index.aspx HTTP/1.1
    Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: http://auth.mydomain.com/login.aspx?authn_try_count=0&request_id=-8854367975480028914&OAM_REQ=VERSION_4%7EslyJg6j%252fLhjd%252b%252b%252fAFDpFiRr4cPvaT3dU90HILcJWiqxptP4dV%252fNkm4eAzVOznnJmtFh8SNMg4G5K2IuCABhCNxJuFau4XUgfRJtQl03anU6YgU1U%252fc3nRevxNFTZ8bIGALMXNiGbtnNO7c9WRUy%252bekw7T5YidA2qr103PNQD0g36jKosUb2aT2kOYJ0HoZizyW%252bCeI2ARhjuqB4Kc0Kfv%252fHuZCCwcUychXY5cGDlcD2UVl9YRwEGBdcYnweNbps18LqmQNm0%252fJYh2XwW80hNKqRBQBGPUCrYP8A0XIF2%252bUFvViDfqcuK05n0vv5NErxih%252bgtZKRObD6pHsnLOd2a19jUU%252fsFaFYQ0n5UdTN0JSx8yFtvEjdwXKya2PGqKqHa2JzEXhLBXTP5eC4EavAwAMbVRVtNTle%252fU29tDOuUtb1NLTBsqI63ipchzUvouQ6QREcybIXErAMX06X9gpwEtMBXYCppIiV%252b67XpETVzcmMuOl%252bSj9Aha6AKy3yPYlEOTA0o5HqOMe2NTu2sSvJxUJJW0ZYXvqkprkWsaw5SBACH473KY7WS0kqUIiV7UoN60cRdT9I3fAdyuLzWDS7dhGKKTstmpTxClQQNlw7XcDfdczqJJBRSwbZQyomnSPRcO%252f%252f5EY56wSXMJLv5WDkfb3RC4Va5rzXeQn1McihExvrymn6ztZ2A6zZso%252b0jDObEa%252bWioCBinvdK%252bF85qk8ai%252bLal30b27oNzFHKc1AELQ7eP%252bkoyXDYQpVeHfX9ujHGAcEdN4FTGyxBoIohbQb%252fEvl3uEga%252fsufBa%252fVcFVM8WTI59kUSOCKankogv9ABry7CxYByZURjjloQp1CZif%252fuN1ddg5yGMuqmvY7OFz8BIT8mm%252b0klysXJbcneztKbVm2njffvj29gardyyFZ1%252fXDPqMJM1OKVcughERRZW%252fHbBFZ5h%252fupGqhgXaNXZGoeg%252bm8iaAXqrxRIg7NHmK7VnEtIV2qo4iDYWl%252fmf09eJJHMrhhQNRLjV5drgiIwGuPZWVC4irUhXBOPixks8StHx0c0TV%252boIRPxiyupLJKzdlE0SBjplC1%252ffMjiVgQGqZ2zena7601QT89vmuU%252bkO1NoAnN8iwZNF1dT45RDbfg8TLcK1C0CGb29eN7dbwBtbgnAAOXX8F421RTSv9W6UAn%252bttP%252fr2teYO8eXOwFkGMrGkdxdt%252b7%252fj9oH1nJ92Mviv5fiuxhnx9ukvyjQdkdGl0gnGVehnDIQODIXEG0EmEo9%252fJtQkNjgwLlKvTK5bcqIg0Kez27GqEKYhNc4XRsuYsfPQ2byH%252bnnsSDz%252bOLo43ub8vZ7XNWjMtQrNUpfbOwmw5jhfPsU9E2xgYTHGvDdbKBrLXgxQrO%252fSflCzRPhpc5gE9zOOFkCskHxy%252b%252bI8zyJFT7lEaIhz6WgXa5nk3An%252b9yukw2YkoFe1WB%252bfZsgdr%252fq%252b%252blUqjfUf1G5lHDUjODh0qh&locale=en_US
    Accept-Language: en-US
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
    Cookie: ObSSOCookie=fhyRb/mqqsz1Tk7Ma3aAvuTmisrarOveqR1FWPkCOKcMG860oQ/V/trZzor0ZPZs4lOl3yHvf83Jj1ahsffCMIueaSlJqHoBZPFB+uLlof9KV6OzyztVzLaxUql/qddGnzajvRs0ti9vKx84AsnMEbZwTcYdf8CNesOh5aSSgz4r6U2D3/rWaT/s1h7vda9rUhD7McjybboHWThM1sKVUGmDFJBA3XdXpwCbG+L35yw5NdablTgB8KOCaAiYDSNsbRkDRluzAxrwD9r/glEq9xI7X3fQ+t40PEQ/sIVFAy+BH6fqXUUEN6D8sc3GKt5RxxTzNzaHLoczlLyakAainQ==
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Pragma: no-cache
    Host: alan-hu.mydomain.com
    HTTP/1.1 200 OK
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Thu, 05 Jul 2012 08:29:41 GMT
    Content-Length: 649

    Summary:
    1. The Responses of Authentication Policy will be retrieved after user just signed in:
    ObConfigMgd.initialize();
    ObResourceRequestMgd rrq = new ObResourceRequestMgd("http", "//alan-hu.achievo.com/oamtest/index.aspx", "GET");
    ObDictionary creds = new ObDictionary();
    creds.Add("userid", "test");
    creds.Add("password", "Tt1234");
    ObUserSessionMgd session = new ObUserSessionMgd(rrq, creds);
    ObDictionary actions = session.getActions("cookie");
    ObConfigMgd.shutdown();
    2. The Responses of Authorization Policy will be retrieved after execute the ObUserSession.IsAuthorized() method:
    ObConfigMgd.initialize();
    ObResourceRequestMgd rrq = new ObResourceRequestMgd("http", "//alan-hu.achievo.com/oamtest/index.aspx", "GET");
    HttpCookie ObSSOCookie = Request.Cookies["ObSSOCookie"];
    string sessionToken = ObSSOCookie.Value;
    ObUserSessionMgd session = new ObUserSessionMgd(sessionToken);
    if (session.Status.IsLoggedIn && session.IsAuthorized(resource))
    ObDictionary actions = session.getActions("cookie");
    ObConfigMgd.shutdown();
    -----

Maybe you are looking for

  • When importing bookmarks, can I import them to a folder other than "Bookmarks Menu"?

    I want to import bookmarks from an html file. I would like to keep them separate from the bookmarks I already have in Firefox. Can I import them into a sub-folder that I create within the "Bookmarks Menu" folder? For example, I might make a folder "I

  • How do I sync a Word document onto my iPad, using Adobe reader?

    My laptop can't connect to the Internet, so I'm trying to upload some critical documents to my iPad, using Adobe Reader. I've tried copying them via ITunes, and while the sync is supposedly successful, they don't show up in Reader on my inPad. Any su

  • Event Handlers of a mouse click

    In the simplest way possible please tell me how to do an event handler for a mouse click. private int clickCounter = 0; private void MyCanvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) if (Device1RB.IsChecked == true) clickCounter++;

  • Problem running after updating iTunes

    I have uninstalled and re-installed iTunes multiple times, but continue to get the message: "iTunes cannot run because some of its required files are missing.  Please reintall iTunes." This all began after updating iTunes.

  • AIR for iOS 8 - LoaderIOError

    Hi -- we have a mobile game built in AIR, where we are getting sporadic IOErrors on iOS8 ONLY. We cannot reproduce here in the office, but we see from our analytics that it is happening to thousands of users. Also distressing is that there is a high