Policy configuration of password in a runtime environment

Hello

I try to configure the password policy settings in an APEX runtime environment, but can't seem to find the properties that I need.

APEX_INSTANCE_ADMIN SET_PARAMETER API does not respond to properties such as PASSWORD_MIN_LENGTH and not the set of properties that can be checked through the APEX_UTIL. Procedure STRONG_PASSWORD_CHECK (such as uppercase characters).

Is there a way to set these properties in a single runtime environment?

Thank you

Mark

You should use the api APEX_INSTANCE_ADMIN. SET_PARAMETER in runtime installation to change the values programmatically when the administrator GUI is not available. The settings that you need are:-

PASSWORD_ALPHA_CHARACTERS

PASSWORD_MIN_LENGTH

PASSWORD_NEW_DIFFERS_BY

PASSWORD_NOT_LIKE_USERNAME

PASSWORD_NOT_LIKE_WORDS

PASSWORD_NOT_LIKE_WS_NAME

PASSWORD_ONE_ALPHA

PASSWORD_ONE_LOWER_CASE

PASSWORD_ONE_NUMERIC

PASSWORD_ONE_PUNCTUATION

PASSWORD_ONE_UPPER_CASE

PASSWORD_PUNCTUATION_CHARACTERS

For example

BEGIN

APEX_INSTANCE_ADMIN. SET_PARAMETER ('PASSWORD_ONE_LOWER_CASE, 'N');

commit;

END;

Tags: Database

Similar Questions

  • Management of an APEX with walk-APIs - it APEX runtime environment?

    People,

    APEX Version: 4.2.1
    Database EE 11 GR 2
    Listener: EPG

    TLDR: Go at the end of the question for this thread in bold.

    I work in an environment where we have maintained by Oracle Forms applications and Oracle APEX on a database only internal production data. We want to take a redacted together these data (PII or personal Identifiable Information removal) and some applications of the APEX and put them on a separate external server for public consumption. The internal production environment is running APEX with the runtime and development environments. The external server runs APEX with just the execution with the query, only the applications environment. While two of the external applications are public applications without authentication (both work very well), there is an application that will have a relatively small number of users who authenticate with the application to access more detailed information than the general public. Still no PII or something like that, a little more information. Users are users of workspace APEX. The three applications are in the same workspace.

    I have to assume that I'm not the only person with the above configuration, but I had a moment difficult to work right. Although the documentation does not have the API, it is not always clear which API you would use and why.

    For example, in the internal production environment when a user connects to the authenticated application, they get access to the application (if they are in the right group) or they get an error page indicating that they have no access to the application. In the external runtime application that they will always have a ' ORA-06550: line 4, column 55: PLS-00201: identifier ' WWV_FLOW_F4000_PLUGINS.» ' INTERNAL_4155_SESSION_SENTRY' must be declared ORA-06550: line 4, column 1: PL/SQL: statement ignored ' error, which "sort of" makes sense because the application referenced (4155) is part of the installation of development and is not included as part of the runtime install only (either by the way, this seems like a bit of an oversight on the part of the APEX team). It is pretty obvious that the export and import of the workspace (and its users) 'something' got zero and some type of password reset is requested. Of course, end-user password reset request is not included in a single installation of runtime...

    So, off to the API to see if I can "reset" on the single runtime installation external users so that they do not have to reset their passwords when first connecting. Wow... Lots and lots of API. Understand that you must set the security with the APEX_UTIL group id. SET_SECURITY_GROUP_ID API takes some time. After much wandering around, I settled on the apex_util API and the WWV_FLOW_USERS view as a good place to study...

    However, when we query the view WWV_FLOW_USERS on each side, all of the columns "expected" that one would expect because of this behavior are identical between the installation of development / internal enforcement and the only external runtime installation. Things like CHANGE_PASSWORD_ON_FIRST_USE and FIRST_PASSWORD_USE_OCCURRED are identical (and btw, not the values that you expect them to be... FIRST_PASSWORD_USE_OCCURRED is N for all users except the user ADMIN). The only values that differ between the two environments are as CREATED_BY, CREATION_DATE, LAST_UPDATED_DATE, and LAST_UPDATED_BY columns.

    Things that work just great:

    < li > the installation itself! Very easy to move backward between each environment (runtime only or runtime and development).
    < Li > integration with SQL/Developer is fantastic. It is very cool to be able to right-click on an application in the internal environment and deploy it to the unique runtime environment. Ideally, it would be nice to be able to move workspaces APEX in the same way.

    Things that do not seem to be large:

    < Li > when that documentation tells you what each API, it doesn't tell you why you want to use it, or what you would use it for. Having a section "useful use case" in the documentation would be great. Yes, there is the example of code (which of course does not mention that you need to set the id of Group of security for most of them to work), but the code example is not really tell you why and what each of the attributes you can set with her (for the API set for example) will actually... For example the documentation does not really that many fields are not yet used, and even if the values are the exact opposite of what you would think they would be.

    So, my immediate question:

    What API will allow me to have users exported with a workspace to use applications that are authenticated in a single installation of runtime?

    And my follow-up question (s):

    You can actually use the API defined to manage a runtime environment and is at - it a good resource that explains the how and why rather than just the choice of the API.

    Well, after a lot of trying things, I finally had things to work.

    It seems that export and import a workspace "expires" users to your workspace. Despite the fact that, in the development environment / the ACCOUNT_EXPIRY (which is a date) has a whole bunch of different values and seems to work perfectly, when you import a workspace that the ACCOUNT_EXPIRY column is ready on the date you did import previous internal enforcement. For some reason, this is an indication that your account has expired at the time when you look at the WWV_FLOW_USERS table. Not one of the columns expected, but on the contrary this date column...

    So let's take a look at the [url http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_util.htm#autoId126]Unexpire account of the workspace of the documentation procedure:]

    UNEXPIRE_WORKSPACE_ACCOUNT Procedure
    
    Unexpires developer and workspace administrator accounts and the associated passwords, enabling the developer or administrator to log in to a workspace.
    
    Syntax
    
    APEX_UTIL.UNEXPIRE_WORKSPACE_ACCOUNT (
        p_user_name IN VARCHAR2);
    
    Parameters
    
    Table 21-107 describes the parameters available in the UNEXPIRE_WORKSPACE_ACCOUNT procedure.
    
    Table 21-107 UNEXPIRE_WORKSPACE_ACCOUNT Parameters
    Parameter           Description
    
    p_user_name  The user name of the user account
    
    Example
    
    The following example shows how to use the UNEXPIRE_WORKSPACE_ACCOUNT procedure. Use this procedure to renew (unexpire) an Application Express workspace administrator account in the current workspace. This action specifically renews the account for use by developers or administrators to login to a workspace and may also renew the account for its use by end users to authenticate to developed applications.
    
    This procedure must be run by a user having administration privileges in the current workspace.
    
    BEGIN
        FOR c1 IN (select user_name from wwv_flow_users) loop
            APEX_UTIL.UNEXPIRE_WORKSPACE_ACCOUNT(p_user_name => c1.user_name);
            htp.p('Workspace Account:'||c1.user_name||' is now valid.');
        END LOOP;
    END;   
    
    See Also:
    "EXPIRE_WORKSPACE_ACCOUNT Procedure" and "WORKSPACE_ACCOUNT_DAYS_LEFT Function"
    

    It's very nice and all, but there are some things missing in the example above:

    (1) you must call the procedure of apex_util.set_security_group_id with the ID of the workspace you want to unexpire accounts.
    (2) you will need to issue a COMMIT for steps to engage the unexpire.

    Question: How are you supposed to know you need to do the above two steps?

    Take a look at what the API documentation has for the description of the SET_SECURITY_GROUP_ID procedure:

    SET_SECURITY_GROUP_ID Procedure
    Use this procedure with apex_util.find_security_group_id to ease the use of the mail package in batch mode. This procedure is especially useful when a schema is associated with more than one workspace. For example, you might want to create a procedure that is run by a nightly job to email all outstanding tasks.
    

    Note that there is no mention that you will need to call the SET_SECURITY_GROUP_ID procedure for almost all other API calls in the APEX_UTIL package (or at least many of them)...

  • My computer can be unlocked if I forgot the user password and have not configured a password recovery disk

    I forgot my user password on my computer. I have not configured a password recovery disk. Can it be unlocked and how?

    I forgot my user password on my computer. I have not configured a password recovery disk. Can it be unlocked and how?

    See if this tutorial Microsoft Support will help:

    How to use system restore to log on Windows 7 or Windows Vista when you lose access to an account
     
    If she does not she, MS Answers leave no one helping users to bypass the password protection... Regardless of the reasons.
    Here is the link to the policy:
  • Steps to APEX Dev to Prod runtime environment

    Hi all

    I use 5 APEX with ADR running on Tomcat.

    This is the first time I deploy APEX.  I have finished my development environment and would prod ports over which is the execution environment.

    1. I am confused with APEX_APPLICATION_INSTALL and APEX_APPLICATION_ADMIN.

    Refer to

    (YABAOAE) yet another Blog about Oracle Application Express

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    Thank you, Dorothy

    Dorothy salvation,

    Congratulations at the end of your first application!

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    In fact as a Setup for your PROD, I suggest that you export your existing workspace of DEV and import in the PROD. This has the advantage that the ID of the workspace will remain the same, which will make easier the installation of applications. You run the import script of the workspace as SYS. The export of the workspace can be created via the Admin Instance INTERFACE.

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    If you are creating the workspace with the export script you will not have to do anything before @101.sql running (you'd connected via the schema of your workspace or as SYS)

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    The plug-in is part of your export app. No further action necessary installation.

    Concerning

    Patrick

    ---

    Member of the APEX development team

  • How to install APEX as runtime environment

    Hello

    I just wanted to know if I can create a new configuration just like APEX "Runtime Environment".  Or I need to first install as complete development environment and then convert it into "Runtime"?

    Thank you

    -Anand

    Hi Anand,

    You can directly install apex as "Runtime Environment".

    Check the Doc online: https://docs.oracle.com/cd/E37097_01/install.42/e35123/otn_install.htm#HTMIG391

    Complete development environment. Run apexins.sql from the following four arguments in the order shown:

    @apexins.sql tablespace_apex tablespace_files tablespace_temp images

    Example: @apexins.sql SYSAUX SYSAUX TEMP is

    Runtime environment . Run apxrtins.sql passing the following arguments in the following order:

    @apxrtins.sql tablespace_apex tablespace_files tablespace_temp images

    Example: @apxrtins.sql SYSAUX SYSAUX TEMP is


    For installing the Runtime, you will need to runapxrtins.sql instead of apxrtins.sql instead of apxrtins.sql instead of apxrtins.sql instead of apexins.sql

    All other steps after this are same.

    Hope this helps you,

    Regards,

    Jitendra

  • Error initializing Java Runtime Environment.  You may need to reinstall Flash.

    ... It's really annoying.

    I work with adobe cs5. Recently, it started to not work. I have to restart again and again so that it can compile a swf properly. I'm trying so cs5.5. I get this error "error initializing Java Runtime Environment.  You may need to reinstall Flash. »

    So im like OK... This is useful...

    -Reinstall flash-

    "Error initializing Java Runtime Environment.  You may need to reinstall Flash. »

    ...

    -Reinstall java-

    -Reinstall flash-

    -Reinstall adobe flash cs5.5-

    "Error initializing Java Runtime Environment.  You may need to reinstall Flash. »

    ...

    -google-

    If I came across this post. Follow it exactly.

    "Error initializing Java Runtime Environment.  You may need to reinstall Flash. »

    ...

    I have change the thing in the file to Xmx1024M

    "Error initializing Java Runtime Environment.  You may need to reinstall Flash. »

    ...

    Just on the forums.

    What should I do now?

    I found a solution that works for me.

    Just delete the file jvm.ini under the location of the temporary folder. In windows, it would be under path.

    C:\Users\USERNAME\AppData\Local\Adobe\FLASH_VERSION\en_US\Configuration\ActionScript 3.0

    For example. C:\Users\admin\AppData\Local\Adobe\Flash CS6\en_US\Configuration\ActionScript 3.0

    As soon as you start the Flash, a defult jvm.ini will be created automatically, in this place and your flash works fine.

    Acutally the error comes because of the jvm.ini of corroupt file (cause too great values > 256 error displayed.) For example. Xmx1024m) that is created in setting up temporary forlders automatically during the Installation of Flash.

    Whenever Flash begins his search the file jvm.ini and let the maximum memory of initalized at FMV.

  • Sun Java Runtime Environment 6 Update 18

    Sun Java Runtime Environment 6 Update 18

    Sun Java Runtime Environment 6 Update 18
    JRE 6 Update 18
    The JRE is required to run applets and Java and JavaFX applications. This special release provides key fixes a few

    http://Java.Sun.com/javase/downloads/index.jsp

    Wilders Security Admin


    This version of the feature does contain all new fixes for security vulnerabilities to its previous version, Java SE 6 Update 17. Users of Java SE 6 Update 17 are the latest security patches and do not need to upgrade to this version is current on security patches. [emphasis]

    Source: http://java.sun.com/javase/6/webnotes/6u18.html ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Front view without installing runtime environment remote

    Hi all

    I have a question about the LabView software.

    I am currently using LabView 2014 to develop applications that the user can access distance front panels (from the executable applications).

    In view of the concerns of the customers IT department, now I'm looking for a way to provide access to applications without having to install the runtime environment.

    I found some documents about this issue, but there is only a mention of the internet plugins explorer (which is not enough to display the Panel before correcly).

    What is necessary for the execution of the façade remotely within a window of internet explore?

    Best wishes

    Andrei

    Remote façade panels requires both the plugin for the browser you are using and also require the appropriate version of the LabVIEW run-time engine.

    You can have a look at the WebSockets link in my signature - we had a lot of success to create signs at base of remote web for our software using WebSockets. There is a presentation and an example here: https://decibel.ni.com/content/docs/DOC-41778. With the help of my library allows you to create your own UI using html/css/javascript and communicate with a LabVIEW application.

    You should also check out LabSocket - this is a replacement for the outside from facades of WebSockets so it should save you having to create the user interface yourself, because it uses the front panel of your VI.

  • How can I remove J2SE Runtime Environment 5.0 update 11. Application of transformation error when you use Add/Remove programs

    Cannot remove J2SE Runtime Environment 5.0 update 11 or Java or Java 2 Runtime Environment SEv1.4.2_6.

    Add/Remove Programs DOES NOT WORK.  Message received when you try to remove programs is, "error application of transformations".

    Java (TM) 6 Update 21 is installed on my computer.

    Please let know us the step by step procedure to remove the old Java programs.  Thank you.

    E-mail address is removed from the privacy *.

    use revo uninstaller

  • Tables in the schema APEX_050000 not granted to the PUBLIC in the runtime environment

    Hi all

    I compare development and Runtime environment APEX_050000 property schema and subsidies.  I have no error in two newspaper plants

    Select count (*) in the dba_tab_privs where owner = 'APEX_050000' and recipient = "PUBLIC";

    In development, count = 270, at runtime, count = 109

    Select count (*) in the dba_synonyms where owner = 'PUBLIC' and table_owner = 'APEX_050000. '

    To = 293, runtime development County, County = 270

    Is this a bug?  I'm running on DB 11.2.0.4

    Any script available in APEX I can run to grant so many pictures?

    Thank you, Dorothy

    Dorothy salvation,

    a single runtime system has intentionally less public synonyms and subsidies, because we do not install all the packages that are needed for a dev environment. But see wwv_flow.accept null off the coast of the element leader through the runtime environment to find the declaration of re - create these synonyms/grants.

    Concerning

    Patrick

  • SE "There are problems with the configuration of static files in your environment" after the APEX 5 install using Oracle HTTP Server

    There is not much information in the doc around the new configuration of static file.  Someone at - it an example of this dads.conf he file should look similar to static files?  Everything else seems to work fine - it's my only hang up now.

    Thank you!

    Exact pop-up message:

    There are problems with the configuration of static files in your environment.  Please see the section "Configuration static file Support" in the Guide of the Installation Application Express

    I figured it out on my own - the doc has a section "6.5.4 configuration Support for static file" which basically said yes, it is now supported for static files, then a "see also:" link to the dads.conf section, that I'm not good enough to see there are now 2 new parameters in your dads config file...  All is ready!  It works!  YAY!

  • steps to update of application in the development environment runtime environment

    Hello

    I have APEX 4.2.6 development environment and same version runtime environment.  There is little change, which happened in the forms and the underlying objects in the DB (developing approx.).  Help me please in the list of the steps needed to apply these changes to the runtime approx.  To my knowledge, I should 1st sync DB objects and then take application export development and import at run time.

    Can you let me know how to synchronize objects DB?  Dump export and import is not possible because "runtime" environment has the most recent data changes.  Otherway is to make changes to the DB object individually and manually.  Is it possible that this can be done using scripts/tools?

    And what about import application?  Is it just connect to the 'runtime' DVRs. SQLPLUS and run @f110.sql?  Please let me know the exact steps.

    Thank you and best regards,

    -Anand

    Hi anand_gp,

    You mean (for the import of application), I need to execute all the steps below to update the existing application (get the workspace ID, approx. set ID, etc.,)?

    And thank you to provide links on how to modify objects in the DB.  I'll go through them.

    Yes, and it will create a new application in your workspace.

    If you want to have the same id of the application (whether it is your production application), you can delete the existing application using APEX_INSTANCE_ADMIN. REMOVE_APPLICATION (remember to commit after each step) and then import with above in the light of the steps.

    If you want to have both the old and the new application in your production work space, you can use the alias of the application while publishing the URL.

    When you deploy a new version of the application, simply change the alias of the application, so that it becomes your current application.

    I hope this helps!

    Kind regards

    Kiran

  • Try to install 6 LR and configure request password.  Used my adobe password, but it won't take it.  Failed to install.

    Try to install 6 LR and configure request password.  Used my adobe password, but it won't take it.  Cannot install

    Use your administrator password, because this message is probably your computer asks you to verify that you are authorized to install

  • Runtime Environment only APEX increases performance?

    Hello

    Does anyone know if a the APEX runtime environment increases performance over a full access to developer environment? I read everywhere it increases security but is nowhere specified whether it increases performance.

    From my point of view, its nonesense to store all the activity information that are shown via internal or the development of accounts when you're not using it anywhere. Do you know if the development team has thought of this option?

    Thank you

    Hello

    There will be no difference in performance. A runtime environment only removes just all packets are not used to reduce the possible attack surface.

    On the activity log. There may be not a user interface to see them, but you can query the APEX_WORKSPACE_ACTIVITY_LOG Dictionary view and display them in your own admin applications. Or use the automatic batch display to notify you automatically if the response time of page for pages is unacceptable slow...

    But basically it's you if you want to save this information. Fair value the application "Logging" attribute and the application no longer to record this statistic.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Application upgrade to sqlplus in the "Runtime environment".

    Hello

    We have a production server to top "Runtime environment" installed 4.0.2. It wasn't a problem to import our application for the first time in SQLplus by running the sql export script. But when we try to update already installed the application in SQLplus with a new version, we get an error:

    SQL > @c:\f101.sql;
    REQUEST 101 - test.xxx
    Set credentials...
    Check the compatibility...
    Last API extended: 20100513
    Your current Version: 20100513
    This import is compatible with the version: 20100513
    COMPATIBLE (you should be able to perform this import without problem).
    Set Application ID...
    Start
    *
    ERROR on line 1:
    ORA-20001: 101 Application has not been deleted. Import will not be attempted.
    ORA-06512: at "APEX_040000.WWV_FLOW_API", line 327
    ORA-06512: at line 4 level

    How we solve this problem?

    NOTE:
    (1) We MUST import the application with the same app ID,
    (2) we cannot use SQL Developer or Web management interface (this is installation of Runtime Environment) - the SQLplus is one option

    Many thanks in advance,
    Alexander

    OK, nevermind, I think I know what the problem is. I tried it in the sql workshop and that's why it worked for me.

    To do it (with the name of your workspace):

    DECLARE
    l_ws NUMBER: = apex_util.find_security_group_id('NAMEOFYOURWORKSPACE');
    BEGIN
    wwv_flow_api.set_security_group_id (l_ws);
    wwv_flow_api.remove_flow (101);
    END;

Maybe you are looking for