user

Getting Tomcat user in Java

Hey everybody, is there a way to get the logged in user name (and group) from a Tomcat system. I read something about configuring Tomcat, so it is getting the user information out of a database. But I found now information about getting the name of the user (in my GWT Project), which is logged in. I'm trying to write a little GWT proje...

Couldn't run loadjava on user schema to load dbwsclientws.jar dbwsclientdb102.jar

I am trying to load oracle webservice client jars to my schema. I did set the PATH to inlcude: /u01/app/oracle/product/10.2.0/db_1/bin When I try to run loadjava as "loadjava -u myschema/myscehmapwd -r -v -f -genmissing dbwsclientws.jar dbwsclientdb102.jar" I am getting error: Exception in thread "main" java.lang.NoClassDefFoundError: or...

How do I write an app that alerts a Windows service which user is currently logged in?

I have a Windows service that should run for all users that needs to know which user is currently logged in. I'd like to write an app that gets started when a user logs in that will alert the service that that user is the one that's currently logged in. It would also need to handle when the user is switched (meaning both are still runnin...

PHP looking for a neat way to prevent unauthorised users from viewing pages

I'm looking for a way to prevent unauthorised users from viewing pages without, lets say, wrapping everything in an if authed { show page } else { show error} My website is currently setup like: index.php require_once __WEBROOT__ . '/templates/default/header.tmpl'; require_once content('p'); require_once __WEBROOT__ . '/templates/defa...

Why User model inheritance doesn't work properly?

I'm trying to use a User model inheritance in my django application. Model looks like this: from django.contrib.auth.models import User, UserManager class MyUser(User): ICQ = models.CharField(max_length=9) objects = UserManager() and authentication backend looks like this: import sys from django.db import models from django...

Detecting log-ins with SENS

I have a .Net service that uses SENS to detect when a user logs on or off. I'm having two problems, though: Even though the service seems to be starting automatically, if there is only one user on the computer and that user doesn't have a password (meaning windows will start right away), the log-in doesn't seem to be getting detected. ...

Accessing user profile variables

Using the profile module I've created a textfield called profile_real_name which the user fills out when registering. How do I access this variable in the node.tpl.php? I used the dsm($user) function to output the user variables and it contained everything except the data for the profile_real_name I also ran dsm($vars) on the phptempl...

User does not have access to the AnalysisServices database

We have a analysis services olap cube (SSAS 2008) deployed at a test server (MS Serve 2008) in our domain, you can browse the olap cube via ssms without problem. No problems with olap cube itself so far. The user account is admin on the analysis services server. We also have reporting services (SSRS 2008) installed at the same test serv...

[Drupal] How do I give a specific user editing rights to a specific node?

How do I give a specific user editing rights to a specific node? I have a user role named "Student". Multiple users have that role, only a few of them can edit a node. How can I realise this? ...

Reasons to store users' data in LDAP instead of RDBMS

It is often said that using LDAP is a good way to store data about users. That's beacause users' "directory" is hierarchical and it changes rarely. But in my opinion that doesn't exclude using RDBMS. What might be reasons to use LDAP? I guess that storing multi-valued fields or adding custom fields in LDAP might be easier but it can be d...

Windows 7: How can I get a list of all Windows user names in .Net?

Is there a simple way to get the names of all the user names of a local Windows 7 machine using .Net? So if I had a machine named MyPC, and it had 3 users MyPC\Mike, MyPC\Bob, and MyPC\Steve, I'd just want to be able to query to get Mike, Bob, and Steve. Of course, I don't care if they have the computer name attached, or not, as well. ...

Managing App Users/Groups in a iPhone App

Hi All, I'm looking at managing user groups in an iPhone App. The App is connected to a WebServer. I'm therefore looking at using ASP.net Membership Provider to store/manage User Info. (We may just make a simple custom table to manager end users). I have not seen a native User Management framework in iphone SDK. Anyone have a better su...

rails -- track number of user login

Hey guys, I'd like to track how many times a user logs in to my site which is a Rails app. Is there any other call like "created_on or updated_on" that can make a little counter in my model that tracks that kind of info? I'm using restful-authentication currently. ...

Rails: How to treat some fields of model info independently? Eg. Account vs. Profile information.

I have a User model with the usual information (login, email, name, location, etc). However, when users decide to edit their information, I'd like to separate the fields to be edited according to the appropriate concerns. For example, I'd like to have Name, Bio and Location to be edited on a Profile page or tab, and login, email and pa...

jedit alters user and group of file

Hi there, I'm running jedit as root, to alter several system files in /etc, some of these files have different owners then root. When I edit such a file, and save them, jedit set user to root and group to root. Is there a option to set, that jedit keeps the file permissions? Thank you Alex. ...

How to extend request.user with own functions in django?

I've seen some nifty code on django-ratings documentation and like to create something similar. After googling around for now 2 weeks I got no idea on how to do this. Maybe you could help me what to search for or where to get some docs? Code from django-ratings docs: ... response = AddRatingView()(request, **params) if response.st...

Where go after user login into app engine?

What is the difference between the two lines: A. loginURL = users.create_login_url(os.environ['PATH_INFO']) B. loginURL = users.create_login_url(self.request.uri) For my app engine project I want a user to make customized maps. But if he is not logged in, before he can start a new map project, I want to redirect him to login, and then...

How to prevent accessing unauthorized user to resource such as .pdf file in host ?

Hi At the moment in my ASP.NET webApp I have some resources such as some .pdf files or pictures in specific folder in the host . If any user know the URL of those files can access them from the browser , How can i manage access or ban anonymous user from those files ? ...

KPI for UX team

I'm going to lead a new User Experience Team and I'm struggling with the definition of KPI for the team. My question is non-technical and I'm asking after what KPI's I should measure. ...

Secured WTS folder access

On WTS I need to write a secured application which gets connected by different users but needs to use a single secured user credentials to access files on the server folders ...