How to control logined user
Hi,
Using JAAS login model is fine for my swing app. But now there is a requirement, such that we need to create a web, by which all logined user can be monitored, and even forced to logout.
Can any one have idea, so
1. how to know who logined?
2. how to login user out?
Thanks
John
Hi,
you can look towards jguard (http://www.jguard.net) which do the work for you (integrate JAAS into J2EE) out of the box.
cheers,
Charles.
www.jguard.net
Similar Messages
-
Using mavericks, how to control login apps on imac
Hi, just bought a new imac 27" 2014, using Mavericks, and restored from backup of the old imac. When I boot up, mail, firefox automatically load. I want a blank screen with nothing open. Where do I find the control for this? Not coming up in spotlight search...
Open Users & Groups preferences. Click on the Login Items tab, select the undesired items, then click on the Delete [-] button. If nothing is there then open General preferences and check the second option.
Next, select Shutdown from the Apple menu. You will then see this appear:
Uncheck the box. -
How to control the users' authorization?
Hi All,
Please help me for the below scenario in system.
A & B users have access to same business role (Ex: SERVICEPRO) in Web UI. However, user A should be able to create and edit anything, but user B should have only display authorization (User B should not be able to create and edit anything in application).
Could you please suggest me how/where to control the authorization for these users?
Regards,
MaddyHello Maddy,
Hello Maddy there is no specific authorization object for user. That can be done with PFCG menu. You need to play around with the PFCG Role “Menu”. The solution for your scenario is as below:
When I say changes in the menu, I mean changes in the menu tab of the PFCG role assigned to the user. You have to delete the UIU component from the respective folder. In the present case I have taken Sales folder - transaction Opportunity. This holds good for any transaction (eg activities, lead, etc). The moment you delete the link (UIU_COMP link) and save the PFCG Role the authorization tab will become red. Reason being that specific authorization of create/display is deleted. You need to go to authorizations make all green and generate the profile.
You can also refer to the link below, which will be of help to you for better understanding.
Some facts about UIU_COMP authorization object in SAP CRM.
Hope this answer was helpful
Thanks!
Neha -
How to find login user with the largest account
Hello. I'm looking to put together a bash script that can do two things: (1) determine the shortname of the user with the largest account in /Users and (2) look up their full/long name. I'm going to use this script to help identify who the user on a computer and while I know that's possible that a sometime-user may have a larger account than the normal-user on any given computer, the results of a script should be sufficient in most cases for my needs.
I'm not sure the best way to around this. I know that I can use "du -m -d1 /Users" as root:
root on torchwood
[ ~ ]$ du -m -d1 /Users
157 /Users/admin
128 /Users/johndoe
70890 /Users/dancollins
21746 /Users/Shared
92920 /Users
I know that I can also use "dscacheutil -q user" to get a full list of all users on a system.
How can I get both the short and long name of the user with the largest account in the /Users folder?We're running JAMF Recon for inventory and my supervisor wants to create a report that lists the primary user of the Mac... assuming that the largest user account may be the primary user. In this case, disk space is not the issue, the top admins simply would like to be able to associate names with individual machines. This isn't the most elegant way to do it and it's not fool-proof, but it'll be correct more often than not, which they're satisfied with.
Can I ask one more question? Using your script, I've started testing with one building and on a number of Mac, the "admin" (shortname) account is turning out to be the largest account. Is there a way to exclude the admin account from consideration?
Thanks... -
Could anyone provide information as how to fetch Login User session details in Web dyna pro .
I have Text field and Label in webdynapro View.
These need to be autofilled based on login user.
How to achieve this requirment in webdynpro.Ragu,
Here the presentation on UME API and retreving the logon user details:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars-nw-rig/using%20the%20user%20management%20api%20with%20ep%20applications%20-%20webinar%20powerpoint.pdf
You need to add these 2 jar files to buildpath
1)com.sap.security.api.jar
2)com.sap.security.api.perm.jar
For more help how to add jars :
Using JAR Class Finder
If it's not a local project and if you use NWDI environment , here the blog how to add jars for Web Dynpro DC's.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/194bdc4f-0901-0010-82ba-bf73af5d5f75
You can find some jar from the below sap jar finder website:
http://sapjarfinder.com/
Thanks
Krishna -
How to create a user that can login the LDAP?
I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
And how can I give it read rights and or update/delete rights on a specific tree?
Regards
EelcoEelco,
did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
how to use directory access control can be found in
http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
--Olaf -
CRM Web UI :- How to Control number of session of Web UI for a user
Hello Experts,
We do have very specific requirement which SAP doesn`t recommend in terms of multi-sessioning for a user.So we are little worried upon the challeges.Could you please share your ideas/Experience on following?
1.How to Control number of Internet explorer session for the web UI (may be 2 or 3).?
Though SAP doesn`t recommned more than one but our client requires 2 or more than that but we need to fix it either
2 or 3.
So we are looking for specific setting for this.
2.What are the challenges we need to face if we implement option 1?
3.Specially in interaction record management
a. Is there chance of loosing the data if agent has opened more than two session.
b. In which session interaction record data will get stored,the one on which agent picked up the call or in the latest
one?
Please let me know if I am not clear enough on any point.
Thanks in advance,
Shailendra TolambiyaHi Shailendra,
The following wiki page might be useful in this respect:
http://wiki.sdn.sap.com/wiki/x/gxdKDQ
Best Regards,
Shiromani -
How to access Sap portal login user in ejb web service
Hi,
I wnt to access SAP Portal login user in my ejb application which resides on the same server.
I am using following code
try {
IUser user =null; IWDClientUser wdUser = WDClientUser.getCurrentUser();
user = wdUser.getSAPUser();
} catch (WDUMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Some additional jar files are required for this?
The same code works fine with webDynpro but not with ejb.
Thanks in advance
Best regards,
NileshThanks for reply.
I have already added com.sap.security.api in my EJB module project classpath. How to add the same in EJB application Project (application-j2ee-engine.xml)?
Best regards,
Nilesh -
How to create the user on Internet Application Server(IAS) control console
Hi All,
My Client is asking me for How to create the user on Internet Application Server(IAS) control console 10.1.2( 10g release 2).
If anyone have the document for How to Create the User on Internet Application Server (IAS) console 10g release 2 , then please send me the document and help me out from this Concern.
Regards,
Yadav@intelli.
Edited by: 851080 on Apr 8, 2011 6:31 PMAre you using OID? Can you provide more details about your iAS environment?
-
How can I login and retrieve my user file from the trash?
I was trying to find out where all my HD had gone, which a did using ‘What Size’.
I found what looked like an old backup file so I put the file in the trash.
It turns out that the file was my user file. So now I can’t login to as the user.
How can I login and retrieve my user file from the trash?The Digital Editions forum is here, in case this is what you are talking about:
http://forums.adobe.com/community/adobe_digital_editions
If you are not, I apologize for the misunderstanding. -
How to find out maximum number of login users?
Hi all,
Is there anyway to find out what is the maximum number of login users since a database is started? Maybe I should ask, what's the largest number of sessions has been opened in a busy time of a database since it is started?
I know v$session is my target. But how can I find out hte HWM of opened sesions?
Thanks.Thanks Serch-NET. That's what I'm doing today. I should be a little more specific. I'm looking for a script that lends itself to automation. A script that can determine all the databases on a given server, find their background dump dest., grep all alert logs and return the highest of the HWM's. This is all scripting I could do myself, but being a follower of the Lazy DBA, I was hoping someone else had done it. :-)
Thanks again. -
How to Control authorization for users with certain status for level 2 WBS Element
Dear All,
Is there any standard way or enhancement available to control authorization for users with certain status for WBS Element i.e. for example
Pre-requisite:
There is only 2 level of project i.e.
Lev_ WBSE_______Description
1___ 7-14.E_______summay outage controller
2___ 7-14.E.2310__ Plant/unit # 2310
2___ 7-14.E.2310__ Plant/unit # 2220
Project Controller (authorization role assigned "Z_PS_OP7_OTGCON_C") have all project level authorization
Plant/Unit Controller (authorization role assigned "Z_PS_OP7_PLNTOTG_C_2310") have only level 2 authorization with enhancement that we did in system by Z table.
User ID_ Plant #
123345_ 2310
122455_ 2220
Issue:
After System Status released and User Status approved the WBS basic date for Plant/Units should be restricted from updating/changing by Plant/Unit Controller level and only project controller should have this authority.
Solution required:
Can any one tell how to control this scenario either by standard or enhancement available to control authorization
BR
Saqib UsmanHi,
Did you explore SAP Enhancement CNEX0002 Using Transaction CMOD?
Thank you and regards,
Varshal Kachole
The SCN Rules of Engagement -
How to save the Created by name instead of saving login user name
Hi All,
I done Without log in Jsp page to open one responsibility without login .
here created one column Created by here user can view list of values in username . it EAM module work request page .
my issue is while creating the work request Created by name saving in to the database but requirement is user needs to select using created by LOV that username needs to be save on data base .
once open the application created by name is coming as a login name using controller i removed the created by i set the created by name in PR is lovevent .
front end its working fine but while saving login user name is saving i need to save the created by name based on the lov .
can any one help to overcome this issue......
Thanks in Advance.....
KumarHi,
Thanks For Reply
It is a Standard Page and created by column Passing in the package while inserting the data FND_GLOBAL.UserID.
I have One more option i need to pass the created by as perameter in Jsp Page based on that user i need to get the password using (Encrprit ) command .
Is it Possible to do in Passing the Parameter OAF to JSP page .and how to Encrprit the password to avoid entering the password .
I hope U understand My Requirement..
Regards,
Kumar -
How to show the login user Id in the upper right corner of each page?
Hi,
I was wondering how to show the login user Id in the upper right corner of each page?
thanks so much!
cchuCchu,
The easy question first: applying a style to the welcome message. If you look at the page source, you'll see that #WELCOME_USER# is expanded to <div class="app-user">Welcome: DEMO</div> So to change the style of the message, you need to tweak the style of the app-user div in your CSS, or override it in a style block in your HTML header.
Now, the tougher question: why the text is wrapping for you. And, really, without seeing your entire page, I can't give a full answer. But I'd suggest that what's most likely happening is that the table column you're putting it in is too narrow, so it's wrapping; try replacing the td tag with <td nowrap="nowrap"> This will force the column to be wide enough to display the full message, but might result in weird formatting elsewhere on the page (depending on what all is in your table).
-David -
Chat App: how to store the user IP in database when they login.
hello,
i am working on chat application. first i made a login GUI form. after login when we run the Chat program, it ask the ip address of the server to whom it want to connect. and if u enter the ip address, it will connect to the server and chat will begin, thats working perfect.
but i want to show the list of users who r logged on and when i simply click on the user name, chat should begin.
i have the logic that when any user log in, then its IP address will be stored in the database. this ip address will shown to the online users.
but i dont know how to store the user information in database when they log in. can any body suggest me wht lines of code i should use.
thanks.palakk wrote:
i have the logic that when any user log in, then its IP address will be stored in the database. Bad approach. That will only work if this chat is only intended for use on a LAN. If it's used on the internet, then your users' IP addresses will almost always be either a) those of their routers, or b) private IP addresses, and in both cases, multiple users can have the same IP address.
this ip address will shown to the online users. Why would you want to do that? I want to chat with "Bill", not with "1.2.3.4".
but i dont know how to store the user information in database when they log in.Do the same thing that you're currently doing to store the IP address, but with the other information you want to store.
can any body suggest me wht lines of code i should use. This is not a code writing service.
Maybe you are looking for
-
We have a group of 5 people editing and indexing photos to a shared drive on a windows server, everyone has its own catalog and working on different folders to avoid any locking conflicts. The windows computers don't have any problems but the Mac's d
-
ASDM not opening in browser!!!!!!!!!
My ASDM with ASA not working (GNS3) ASDM is 603 and 649 and I am using 8.0.2 and 8.4.2 ASAs, but from browser https://192.168.1.200/ it is not opening. I guess problem of java I installed 1.6.0.07. and other 6 update 34 and 7 update 45 but not workin
-
Delivery Date Time spot contains unformated value in PO in Auto PO creation
Hi Experts, We have created a program that fetches the recent changes done in Purchase Requisition documents given as input and updates the corresponding Purchase Order document created from those PRs accordingly. We are using the FM BAPI_PO_CHANGE f
-
HT202213 how do I download my account to my Sony expire j
how do I download my y to my Sony expire j
-
Variable Length Slide Durations
If I could wave my magic wand, it would be really great to have control over the length of time each slide in Lightshop 'dwells' for. Some slides could be there for a few seconds, others for several seconds. You might recall that some of Adobe's prom