CN109977659A - Weblogic automatically creates method, system, device and the storage medium of local user - Google Patents

Weblogic automatically creates method, system, device and the storage medium of local user Download PDF

Info

Publication number
CN109977659A
CN109977659A CN201910120664.4A CN201910120664A CN109977659A CN 109977659 A CN109977659 A CN 109977659A CN 201910120664 A CN201910120664 A CN 201910120664A CN 109977659 A CN109977659 A CN 109977659A
Authority
CN
China
Prior art keywords
user
weblogic
user name
random cipher
creation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910120664.4A
Other languages
Chinese (zh)
Inventor
高峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910120664.4A priority Critical patent/CN109977659A/en
Publication of CN109977659A publication Critical patent/CN109977659A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Abstract

The present invention relates to pedestal O&M technical field, propose that a kind of weblogic automatically creates local user's method, system, device and storage medium, wherein method includes that user's creation program is previously written in the weblogic software of container;Wherein, the user creates program and includes: creation user name, creation random cipher corresponding with the user name, creates operating right corresponding with the user name and the random cipher;When the container is restarted, program creation user name and random cipher are created according to the user, and operating right corresponding with the user name and the random cipher is set according to the user name and the random cipher;Local user is created according to the user name, the random cipher and the operating right.The present invention, which creates program by user preset in weblogic software, can automatically create local user's information when container is restarted, and be not necessarily to manual intervention, and user experience is good.

Description

Weblogic automatically creates method, system, device and the storage medium of local user
Technical field
The present invention relates to the sides that pedestal O&M technical field more particularly to a kind of weblogic automatically create local user Method, system, device and storage medium.
Background technique
Local user is that can have different permissions in the account for locally carrying out login authentication, different users, log in Interface and relevant user program, distributed platform as it is a kind of by data storage, data analyze and calculate etc. building by The software platform on cluster that multiple main frames are constituted, the application on its platform is restarted or container is restarted, mirror image replacement Afterwards, the local user of the middleware weblogic creation of docker container can be reduced deletion.When user needs to log on visit When asking local resource, need to re-create user by weblogic, or realize by the way of the account information importing.
The creation mode of above-mentioned local user needs manually to be arranged after each container is restarted, time-consuming and laborious, and pacifies Full performance is low, poor user experience.
Therefore, how after container is restarted, the quick creation of local user is realized, improving the safety that user logs in is mesh A preceding problem urgently to be resolved.
Summary of the invention
The present invention provides a kind of the weblogic method, system, device and the storage medium that automatically create local user, master Syllabus is to realize automatically creating for local user, the convenience and safety that guarantee user logs in.
In a first aspect, the present invention provides a kind of method that weblogic automatically creates local user, it is applied to electronic device, It is characterized in that, which comprises
User's creation program is previously written in the weblogic software of container;Wherein, user's creation program includes: Creation user name, creation random cipher corresponding with the user name, creation are corresponding with the user name and the random cipher Operating right;
When the container is restarted, program creation user name and random cipher are created according to the user, and according to described User name and the random cipher set operating right corresponding with the user name and the random cipher;
Local user is created according to the user name, the random cipher and the operating right.
Second aspect, the present invention also provides the systems that a kind of weblogic automatically creates local user, which is characterized in that institute The system of stating includes:
Preset unit, for user's creation program to be previously written in the weblogic software of container;Wherein, the user Creation program includes: creation user name, corresponding with the user name random cipher of creation, creates and the user name and described The corresponding operating right of random cipher;
Call unit, for creating program creation user name according to the user and with secret when the container is restarted Code, and operating rights corresponding with the user name and the random cipher is set according to the user name and the random cipher Limit;
Execution unit, for creating local user according to the user name, the random cipher and the operating right.
The third aspect stores in the memory the present invention also provides a kind of electronic device, including memory and processor There is computer-readable instruction, when the computer-readable instruction is executed by the processor, so that the processor executes as above State the step of weblogic automatically creates the method for local user.
The third aspect, the present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer can When reading instruction is executed by one or more processors, so that one or more processors are executed as above-mentioned weblogic is automatically created The step of method of local user.
Weblogic proposed by the present invention automatically creates method, system, device and the storage medium of local user, Neng Gou After container is restarted, program is created according to the user being previously written in weblogic software, automatically creates user name and random cipher, And operating right corresponding with user name and random cipher is set according to user name and random cipher, it does not influence to answer on weblogic Update upgrading, convenient, experience that user accesses is well.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram for the method that weblogic of the present invention automatically creates local user;
Fig. 2 is the flow chart for the method that weblogic of the present invention automatically creates local user;
Fig. 3 is the system structure diagram one that weblogic of the present invention automatically creates local user;
Fig. 4 is the system structure diagram two that weblogic of the present invention automatically creates local user.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of method that weblogic automatically creates local user, is applied to a kind of electronic device 1.Reference Shown in Fig. 1, the application environment signal of the method preferred embodiment of local user is automatically created for weblogic of the present invention.
In the present embodiment, electronic device 1 can be server, smart phone, tablet computer, portable computer, on table Type computer etc. has the terminal device of calculation function, and however, it is not limited to this.
The electronic device 1 includes: processor 12, memory 11, network interface 14 and communication bus 13.
Memory 11 includes the readable storage medium storing program for executing of at least one type.The readable storage medium storing program for executing of at least one type It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory 11.In some embodiments, described Readable storage medium storing program for executing can be the internal storage unit of the electronic device 1, such as the hard disk of the electronic device 1.At other In embodiment, the readable storage medium storing program for executing is also possible to the external memory 11 of the electronic device 1, such as the electronic device The plug-in type hard disk being equipped on 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card) etc..
In the present embodiment, the readable storage medium storing program for executing of the memory 11 is installed on the electronic device commonly used in storage 1 weblogic automatically creates local user's program 10 etc..The memory 11, which can be also used for temporarily storing, have been exported Or the data that will be exported.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example It such as executes weblogic and automatically creates local user's program 10.
Network interface 14 optionally may include standard wireline interface and wireless interface (such as WI-FI interface), be commonly used in Communication connection is established between the electronic device 1 and other electronic equipments.
Communication bus 13 is for realizing the connection communication between these components.
Fig. 1 illustrates only the electronic device 1 with component 11-14, it should be understood that being not required for implementing all show Component out, the implementation that can be substituted is more or less component.
Optionally, which can also include user interface, and user interface may include input unit such as keyboard (Keyboard), speech input device such as microphone (microphone) etc. has the equipment of speech identifying function, voice defeated Device such as sound equipment, earphone etc. out, optionally user interface can also include standard wireline interface and wireless interface.
Optionally, which can also include display, and display is referred to as display screen or display unit. It can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and Organic Light Emitting Diode in some embodiments (Organic Light-Emitting Diode, OLED) touches device etc..Display is used to show and handle in the electronic apparatus 1 Information and for showing visual user interface.
Optionally, which further includes touch sensor.It is touched provided by the touch sensor for user The region for touching operation is known as touch area.In addition, touch sensor described here can be resistive touch sensor, capacitor Formula touch sensor etc..Moreover, the touch sensor not only includes the touch sensor of contact, proximity may also comprise Touch sensor etc..In addition, the touch sensor can be single sensor, or such as multiple biographies of array arrangement Sensor.
In addition, the area of the display of the electronic device 1 can be identical as the area of the touch sensor, it can also not Together.Optionally, display and touch sensor stacking are arranged, to form touch display screen.The device is based on touching aobvious Display screen detects the touch control operation of user's triggering.
Optionally, which can also include radio frequency (Radio Frequency, RF) circuit, sensor, audio Circuit etc., details are not described herein.It will be understood by those skilled in the art that structure shown in Fig. 1, only with the application side The block diagram of the relevant part-structure of case, does not constitute the restriction for the electronic device being applied thereon to application scheme, specifically Electronic device may include perhaps combining certain components or with different than more or fewer components as shown in the figure Component layout.
Fig. 2 shows the processes that the weblogic of the embodiment of the present invention automatically creates the method for local user, and this method can Applied in above-mentioned electronic device 1, specifically includes the following steps:
Step S110: user's creation program is previously written in the weblogic software of container;Wherein, user's creation Program include: creation user name, corresponding with the user name random cipher of creation, creation and the user name and it is described at random The corresponding operating right of password.
In the present embodiment, distribution is there are many application on software platform, which can be padis platform, but not only It is limited to padis platform, padis platform constructs data storage, data analysis and calculating etc. by multiple main frames structure as a kind of At cluster on software platform, mainly cooperateed with using multiple stage computers solution asked by single computer is indeterminable Topic, such issues that have exceeded one-of-a-kind system memory capacity often caused by data scale or calculation amount has exceeded one-of-a-kind system Computing capability.The ability of the resource-sharing and cooperated computing that are provided using distributed platform can well solve extensive The processing problem of data.Distributed platform is attached between each host by the internal network of high speed in physical make-up, Distributed management system is configured on the basis of this, it is more externally to provide that hardware is shared, software is shared, data sharing, service are shared etc. Kind resource sharing service.When after application on its platform is restarted or container is restarted, mirror image is replaced, docker The local user of the middleware weblogic creation of container can be reduced deletion.
In some embodiments, running example of the container as docker mirror image image comprising docker mirror image, executes Environment and explanation.It is entirely isolated due to it with system, it is possible to multiple containers, docker mirror image are run in system Image is an installation kit, includes a series of dependences and information for creating, disposing and executing container.To container When being modified, a new mirror image image can be created, current mirror image image can also be modified or be replaced, and from New mirror image image disposes new container, and the docker mirror image image also being understood as in container of restarting of container is repaired Change or replaces.
Step S120: when the container is restarted, creating program creation user name and random cipher according to the user, and Operating right corresponding with the user name and the random cipher is set according to the user name and the random cipher.
It may include following several situations that container, which is restarted, that is, the application being located on the weblogic software restarts, is described A variety of situations such as the docker image upgrade of container, the docker mirror image replacement of the container.
Weblogic is the middleware based on JAVAEE framework, in other words WebLogic be for developing, integrating, portion Affix one's name to and manage the Java application server of large-scale distributed Web application, network application and database application.Thousands of application It operates on weblogic software, local user's information of manual creation is created also based on weblogic.
And weblogic is present in container, after container is restarted, the application on WebLogic software can be weighed Open, corresponding local user's information can also restPose, user access when, need to re-register, the present invention by User is written on WebLogic software and creates program, after container is restarted, runs the user and creates program, program is created by family Automatic setting user name and dynamic random password can be avoided the reconstruction operation again after local user deletes.
Further, because the application on distributed platform is run based on container, container is then according to different docker Mirror image operation only needs to change docker mirror image when more applications of N need to upgrade, and most of mirror image is all standard, because Service application demand is different, called between different application it is also different, so the user that uses and calling permission also different.
It should be noted that creating program creation user name according to the user and with secret after the container is restarted Code, and operating right corresponding with the user name and the random cipher is set according to the user name and the random cipher Before, it is necessary first to start the system manager of the weblogic, so that user creates program calling system pipe in operation Reason person's permission authorizes the user to create program creation user name, random cipher and operating right by the system manager.
In addition, the system manager authorizes the user to create program creation user name, random cipher and operating right, Or the step of calling the permission of the system manager includes: the setting grant set group in user creation program, and According to the grant set group='Administrators', user is made to create the system pipes that program obtains the weblogic The permission of reason person authorizes the user to create program creation user name, random cipher and operating right.
In addition, the step of setting operating right corresponding with the user name and the random cipher includes: in institute It states user and creates and grant set group2 is set in program, and change or set according to the grant set group2='Deployers' Set operating right corresponding with the user name and the random cipher.
Step S130: local user is created according to the user name, the random cipher and the operating right.
It is found that the method for automatically creating local user using the weblogic that aforementioned present invention provides, can prevent from applying Restart rear weblogic local user to be deleted;In addition, creation local user does not need manual intervention, the application on platform Docker mirror image etc. can at will be replaced.
The method of local user is automatically created, after container is restarted using above-mentioned weblogic according to the present invention, is passed through The relative program of operation creation local user, i.e. user create program, automatically create local user, and dynamic acquisition is with secret Code is not necessarily to manual intervention, re-creates compared to existing user or lead-in mode again, can save the plenty of time, and pass through Random cipher is set, guarantees the safety logged in, has a clear superiority compared to conventional method.
Corresponding with the method that above-mentioned weblogic automatically creates local user, the present invention also provides a kind of weblogic The system for automatically creating local user.
Fig. 3 shows the structural block diagram that weblogic according to an embodiment of the present invention automatically creates the system of local user.
As shown in figure 3, weblogic according to an embodiment of the present invention automatically creates the system 200 of local user, it is main to wrap Include following unit:
Preset unit 210, for user's creation program to be previously written in the weblogic software of container;Wherein, described User create program include: creation user name, corresponding with the user name random cipher of creation, creation and the user name and The corresponding operating right of the random cipher.
In the present embodiment, distribution is there are many application on software platform, which can be padis platform, but not only It is limited to padis platform, padis platform constructs data storage, data analysis and calculating etc. by multiple main frames structure as a kind of At cluster on software platform, mainly cooperateed with using multiple stage computers solution asked by single computer is indeterminable Topic, such issues that have exceeded one-of-a-kind system memory capacity often caused by data scale or calculation amount has exceeded one-of-a-kind system Computing capability.The ability of the resource-sharing and cooperated computing that are provided using distributed platform can well solve extensive The processing problem of data.Distributed platform is attached between each host by the internal network of high speed in physical make-up, Distributed management system is configured on the basis of this, it is more externally to provide that hardware is shared, software is shared, data sharing, service are shared etc. Kind resource sharing service.Application on its platform is restarted or container is restarted, after mirror image replacement, in docker container Between part weblogic create local user can be reduced deletion.
In some embodiments, running example of the container as docker mirror image image comprising docker mirror image, executes Environment and explanation.It is entirely isolated due to it with system, it is possible to multiple containers, docker mirror image are run in system Image is an installation kit, includes a series of dependences and information for creating, disposing and executing container.To container When being modified, a new mirror image image can be created, current mirror image image can also be modified or be replaced, and from New mirror image image disposes new container, and the docker mirror image image also being understood as in container of restarting of container is repaired Change or replaces.
Call unit 220 creates program creation user name and random according to the user for when the container is restarted Password, and operating rights corresponding with the user name and the random cipher is set according to the user name and the random cipher Limit.
Wherein, call unit can also further comprise following module:
As shown in figure 4, condition judgment module 221, for judging whether the application being located on the weblogic software weighs It opens and whether the docker mirror image of the container upgrades and whether the docker mirror image of the container is replaced.
Above several situations belong to container and restart, that is, be located at the application on the weblogic software restart, the appearance A variety of situations such as the docker image upgrade of device, the docker mirror image replacement of the container.
Weblogic is the middleware based on JAVAEE framework, in other words WebLogic be for developing, integrating, portion Affix one's name to and manage the Java application server of large-scale distributed Web application, network application and database application.Thousands of application It operates on weblogic software, local user's information of manual creation is created also based on weblogic.
And weblogic is present in container, after container is restarted, the application on WebLogic software can be weighed It opens, corresponding local user's information can also restPose, and the present invention is created by the way that user is written on WebLogic software Program runs the user and creates program after container is restarted, and creates program by family and user name and password are arranged automatically, can Reconstruction operation again after avoiding local user from deleting.
Further, because the application on distributed platform is run based on container, container is then according to different docker Mirror image operation only needs to change docker mirror image when more applications of N need to upgrade, and most of mirror image is all standard, because Service application demand is different, called between different application it is also different, so the user that uses and calling permission also different.
When condition judgment module 221 judges that container is restarted, that is, the application met on above-mentioned weblogic software is restarted, with And the container docker image upgrade and the container docker mirror image replacement when, can open according to the judgment result Dynamic creation module 222.
Creation module 222, the application for working as on the weblogic software is restarted or the docker mirror of the container When as the replacement of the docker mirror image of upgrading or the container, program creation user name is created according to the user and with secret Code, and operating rights corresponding with the user name and the random cipher is set according to the user name and the random cipher Limit.
It should be noted that creating program creation user name according to the user and with secret after the container is restarted Code, and operating right corresponding with the user name and the random cipher is set according to the user name and the random cipher Before, it is necessary first to start the system manager of the weblogic, so that user creates program calling system pipe in operation Reason person's permission authorizes the user to create program creation user name, random cipher and operating right by the system manager.
For this purpose, in a preferred embodiment of the present invention, the system that weblogic automatically creates local user is also wrapped It includes: authorization unit 240, for starting the system manager of the weblogic first, by described after the container is restarted System manager authorizes the user to create program creation user name, random cipher and operating right.
Specifically, after the container is restarted, program creation user name and random cipher, and root are created according to the user It is first before setting operating right corresponding with the user name and the random cipher according to the user name and the random cipher First need to start the system manager of the weblogic, calling system administrator weighs in operation so that user creates program Limit authorizes the user to create program creation user name, random cipher and operating right by the system manager.
In addition, the system manager authorizes the user to create program creation user name, random cipher and operating right, Or the step of calling the permission of the system manager includes: the setting grant set group in user creation program, and According to the grant set group='Administrators', so that user creates the system that program obtains the weblogic The permission of administrator authorizes the user to create program creation user name, random cipher and operating right.
In addition, the step of setting operating right corresponding with the user name and the random cipher includes: in institute It states user and creates and grant set group2 is set in program, and change or set according to the grant set group2='Deployers' Set operating right corresponding with the user name and the random cipher.
Execution unit 230, for creating local use according to the user name, the random cipher and the operating right Family.
In one particular embodiment of the present invention, a kind of electronic device is also provided, the electronic device includes memory And processor, computer-readable instruction is stored in the memory, and the computer-readable instruction is executed by the processor When, so that the processor executes following steps: user's creation program is previously written in the weblogic software of container;Its In, the user create program include: creation user name, creation random cipher corresponding with the user name, create with it is described User name and the corresponding operating right of the random cipher;When the container is restarted, program creation is created according to the user User name and random cipher, and according to the user name and random cipher setting and the user name and the random cipher Corresponding operating right;Local user is created according to the user name, the random cipher and the operating right.
In a specific embodiment, following steps are also executed when processor executes computer-readable instruction: when the appearance Think highly of after opening, start the system manager of the weblogic first, authorizes the user to create by the system manager Program creation user name, random cipher and operating right.
In a specific embodiment, performed by processor the step of the permission of the calling system manager It include: the setting grant set group in user creation program, and according to the grant set group=' Administrators' obtains the permission of the system manager of the weblogic.
In a specific embodiment, container restart include: on the weblogic software application restart or The docker image upgrade of the container or the docker mirror image replacement of the container.
In a specific embodiment, the setting performed by processor and the user name and the random cipher pair The step of operating right answered includes: the setting grant set group2 in user creation program, and according to the grant set Group2='Deployers' change or setting operating right corresponding with the user name and the random cipher.
In a specific embodiment, the present invention also provides a kind of storage medium for being stored with computer-readable instruction, institutes When stating computer-readable instruction and being executed by one or more processors, so that one or more processors execute following steps: will User creates program and is previously written in the weblogic software of container;Wherein, it includes: creation user that the user, which creates program, Name, creates operating rights corresponding with the user name and the random cipher at creation and the corresponding random cipher of the user name Limit;When the container is restarted, program creation user name and random cipher are created according to the user, and according to the user name And the random cipher sets operating right corresponding with the user name and the random cipher;According to the user name, institute State random cipher and operating right creation local user.
In a specific embodiment, following steps are also executed when processor executes computer-readable instruction: when the appearance Think highly of after opening, start the system manager of the weblogic first, authorizes the user to create by the system manager Program creation user name, random cipher and operating right.
In a specific embodiment, the system manager performed by processor authorizes the user to create program The step of creation user name, random cipher and operating right includes: to create that grant set group is arranged in program in the user, And according to the grant set group='Administrators', the user is authorized to create program creation user name, with secret Code and operating right.
In a specific embodiment, container restart include: on the weblogic software application restart or The docker image upgrade of the container or the docker mirror image replacement of the container.
In a specific embodiment, the setting performed by processor and the user name and the random cipher pair The step of operating right answered includes: the setting grant set group2 in user creation program, and according to the grant set Group2='Deployers' change or setting operating right corresponding with the user name and the random cipher.
It is situated between using method, system, device and the storage that above-mentioned weblogic according to the present invention automatically creates local user Matter, after container is restarted, by the relative program of operation creation local user, i.e. user creates program, automatically creates local use Family, and dynamic acquisition random cipher are not necessarily to manual intervention, re-create compared to existing user or lead-in mode again, can The plenty of time is saved, and by setting random cipher, guarantees the safety logged in, has a clear superiority compared to conventional method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, light as described above Disk) in, including some instructions use is so that a terminal device (can be mobile phone, computer, server or the network equipment Deng) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method that weblogic automatically creates local user is applied to electronic device, which is characterized in that the method packet It includes:
User's creation program is previously written in the weblogic software of container;Wherein, it includes: creation that the user, which creates program, User name, creates behaviour corresponding with the user name and the random cipher at creation and the corresponding random cipher of the user name Make permission;
When the container is restarted, program creation user name and random cipher are created according to the user, and according to the user Name and the random cipher set operating right corresponding with the user name and the random cipher;
Local user is created according to the user name, the random cipher and the operating right.
2. the method that weblogic according to claim 1 automatically creates local user, which is characterized in that the method is also Include:
After the container is restarted, start the system manager of the weblogic first, is authorized by the system manager The user creates program creation user name, random cipher and operating right.
3. the method that weblogic according to claim 2 automatically creates local user, which is characterized in that the system pipes The step of reason person authorizes the user to create program creation user name, random cipher and operating right include:
It is created in the user and grant set group is set in program, and according to the grant set group=' Administrators' authorizes the user to create program creation user name, random cipher and operating right.
4. the method that weblogic according to claim 1 automatically creates local user, which is characterized in that the receptacle It opens and includes:
Application on the weblogic software is restarted or the docker image upgrade of the container or the container Docker mirror image replacement.
5. the method that weblogic according to claim 1 automatically creates local user, which is characterized in that it is described setting with The step of user name and the random cipher corresponding operating right includes:
It is created in the user and grant set group2 is set in program, and according to the grant set group2='Deployers' Change or setting operating right corresponding with the user name and the random cipher.
6. the system that a kind of weblogic automatically creates local user, which is characterized in that the system comprises:
Preset unit, for user's creation program to be previously written in the weblogic software of container;Wherein, user's creation Program include: creation user name, corresponding with the user name random cipher of creation, creation and the user name and it is described at random The corresponding operating right of password;
Call unit, for creating program creation user name and random cipher according to the user when the container is restarted, and Operating right corresponding with the user name and the random cipher is set according to the user name and the random cipher;
Execution unit, for creating local user according to the user name, the random cipher and the operating right.
7. the system that weblogic according to claim 6 automatically creates local user, which is characterized in that the system is also Include:
Authorization unit passes through the system for starting the system manager of the weblogic first after the container is restarted The administrator that unites authorizes the user to create program creation user name, random cipher and operating right.
8. the system that weblogic according to claim 6 automatically creates local user, which is characterized in that the calling is single Member includes:
Condition judgment module, for judging whether the application being located on the weblogic software restarts and the container Whether docker mirror image upgrades and whether the docker mirror image of the container is replaced;
Creation module, restart for the application on the weblogic software or the docker image upgrade of the container or When the docker mirror image replacement of container described in person, according to user creation program creation user name and random cipher, and according to The user name and the random cipher set operating right corresponding with the user name and the random cipher.
9. a kind of electronic device, including memory and processor, computer-readable instruction, the meter are stored in the memory When calculation machine readable instruction is executed by the processor, so that the processor is executed as any one of claims 1 to 5 right is wanted The step of asking the weblogic to automatically create the method for local user.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more Device execute when so that one or more processors execute as described in any one of claims 1 to 5 claim weblogic oneself The step of method of dynamic creation local user.
CN201910120664.4A 2019-02-18 2019-02-18 Weblogic automatically creates method, system, device and the storage medium of local user Pending CN109977659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910120664.4A CN109977659A (en) 2019-02-18 2019-02-18 Weblogic automatically creates method, system, device and the storage medium of local user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910120664.4A CN109977659A (en) 2019-02-18 2019-02-18 Weblogic automatically creates method, system, device and the storage medium of local user

Publications (1)

Publication Number Publication Date
CN109977659A true CN109977659A (en) 2019-07-05

Family

ID=67077057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910120664.4A Pending CN109977659A (en) 2019-02-18 2019-02-18 Weblogic automatically creates method, system, device and the storage medium of local user

Country Status (1)

Country Link
CN (1) CN109977659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966364A (en) * 2020-07-31 2020-11-20 国网福建省电力有限公司 Weblogic automatic environment building method and system based on docker

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325953A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Weblogic cluster one-key automatic deployment method
CN106325954A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Oracle and Weblogic combined one-key automatic deployment method
CN109189551A (en) * 2018-08-09 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium creating middleware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325953A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Weblogic cluster one-key automatic deployment method
CN106325954A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Oracle and Weblogic combined one-key automatic deployment method
CN109189551A (en) * 2018-08-09 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium creating middleware

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SARAV AK: "Weblogic User Creation Script WLST", pages 1 - 4, Retrieved from the Internet <URL:https://www.middlewareinvent ory.com/blog/weblogic-usercreation- script-wlst/> *
易学笔记: "在容器中安装weblogic 12.2.1.3.0的过程", pages 1 - 6, Retrieved from the Internet <URL:https://blog.csdn.net/u011830122/article/details/85345620> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966364A (en) * 2020-07-31 2020-11-20 国网福建省电力有限公司 Weblogic automatic environment building method and system based on docker

Similar Documents

Publication Publication Date Title
CN110651269B (en) Isolated container event monitoring
EP2857967B1 (en) User interface management method and system
US8910138B2 (en) Hot pluggable extensions for access management system
US11853820B2 (en) Cross-process communication method, apparatus, and device
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
WO2013109450A1 (en) Installation and management of client extensions
US10216601B2 (en) Agent dynamic service
CN111800462A (en) Micro-service instance processing method and device, computer equipment and storage medium
EP3398063A1 (en) Controlled deployment of application feature
US10516699B2 (en) Electronic device and method for suggesting response manual in occurrence of denial
CN109271211A (en) Method, apparatus of attending to anything else, equipment and the medium of application program
CN107861742A (en) The operation method and terminal device of a kind of program
CN107656750A (en) Update of plug-in method and device
CN111651738A (en) Fine-grained role authority unified management method based on front-end and back-end separation framework and electronic device
CN103870762A (en) Partition accessing method and electronic equipment
CN109388435A (en) Realize app while the repeatedly method and apparatus of opening operation
CN111158777B (en) Component calling method, device and computer readable storage medium
CN109977659A (en) Weblogic automatically creates method, system, device and the storage medium of local user
CN110674426B (en) Webpage behavior reporting method and device
CN110263006A (en) A kind of method and apparatus for downloading file on a user device
US8793703B2 (en) Mobile terminal, method and program for providing a virtual setup screen
US11757976B2 (en) Unified application management for heterogeneous application delivery
CN101770553A (en) Mobile terminal and calling method for root certificate in mobile terminal
CN112948817A (en) Permission control method and device of application program, computer equipment and medium
CN111723401A (en) Data access authority control method, device, system, storage medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination