Several redirects URL after authentication of the user based on roles

Hello
I want to make several url redirects after login. It is:

If a user connects to I want to open - 1.html.

If user B logs I want open - 2.html.

Please tell if this can be done in OAM or not and how do?

First, create a simple policy area with Basic authentication scheme and test if you can you connect and see the home page of your application.

Suppose you want to make redirects based on an attribute called user:
myDepartment = IT, HR, finance, Support, HelpDesk
Therefore, you should design 5 URLS for each of the departments above.

Make sure that "myDepartment" is indexed in LDAP.

The next step:
Create a domain policy with the resources and rule rule & authentication check. Now, for the authorization, set the following:

Authorization rules (5):
AuthZ4IT, AuthZ4HR, AuthZ4Finance, AuthZ4Support, AuthZ4HelpDesk

Definition of each:
AuthZ4IT-> General:
Enable wins: Yes
AuthZ4IT-> Actions-> success of permission-> URL of Redirection:
http://www.mycompany.com/it
AuthZ4IT-> access-> rule:
LDAP: / / / o = company, c = us? void? (myDepartment = IT)
AuthZ4IT-> deny access-> role:
Choose "any"

Same for AuthZ4HR, AuthZ4Finance, AuthZ4Support, AuthZ4HelpDesk

Expression of approval:
AuthZ4IT or AuthZ4HR or AuthZ4Finance or AuthZ4Support or AuthZ4HelpDesk

Now test the URL redirects.

-shetty2k

Tags: Fusion Middleware

Similar Questions

  • Keyboard does not work after authentication on the RDS Session host

    When you connect to the RDS through the access portal or app keyboard does not work after authentication on the RDS session host. Offline authentication works very well, past will guide you to the RDS host, then when you try to reset your password, the keyboard does not work.

    Has anyone else had that... ?

    Options (some better than others!) are:

    1. move all MS applications seamless

    2. have an application named "Reset your password" (or similar) which uses MS Seamless.then you can leave other applications, as they are

    3 disable authentication carried forward and implemented our service reset password instead so people reset their password before can connect you.

    4. use the full desktop instead of transparent

  • ACS Auth: Use of group data for the authentication of the user-> security problem?

    IM only using a VPN-installation (router, ACS, Cisco VPN Client) and I noticed that the name of the Group and the Group decrypted password can also be used in the second step of the authentication (the extent of authentication or authentication of users), which is a big security concern. What wrong with my setup.

    For the test I have set up a VPN configuration as described in cisco documents. Here, it also works. The identification information of the Working Group in the authentication of the user, too, which is quite logical, because the group credentials are also a user in the database of GBA. Of course, this user can be authenticated in the user authentication process.

    Who is wrong? How other admins to solve this problem? Am I wrong in my approach?

    Thank you!

    Yes, permission will have password for "cisco", at least for isakmp and pki. The group will send its name and password Cisco to receive the av pairs (ASA has a function to create a "good word of different past" but he's not here on IOS, AFAIR)

    It is a restriction known - you should not use the same server for authentication and authorization, with IOS and ASA.

    Did you give this property (either / or):

    -local isakmp authorization

    -l' authentication certificate (Group)

    -sharing features for authentication and authorization between servers.

    I don't think we can do much wise configuration to prohibit this behavior.

    Edit: spelling correction.

  • How to get the authentication of the user for the link of the Questionnaire Survey Builder?

    How to get the authentication of the user for the link of the Questionnaire Survey Builder?

    Page 100

    The content can be dynamic and the link is unique to the participant, but they all go to Page 100, which has an alias of Q. The link is unique because of the value of the request passed not because of the page.

    Thank you

    -Jorge

  • Error variables look a tab after race change the user interface

    Hello

    I have a problem which seems to be a bit like this:

    http://forums.NI.com/T5/NI-TestStand/error-viewing-variables-tab-in-runtime-operator-interface/m-p/1...

    The VI I'm running is a step of edit of a type of step. LabVIEW checks if the property 'Step.Setup.ReadMeasName' exists, fills a listbox with her if she does. An another ListBox with all available measure names will also appear on the user interface. The user has an Add and Remove button to remove the 'ReadMeas' list box measures or add them to it of the listbox 'MeasNames '. Several names may be added/removed according to what is selected when you press the buttons. Once 'Fact' is clicked the VI writes the 'Ref' to the list box "ReadMeas" property to "Step.Setup.ReadMeasName", using a node to set the value of property that is passed the TestStand sequence context. If the property does not exist it creates.

    The only time where I have any problem is when I try to remove items from the property, after it is already initialized (i.e. non-empty). In other words, if I run the VI of teststand, put several names as in "ReadMeas" click on done, again run the VI (already added names appear in the box when the user interface is displayed, LabVIEW reads "Step.Setup.ReadMeasName"), then remove the names. IF "ThisContext.Step.Setup.ReadMeasNames" has opened in the tab 'Variables' step when you try to remove the names, I got this message in the Variables tab: 'one or more errors occurred. Please save your work and restart the application. "If I'm careful of not having expaded 'ThisContext' in the variables tab, but check the property before and after the removal of names in the list it does not work properly, and there is no error.

    This isn't a big problem because I doubt that the end user will check to see that the property has actually filled, but I still want to fix the bug if possible. I installed the patch for TestStand 2010 and the .net Framework 4.0. Someone has an idea of what might be happening here?

    Thank you

    -Josh

    Josh-

    Looks like you are running in a known issue 193751, which is documented in TestStand 2010 and 2010 SP1 known issues list. It is a problem that we intend to fix in a future version of TestStand.

    I hope this helps and I'm sorry for any inconvenience this issue may cause you.

  • page automatic session timeout disconnection after inactivity of the user

    Hello gurus dreamweaver!

    Please how do I automatically my Member site Web page connection timeout after a period specifies the inactivity of the user.

    I discovered that is a member in my restricted page login and not forget to close your session, the page is will not disconnect automatically.

    How can I make my Web page, or automatically disconnect after a period specifies the inactivity of the user.

    See my below Member login page:

    <? php require_once('Connections/democon.php');? >

    <? PHP

    initialize the session

    If (! isset {})

    session_start();

    }

    * Log out the current user. **

    $logoutAction = $_SERVER ['PHP_SELF']. » ? doLogout = true;

    If ((isset & & ($_SERVER ['QUERY_STRING']! = "")) {})

    $logoutAction. = '& '. htmlentities($_SERVER['QUERY_STRING']);

    }

    {If ((isset($_GET['doLogout'])) & & ($ {_GET ['doLogout'] == "true"))}

    to completely disconnect a visitor, you must delete the session varialbles

    $_SESSION ['MM_Username'] = NULL;

    $_SESSION ['MM_UserGroup'] = NULL;

    $_SESSION ['PrevUrl'] = NULL;

    unset($_SESSION['MM_Username']);

    unset($_SESSION['MM_UserGroup']);

    unset($_SESSION['PrevUrl']);

    $logoutGoTo = 'login.php ';

    If {($logoutGoTo)

    Header ("Location: $logoutGoTo");

    "exit";

    }

    }

    ? >

    <? PHP

    If (! isset {})

    session_start();

    }

    $MM_authorizedUsers = "";

    $MM_donotCheckaccess = "true";

    Restrict access to Page: grant or deny access to this page

    Function isAuthorized ($strUsers, $UserGroup, $strGroups, $UserName) {}

    For safety, first assuming that the visitor is NOT allowed.

    $isValid = false;

    When a visitor is connected to this site, the MM_Username of Session variable value equal to their username.

    So, we know that a user is NOT logged if this Session variable is empty.

    If (! empty ($UserName)) {}

    In addition to being connected, you can restrict access to only certain users based on a created ID when they connect.

    Analyze the channels in the tables.

    $arrUsers = explode (",", $strUsers);

    $arrGroups = explode (",", $strGroups);

    If (in_array ($UserName, $arrUsers)) {}

    $isValid = true;

    }

    Or, you can restrict access to only certain users based on their user name.

    If (in_array ($UserGroup, $arrGroups)) {}

    $isValid = true;

    }

    If (($strUsers == "") & & true) {}

    $isValid = true;

    }

    }

    return $isValid;

    }

    $MM_restrictGoTo = 'login.php ';

    If (!) {(((isset($_SESSION['MM_Username']))) & & (isAuthorized ("", $MM_authorizedUsers, $_SESSION ['MM_Username'], {$_SESSION ['MM_UserGroup']})))}

    $MM_qsChar = ';?

    $MM_referrer = $_SERVER ['PHP_SELF'];

    If (strpos ($MM_restrictGoTo, "?")) $MM_qsChar = "&";

    If (isset($_SERVER['QUERY_STRING']) & & strlen($_SERVER['QUERY_STRING']) > 0)

    $MM_referrer. = « ? ». $_SERVER ['QUERY_STRING'];

    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar. "accesscheck =". UrlEncode ($MM_referrer);

    Header ("Location:".) $MM_restrictGoTo);

    "exit";

    }

    ? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $colname_Recordset1 = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_Recordset1 = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_democon, $democon);

    $query_Recordset1 = sprintf ("" SELECT * FROM Portal WHERE idno = %s ", GetSQLValueString ($colname_Recordset1,"text")");

    $Recordset1 = mysql_query ($query_Recordset1, $democon) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($Recordset1);

    ? >

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < / head >

    < body >

    < style p = "do-size: 18px" > < / p >

    < style p = "font size: 18px" > welcome < span style = "color: #F00" > <? PHP echo $row_Recordset1 ['firstname'];? > < / span > < span style = "color: #F00" > <? PHP echo $row_Recordset1 ['name'];? >! </span > you now connect in the Member area. < /p >

    < p > < / p >

    < table width = "356" height = "127" border = "0" align = "center" cellpadding = "6" >

    < b >

    < th colspan = "2" bgcolor = "#FFFFCC" scope = "row" > YOUR PROFILE < /th >

    < /tr >

    < b >

    < th width = "134" align = "left" bgcolor = '#FFFFCC' scope = "row" > NO ID < /th >

    < td width = "342" bgcolor = "#FFFFCC" > <? PHP echo $row_Recordset1 ["idno"];? > < table >

    < /tr >

    < b >

    < th align = "left" bgcolor = '#FFFFCC' scope = "row" > NAME < /th >

    < td bgcolor = "#FFFFCC" > <? PHP echo $row_Recordset1 ['name'];? > < table >

    < /tr >

    < b >

    < th align = "left" bgcolor = '#FFFFCC' scope = "row" > NAME < /th >

    < td bgcolor = "#FFFFCC" > <? PHP echo $row_Recordset1 ["FirstName"];? > < table >

    < /tr >

    < b >

    < th align = "left" bgcolor = '#FFFFCC' scope = "row" > EMAIL < /th >

    < td bgcolor = "#FFFFCC" > <? PHP echo $row_Recordset1 ['email'];? > < table >

    < /tr >

    < /table >

    < p > < / p >

    < p > < / p >

    < p > < / p >

    < p > < / p >

    < p > < a href = "<?" PHP echo $logoutAction? > "> sign OUT < /a > < /p >"

    < p > < / p >

    < p > < / p >

    < p > < / p >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($Recordset1);

    ? >

    .osgood_ ~.

    If the time-out period is applied to the side server, download links and others 'actions' all absolutely need to (and should) be run through validation. If there is a video completely downloaded on the screen there is only technology really client-side (JavaScript) which can detect if any action ' customer' is valid and within the time-out. I can think of scenarios 1 million and 1 million responses for each of them but finally if the user performs an action, or directly by refreshing PHP via AJAX, he should be hitting a side script server, and this time-out will decide last spring if the action is allowed or not. There all be wired through it.

    That said, although I said it is not 100% reliable and can be falsified, I would absolutely use a JavaScript (preference) or a refresh meta technique to bounce off the side of the customer as well as the logic in the back-end. The back-end is the absolute goal keeper and as you say, it would be little course if this isn't the case. The client side only decorate but is very important for a good user experience.

    piece gear ~

    Just $0.02, but you shouldn't go off with the stand-alone example code that I gave. In this scenario, I was 'definition' which, in your case, is of $_SESSION ['MM_Username"]. It had not been previously assigned. If Dreamweaver is the filling with a string and try try to reassign to one object (as I am) you will get errors. My code has been created as a completely isolated example, do not follow quite literally here as a paste - in the solution. I just need to know your level of comfort with PHP.

    I have not scanned all of this code for the PHP quality nor do I confess that I am familiar with the automation than Dreamweaver, but I'm very familiar with PHP, so it's the portion of code only from your original post with my timestamp amendment added to this. As mentioned, duplicate the file if you have your old code intact (still, or better, use git or SVN and version it). Then try to remove the part of the code of this page in replace with this:

     0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    }
    
    if (!function_exists("GetSQLValueString")) {
      function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
      }
    }
    
    //-----------------------------------------------------------------------------
    
    // define your idle max, in seconds
    define('IDLE_MAX', 5);
    
    // if we already have $_SESSION['MM_Username'], let's check a timestamp
    if (isset($_SESSION['MM_Username']))
    {
      // if we get here, we're logged in.. check or add a timestamp
      if (isset($_SESSION['timestamp']))
      {
        // we have a timestamp, let's see if it exceeds our idle threshold
        if ((time() - $_SESSION['timestamp']) > IDLE_MAX)
        {
          // we have EXCEEDED our idle, we are therefore going to log out.
          // Using the assigned variable from above:
          header($logoutAction);
          exit;
        }//if idle exceed
        else
        {
          // idle is not exceeded, allow the user to continue but UPDATE timestamp
          $_SESSION['timestamp'] = time();
        }
    
      }// if timestamp
      else
      {
         // we have a username but no timestamp, must be initial login
         $_SESSION['timestamp'] = time();
      }
    
    }//if MM_Username
    
    //-------------------------------------------------------------------------
    
    $colname_Recordset1 = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_Recordset1 = $_SESSION['MM_Username'];
    }
    mysql_select_db($database_democon, $democon);
    $query_Recordset1 = sprintf("SELECT * FROM portal WHERE idno = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $democon) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    

    Again, I've changed any of the logic of outside Dreamweaver removing closing/reopining tags PHP (not sure if the snippits need those, add as needed). I also removed the condition to start the session because it is completely unnecessary. It's literally everything, except the code see you near the end, surrounded by long comment lines-...

    Page has 2 points of basic input that I see, but no matter how many there. The logic is simple enough. If at the time wherever you arrive at my code, you have Dreamweaver validate a user, $_SESSION ['MM_Username'] will be defined. If that's true then I check a timestamp. Is there then the user was literally just connected, so I add a timestamp. Whenever the page is refreshed from there, re - run all the code, the timestamp is checked to make sure that it is below your IDLE_MAX (in seconds). I put it to 5 again to be clear. If the time is greater than 5 seconds since the logon, I use the above global defined $logoutAction and redirect you to the sign-out process which should land in login.php on the next redirection, as long as a user logged on.

    I always try to use the code that already exists and do nothing useless, but I must assume from this code that no information is sent to the browser for display in this code. A redirect to the header() function will not work if this is not the case. I don't "see" anything here which is explicitly doing just that so I guess it will work fine. Please give him a simple test and season to taste.

    No matter what the user is trying to do, if the idle time is exceeded the sign-out process is up on them at all times. No matter if they refresh, back, etc.

  • Authentication of the user of the OS does not seem to work

    Your help is much appreciated.

    This is the setting

    Version of the product11.2.0.3
    Operating systemLinux x 86-64
    OS versionRed Hat Enterprise 6

    SQL> show parameter os 
    
    NAME TYPE VALUE 
    ------------------------------------ ----------- ------------------------------ 
    db_lost_write_protect string NONE 
    diagnostic_dest string /apps/oracle 
    optimizer_index_cost_adj integer 100 
    os_authent_prefix string OSUSER 
    os_roles boolean FALSE 
    remote_os_authent boolean TRUE 
    remote_os_roles boolean FALSE 
    timed_os_statistics integer 0 
    
    
    SQL> select username, password from dba_users where username like 'OSU%'; 
    
    
    USERNAME PASSWORD 
    ------------------------------ ------------------------------ 
    OSUSERoracle EXTERNAL 
    
    
    SQL> select privilege from dba_sys_privs where grantee='OSUSERoracle' order by 1; 
    
    
    PRIVILEGE 
    ---------------------------------------- 
    CREATE SESSION 
    UNLIMITED TABLESPACE 
    
    
    
    
    SQL> select osuser from v$session where username = 'SYS'; 
    
    
    OSUSER 
    ------------------------------ 
    oracle 
    
    
    SQL> conn / 
    ERROR: 
    ORA-01017: invalid username/password; logon denied 
    
    
    
    
    Warning: You are no longer connected to ORACLE
    

    .

    Oracle@seclindbs ~ $ sqlplus / as sysdba

    SQL * more: version 11.2.0.1.0 Production on Wed Apr 1 11:33:34 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With OLAP, Data Mining and Real Application Testing options

    SQL > create user ' Oracle$ OPS ' identified externally.

    Created by the user.

    SQL > grant create session of "Oracle of the OPS$";

    Grant succeeded.

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With OLAP, Data Mining and Real Application Testing options

    Oracle@seclindbs ~ $ sqlplus /.

    SQL * more: version 11.2.0.1.0 Production on Wed Apr 1 11:34:01, 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    Enter the user name:

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    Enter the user name:

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    SP2-0157: unable to connect to ORACLE after 3 attempts, leaving SQL * more

    Oracle@seclindbs ~ $

    Oracle@seclindbs ~ $ sqlplus / as sysdba

    SQL * more: version 11.2.0.1.0 Production on Wed Apr 1 11:34:05 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With OLAP, Data Mining and Real Application Testing options

    SQL > drop user ' Oracle of the OPS$ ";

    Deleted user.

    SQL > create user ' OPS$ ORACLE "identified externally.

    Created by the user.

    SQL > grant create session for ' OPS$ ORACLE. "

    Grant succeeded.

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With OLAP, Data Mining and Real Application Testing options

    Oracle@seclindbs ~ $ sqlplus /.

    SQL * more: version 11.2.0.1.0 Production on Wed Apr 1 11:34:31 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With OLAP, Data Mining and Real Application Testing options

    SQL > show user

    The USER is ' OPS$ ORACLE. "

    We need to create the user as: "OPS$ ORACLE" when top.

  • Authentication of the user in Disqualification

    Hi gurus,

    A quick question on authentication via Disqualification.

    We will have a Java program that calls a web service Disqualification, but before calling the web service of the Disqualification, Java program will preform on the role of user authentication (using OAM, or UPT). Now, is there a way to Disqualification to authenticate once again based on the role of the users/continue to call web services. If authentication can not happen to the Disqualification, is he a way through weblogic server on the side of the Disqualification?


    The goal here is to have a graphical interface for the users of the application (for example), click a button and call a web service Disqualification.


    Note: I don't know of users accessing Launchpad of the Disqualification.


    Thanks in advance,


    Disqualification in WebLogic webservices are secure by using GOSA strategies defined in the EM (Fusion Middleware Control) area.

    Authentication methods include basic HTTP or WSS security simple elements in the SOAP header.

    If your client code can generate one of these methods support then the authentication of the web service must be successful.  I don't believe not that style OAM authentication will work here as it is about browser/cookie based.

    Please come back with more detailed questions if necessary.

    Richard

  • Clear HOWTO #{securityContext.authenticated} when the user opens a new tab in the browser

    Hello world

    I use a template for my ADF Application, so I make the application menu depending on whether the user is authenticated or not, if the menu is not displayed in the login page and use a common template for all my pages:

    rendered = "#{SecurityContext.Authenticated} '"

    My problem is that the value remains, so I would like to know what is best practice to turn it off when the user opens a new tab, or maybe my approach is quite wrong?

    Thanks experts!

    Jose.

    Hello

    I changed the method, so I give the menu according to a 'login' property in a managed bean:

    With the corresponding accessor:

    public boolean isLoginPage() {}

    Var currentPage = FacesContext.getCurrentInstance () .getViewRoot () .getViewId ();

    If (currentPage.contains ("login")) {}

    return (true);

    } else {}

    Return (false) End Function

    }

    }

    Thanks for your help!

    Jose.

  • URL of list of the user-entered recordable

    I found the following on the net which is a basic example of using the sharedObject method to allow users to record data, however I would like to improve this example, whereas in the text box, the user can enter different URLS, then when each url that the user entered is clicked, it will sail to that specific page.

    I know that allowing a user to simply enter a url into a single text box and then have the link to the relevant site once clicked is a simple process, but I want to achieve this in the following example, so that users can save their list of URLs, return their entire list empty or perhaps remove each link individually by clicking on it , and then clicking a button Delete.

    My main problem is that it seems the selectedItem.text property are not accessible in order click on a text box and apparently not the itemClick function is available in a text box as it can in a TileList for example, so I don't know how I can get it to navigate to the url contained in each element when each item is actually clicked. The text box should be changed to another type of component to integrate it? :-

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Application ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "

    " layout ="absolute"" "

    creationComplete = "initSharedObject ()" " >

    < mx:Script >

                <! [CDATA]

    import flash.net.SharedObject;

    public var sharedObj:SharedObject;

    private function initSharedObject():void{ }

    sharedObj = SharedObject.getLocal ('myTasks');

                    if (sharedObj.size > 0)

    textareaTasks.text = sharedObj.data.tasks;

                }

    public function localconnectionHandler(msg:String):void { }

    textareaTasks.text = textareaTasks.text + msg + "\n"

              }

    private function clearTasks(event:MouseEvent):void { }

                  = textareaTasks.text "" ;

              }

    private function saveTasks(event:MouseEvent):void { }

    sharedObj.data.tasks = textareaTasks.text;

    sharedObj.flush ();

              }

    private function deleteSavedTasks(event:MouseEvent):void { }

    sharedObj.clear ();

                }

                ]] >

    < / mx:Script >

    "" < mx:Panel horizontalCenter = "0" red ="0.5" verticalGap = "15" " "

    "" paddingLeft = "20" paddingRight ="20" paddingBottom = "20" paddingTop ="20"" "

                  height=" 300 " >

    " < mx:Label text = 'your tasks are... " />

    " < mx:TextArea id ="textareaTasks"" "

    top=" 20 "left =" 20 "right =" 20 "bottom =" 20 "

    width=" 100% "height =" 100% " />

    < mx:HBox >

    " < mx:Button id ="btnClearTasks"click ="clearTasks (event)"

                            label=" Clear Tasks " />

    " < mx:Button id ="btnSaveTasks"click ="saveTasks (event)"

    " label = 'record the tasks to the Shared Object"""/ >

    " < mx:Button id ="btnDeleteSavedTasks"click ="deleteSavedTasks (event)"

    " label = 'delete saved tasks Shared Object"""/ >

                < / mx:HBox >

    < / mx:Panel >

    < / mx:Application >

    If this post answers your question or assistance, please mark it as such.

    Very well. The shared object works correctly now. Only the file from the main application had to change. The AddURL component above is fine as it is:


    http://www.Adobe.com/2006/mxml '.
    layout = "absolute" creationComplete = "initSharedObject (); » >
     
        Import mx.events.ListEvent;
    Import mx.collections.ArrayCollection;
    import flash.net.SharedObject;
    Import mx.managers.PopUpManager;
    import AddURL;

    private var sharedObj:SharedObject;
    [Bindable] public var urls:ArrayCollection;
         
    private function initList (): void {}
    URL = new ArrayCollection();
    }

    private function initSharedObject (): void {}
    initList();
    sharedObj = SharedObject.getLocal ("urls");
    If (sharedObj.size > 0) {}
    var urlList: Array = sharedObj.data.urls.split(",");
    URL = new ArrayCollection();
    for each {(var url: String en urlList)}
    If (url! = "") {}
    var urlObj:Object = {url: url};
    urls.addItem (urlObj);
    }
    }
    }
    }

    private void saveUrls(event:MouseEvent):void {}
    var urlList: String = "";
    for each {(var obj:Object in the URL)
    urlList += obj.url + ",";
    }
    sharedObj.data.urls = urlList;
    sharedObj.flush ();
    }

    private void deleteSavedUrls(event:MouseEvent):void {}
    sharedObj.clear ();
    initList();
    }

    public void gotoURL(evt:MouseEvent):void {}
    navigateToURL (new URLRequest (urlList.selectedItem.url), "_blank");
    }
         
    private function addURLDialog (): void {}
    PopUpManager.createPopUp (this, AddURL, true);
    }
         
    public void addURL (url: String): void{}
    urls.addItemAt ({url: url}, 0);
    }
    ]]>
     
     
    paddingLeft = "20" paddingRight = "20" paddingBottom = "20" paddingTop = "20".
    height = "500" >
       
         
               
       

       
    Low = "20" width = "100%" height = "100%" dataProvider = "{URL}".
    alternatingItemColors = "[0xcee7f6, 0xf4d5f7]" rowHeight = "30" >
         
           
             
               
    Click = "outerDocument.gotoURL (Event); » />
               
               
    Click = "{outerDocument.URLs.removeItemAt (outerDocument.UrlList.SelectedIndex)}" / > "
             

           

         

       
       
         
    label = "URL" clear / >
         
    label = "Save URLs to Shared Object" / >
         
    label = "delete saved Shared Object URLs" / >
         
    label = "reload saved Shared Object URLs" / >
       
     

  • I have a problem with the connection to the computer after you change the user name.

    Original title: HELP

    I changed the username on my laptop and it is not letting me log

    I changed the username on my laptop and it is not letting me log

    Here you go:

    1. Set your BIOS so that it uses the DVD drive as its primary boot device.
    2. Start the computer with your Windows 7 repair CD.
    3. Press a key when prompted to boot from the DVD.
    4. Select 'PC Repair' in the menu.
    5. Select 'Repair' when prompted.
    6. When you are prompted, select System Restore.
    7. Configure Windows to a point before you have changed the user name.
    8. Plan ahead a little and create, test and document an alternative admin account, same as you have a spare emergency House key. This will save you a lot of trouble.
  • After Windows Update, the user cannot access password field on the login in Windows 7 screen

    Windows 7 Home 64 bit, our machine is set with two users - two passwords.  As a result of the automatic application of some updates (a number have been applied at the same time we were absent), a user can no more connection time because:

    -the password field is hidden

    -System attempst to check with a blankc password and return an error of incorrect user or password.

    For some reason that I can't (even if logged on as administraor) remove or change the users password.

    It seems that your security database is damaged. Here are some options you can try:

    • Create new accounts. You can do this through steps 1-5 as before, then by typing these commands:
      NET user "On" xxyyzz / add
      net localgroup administrators "On" / add
    • Perform a restore of the system to a point while the problem appeared.
    • Back up your data, and then reload Windows to a freshly formatted drive.
  • Need your advice - the user name and roles

    We are the OEM deployment within our Organization.  There is a special requirement on business unit to have several names for the same person, with different roles.    Which means 'employee_1' will be 3 id for several roles such as employee_1_Administrator, employee_1_Operator, employee_1_Monitor!    Is - this recommended by Oracle? or it companies set up such a system? (I know it's technically feasible, but I'm confused as it is a best practice).

    Any suggestions or pointers are really appreciated.

    Vijay

    No, it sounds like a recipe for chaos for me I recommend several ROLES by user.  But if you have several users, they will constantly be logged in and out based on what targets that they manage and which kind of defeated the purpose of having a "Enterprise Manager" tool in my opinion.

    The way in which users EM are roles assigned, allows you to provide multiple roles functionality that can easily be revoked should change responsibilities.

    So create 3 roles:

    Administrator

    Operator

    Monitor

    Give the 3 roles employee_1

    I'd be interested to hear the conditions for this... but the only case that I heard in other companies is for a small number of people who have administrator-level privileges.  UserA was UserA account + userA_Admin.  Must not use their account "admin" for normal each daily tasks (management db, work planning, etc.) but only when necessary for higher level privileges.   Again, it is possible, but difficult.   Only 1 of about 40 clients that I worked with it.

  • Suppress the display of the user based tab

    I am putting together an application and I have three classes of users using Apex 4.2.0.00.27.

    (1) public - the user can access all public pages with no connection.

    (2) registered user - the user can watch reports.

    (3) Director - full access to the application.

    The public access two tabs.  The registered user can access 5 tables (2 public pages and 3 reports), and the administrator can access all pages.

    How can I suppress the display of tabs based on the users role?  I looked at the properties of the tabs and don't see anything that would be useful.

    Thank you

    -Rob

    Rob,

    It's the perfect use case "permissions."  Create 3 authorizations and in the definitions of the tab you can set which permission is allowed to see the tab.

    -Jeff

  • Assignment of all the privileges of the user to a role

    Hi all

    I need to give all the privileges on a user to a role, so that I can create users with the same privileges for different components. Is it possible to give all the privileges on a user to a role? I did some research but I couldn't find a solution. It would be helpful if someone can help me on this.

    Thanks in advance.

    You must manually grant all privileges to the role and then assign this user role.

    create the role role_a;
    Grant select on... role_a;
    ...
    ...
    ..

    grant role_a to scott;

Maybe you are looking for

  • Satellite P500-1DZ starts only with remote control

    Hi, I just bought a new laptop Satellite P500 after owning a P200-13Z and P300-160 years without ever having had a problem with one of them. I have a problem with the P500-1DZ that I bought because it does not start the power button when he was arres

  • When I try to connect to the net on my laptop LG I often get the message saying that windows could not connect.

    Windows does not remember the setting. When I try to connect to the net on my laptop LG I often get the message saying that windows could not connect and I have to go into the advanced settings and check the box that says allow windows to configure t

  • Computer games hangs for 3D.

    HPE-130 and this is the error message.[29/04/2013 18:07:12] Logan Scott: problem event name: BlueScreenOS version: 6.1.7600.2.0.0.768.3Locale ID: 4105Adding information.[29/04/2013 18:07:23] Logan Scott: BCCode: 124BCP1: 0000000000000000BCP2: FFFFFA8

  • DateFormat of DateField causing problem JDE 4.5

    I have a DateField, which uses the DateFormat class to display Date SimpleDateFormat myDtTm = new SimpleDateFormat ("YYYY/MM/dd hh: mm aa"); DateField _dateField = new DateField ("Date:", System.currentTimeMillis (), myDtTm, DateField.DATE_TIME); Add

  • Discuss the internal flow

    Hi allThis is the requirement. But I don't know how we can proceed to a procedure created. Can you please provide the logic/debit.NO. DEPT | PTNR NO. | PTNR_IDDEP_100_1 | 1 A | PTR_N-1243256 |Procedure will filter value for the respective parameter (