How to create user privileges in java
Hello, I need help! I'm now creating a system based in Java which I need to create a user privilege for security purposes. I need to create 3 kinds of users, 1st is the administrator and the 2nd is a viewer access which can only view the software but can't edit anything and the last 1 is the encoder view. Please help!!! If there is a website which teach me about this, please post the website. Thanks!
What do you mean by swing application? Well, it is just an application, not web based. After I finished the application, I'm thinking of networking the application but unfortunately, I think MS access don't support networking but it is an added feature. I'm using MS Access for my database because that is the only databse they have. I want to create an user privileges for security purposes but I don't know how to do it. Thanks for your reply!
Similar Messages
-
How to create user's in Middleware
Hi All,
How to create user's in Middleware(J2EE stack).When we create user's in ABAP stack it has to reflect that user in J2EE stack also. In old version of mobile using WebConsole there was an option by running that program able to see created user's in ABAP stack in WebConsole too. What I mean to say how can get user's synchoronization in between ABAP stack and J2EE stack. Is there any link to know better Administration of J2EE stack. Please let me know
Thanks in advance.
Regards,
Ameer Baba.hi Ameer,
You arent able to see the ABAP users on your Java stack simply due to the fact that the User management Engine of Java stack is not properly configured to connect to a particular client of ABAP stack.
Please check this link for more information
http://help.sap.com/saphelp_nw2004s/helpdata/en/45/1bbdccc7850064e10000000a1553f7/content.htm
If you are still unable to solve the problem please address it in UME forums so that you get a speedy resolution
regards
sunil -
How to create user in Oracle 11g Console Administration through browser
Hi
I installed Oracle 11g on my Windows XP system
then i opened the console through IE 8.0 using the address "https://serversys:1158/em"
then i logged into this console by the username SYS/SYS@orcl as SYSDBA
then i opened the SCHEMA tab
but here i didn't found any link like "USERS" to create/manage users
How can i create the users..?
thanks in advance
jkuser10922309 wrote:
Yes, Hans i am planning to become a DBA from India.Good. If you ever move to North America to become a DBA, let us know. >:)
With the help of your link "admqs_administer_users.htm"
i found that bold "Users" link in "Server" tab bold
but right now i am getting the error "ora-01301: insufficient privilages"
then i granted the 'create user' privilege to SYS
error is coming..If you have properly logged on as SYS, as shown by the 'Logged in as SYS' note in the upper right corner, you should not be getting the 1301. Try logging out and following the steps in the document I gave you starting at chapter 1. -
How to create users in xMII 12.0
Hi,
I am new to xMII 12.0. I know how to create users in xMII 11.5 Menu->Security Services->Security Manger->User Management.
But I am having difficulty in creating users in xMII 12.0. Can someone help in this regard.
Thanks,
Srinivas.Jeremy,
Thank you very much. Now I can see User Management link under http://server:port.
It looks like I do not have proper authorization to get into this link as it is giving java exception.
Anyway I got the answer from you which I am looking for and I will work with our xMII system admin.
Thanks,
Srinivas. -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
How to create user groups in SAP
Hello Gurus,
Can anyone let me know how to create user groups in SAP-HR Module and who will be creating the user groups.
plz provide me the steps.Hi Stephanie,
IMG --> Personnel Mgmt --> Personnel Administration --> Basic Setting s --> Maintain User Parameters
Please refer the below links:
http://scn.sap.com/thread/1653026
http://scn.sap.com/thread/1682721
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5?QuickLink=index&overridelayout=true&44478681629499
Thanks,
Madhav. -
How to create web services in java?
Hi,
I am a newbie to java webservices. Can anybody tell me how to create web services in java?
Any tutorial link or step by step doc would be useful.
Appreciate your help in this regard.
Thanks in advance.
naymo01.Creating web services in Java appears to depend highly upon the server you intend to use.
Here's a tutorial: http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html -
How to create User and Database in different Table spaces
How to create User and Database in different Table spaces using oracle 10g
Regards
dayaI am sorry but your question does not seem to make much sense.
Can you please rephrase your question? -
How to create User Defined Variables in Procurement Contract 12.1.3
Hi,
We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
Regards,
PrabhuHi Prabhu,
Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
Prakash -
How to create user defined transactioncode in bw
hi,
How to create user defined transactioncode in bw.My user want this
regards,
Abhishekhi
by using the t code SE93 u can create.
after that it will ask u for what ur going create
1.Program and screen
2.Program and selection screen
3.method of class
4.transaction with variant
5.transaction with parameter
here u have to select appropriate option based on ur requirement
and enter the options as per ur needs save and activate -
How to create user defined functions in xi.
how to create user defined functions in xi.
can anyone give info with screen shots.Hi,
Please follow the steps mentioned in below link
http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/frameset.htm
also refer below links to know more about UDF
udf
Thanks
Swarup
Edited by: Swarup Sawant on Mar 3, 2008 3:59 PM -
How to create user defined metrics for SQL Server target?
The customer is not able to create a user defined metrics for SQL Server target.
This is very important for him to use this product.
He is asking how to create user defined metrics?
I sent him Note 304952.1 How to Create a User-Defined SQL Metric in EM 10g Grid Control
But it would work for an Oracle DB, but his target is SQL Server DB
Not able to find the "User-Defined Metrics" link from Database home page.
How to create user defined metrics for SQL Server target?http://download-uk.oracle.com/docs/cd/B14099_19/manage.1012/b16241/Monitoring.htm
-
How to create user editable Crystal Report with dynamic dataset
What I would like to achieve:
A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
What I do:
CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReport.Load(TemplateFilename)
Dim Results As DataTable
DataTable is filled from a database
CrReport.SetDataSource(mResults)
CrReport.SaveAs(NewReportPath, True)
The NewReportPath is opened in the default program.
What are the problems
The report is open in preview mode (not in design).
When the field is added to the report the designer asks for XML datasource on preview.The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?
-
How to create User Exits in ECC 6
Hi Experts,
good day, i'm looking for any notes or learning materials on how to create User Exits in ECC 6. please send me the links.
thanks you for your usual support.Hello,
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
Any Basics u wana know abt Enhancements.,.,go through the link.,
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
Thanks,
Swati -
How to create User Portal in OID programmatically in JSP
Hi.
I want to create User Portal programmatically in JSP (if posible) or have to use procedure.
I check with package wwsec_api, it just have 'function
add_portal_user', but it say we must have "the user must already exist in OID before this function is called."
So, i checked for 'how to create User in OID'. What i got (in metalink)just methods that 'Create manually Portal Users in to OID' by LDAP or PL/SQL coding (with list of user in flat files).
What i want to do is, How to create User POrtal in OID by JSP? What are the procedure/table/method involved?
Do anybody have any samples?..
Thanks.I had to write my own because I could not find one anywhere. Here is an addUser() method that seems to work pretty well.
import oracle.ldap.util.jndi.ConnectionUtil;
import javax.naming.directory.*;
import javax.naming.*;
public class LdapUser
public LdapUser(){}
public void addUser(String pUsername, String pPassword, String pFirstName, String pLastName, String pEmail)
try
InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx("host", "port", "orcladmin", "pwd");
BasicAttributes attrs = new BasicAttributes();
BasicAttribute oc = new BasicAttribute("objectclass");
oc.add("top");
oc.add("person");
oc.add("inetOrgPerson");
oc.add("organizationalPerson");
oc.add("orclUser");
oc.add("orclUserV2");
attrs.put(oc);
BasicAttribute gn = new BasicAttribute("givenName", pFirstName);
attrs.put(gn);
BasicAttribute sn = new BasicAttribute("sn", pLastName);
attrs.put(sn);
BasicAttribute cn = new BasicAttribute("mail", pEmail);
attrs.put(cn);
BasicAttribute pwd = new BasicAttribute("userpassword", pPassword);
attrs.put(pwd);
// Etcetera, etcetera...
ctx.createSubcontext("cn="+pUsername+",cn=users,dc=whatever,dc=com", attrs);
ctx.close();
System.out.println("Success!!");
catch (NameAlreadyBoundException nabe)
System.out.println("Username is already in use. Please choose another.");
catch (NamingException ne)
System.out.println("NamingException: " + ne);
catch (Exception e)
System.out.println("User account was not created.");
}
Maybe you are looking for
-
How to load data in a oracle-datapump table ...
I have done following steps, 1) I have created a external table locating a .csv file CREATE TABLE TB1 ( COLLECTED_TIME VARCHAR2(8) ORGANIZATION EXTERNAL( TYPE oracle_loader DEFAULT DIRECTORY SRC_DIR ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE BA
-
[SOLVED] Question about systemd-user-session
Hi! I'm trying to setup a systemd --user session (using user-session-units and xorg-launch-helper from aur). I have a couple of questions; this is my .xinitrc now: #!/bin/bash export BROWSER=chromium if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in
-
My plan.Is it possible?External drive for a network!
I have an eMac.I just purchased a Western Digital 250 Gig firewire external hard drive.I haven't formatted it yet.I have some questions.I want to store my iTunes folder,iPhoto folder,my iMovie folder,and back up my internal eMac hard drive on it.How
-
SQL Developer Hostname - Network Error
This is a pretty simple question that I am stumped at the moment I installed Oracle on my local desktop with SQL developer When first setting up a connection it asks for "host name" Thus far, "localhost" works and 127.0.0.1 works when I "test connect
-
BR*tools Studio - NullPointerException
Hi i have used BR*studio but still not able to create remote instance. could you help. also i'm getting the following error when starting the server 09/01/13 16:40:32 Invalid jsp taglib location: D:\oracle\<SID>\sap\brtools\studio\ config\..\jsp\lib\