Hi,
I've succesfully set up Elmah in my web project and I can access the crash log at
http://www.myserver.com/Elmah.axd .
The only question is how to secure this URL so that only my colleagues (as opposed to anonymous users and users who are logged in, but not part of my team) can access it. ASP.NET forms authentication is already se...
I am using the password and access file based authentication on JMX. When building my JMXConnectorServer, i use the property names and it works fine.
Map<String, String> env = new HashMap<String, String>();
env.put(ApplicationProperties.JMX_PWD_FILE_PROP, pwdFile);
env.put(ApplicationProperties.JMX_ACCESS_FILE_PROP, accFile);
connector...
Sometime we get link from a site, when we click the invitation link, it just send us to the index page for login(as we are not logged in in that site), when the login finishes, the site just redirect us to the link on which we clicked.
How this can be achieved in php?
...
I've migrated some code from plain old web services in .Net 2.0 to WCF but I missed a requirement in the code and now have an issue.
The new WCF services take the currently logged on domain user and pass their details through to the server so they don't need to sign on. This means all WCF services run under the context of the user acces...
OK this might sound like a strange question. Please read carefully before jumping on me OK? ;-)
Imagine this situation:
We have a server and a client.
They connect using SSL.
Client creates account on server with password.
But, what he actually passes to server over the wire is the hash (+salt) of the password (NOT the password)
Ser...
I'm moving some of my find code inside models.
Previously in my controller I had
$this->Book->Review->find('first', array(
'conditions' => array(
'Review.book_id' => $id,
'Review.user_id' => $this->Auth->user('id')
)
));
so in my Review model I put something like
function own($id) {
$this->contain();
...
What is the fastest/easiest way to get an OAuth provider running in Java? Specifically, I need to authorize third-party apps to access certain web services (I'm thinking token authentication using OAuth).
I've been looking at Jersey's OAuth extension, but as mentioned here, it doesn't provide a full-fledged Service Provider.
...
I have to access a web server at http://someserver and it requires some authentication.
How can I tell if it is using NTLM, Kerberos or whatever it may be?
...
Say I have a simple todo app and I want the users to see only their todos. I'm having trouble authorizing with Authlogic. In restful_authentication, I just do
def index
@post = current_user.posts.find.all
end
But I'm unable to do that with authlogic. I looked into declarative_authorization, but still can't get it to work.
I want th...
I have restlet sample client program which sends the digest request. Similar to this I need java client program which sends a digest request using HttpClient api.
Can anybody send me sample code. Thanks in advance.
Reference reference = new Reference("http://localhost:8092/authenticate");
Client client = new Client(Proto...
I have a PHP authentication system on my website using the $_SESSION variable.
A form submits a username and password to the file "login.php". It is handled like this:
<?php include '../includes/sessionstart.inc.php'; ?>
<?php ob_start(); ?>
if($_POST){
$q = mysql_query("SELECT id, company FROM users WHERE username = '".mysql_real...
Hi all.
I'm facing an extrange behavior in my Sharepoint 2077 farm:
We have configured windows integrated authentication with NTLM, and all clients authenticates correctly to the portal.
When they proceeds to "login as" diferent user, it seems to be all fine (appears user name in top of page) , but internally the page user is the old us...
I learnt that using Customizable Authencation backends philosophy, one can create a website which accepts email addresses as usernames. But after building the corresponding logic and testing that my code is working fine, I found one issue with Django's own testcases. They were failing to follow the Customizable Authencation backend philo...
I have a connection made with a user name say ABC. In a method I create a new instance of sqlconnection named connection1 using the same connectionstring as that of the previous connection. When connection1.open() is issued it gives an exception stating that Login has failed for the user ABC. When SQL is able to connect to the user ABC f...
What is the use of "The Secure External Password Store"?
And can I create password field in my Oracle table using "The Secure External Password Store"? Or how can I create password field in my Oracle table without using "The Secure External Password Store"?
...
We would like to make JMX calls to other deployed applications within Websphere Application Server. This works fine if you do this within a web application where a user does a login with the right credentials. However if you try to make JMX calls, say, from a timer triggered part of the application that has no connection to any logged in...
I'm implementing a client with python's twisted that checks the server ssl certificate when connecting, following basically this recipe. I've seen in many HOWTOs such as this one the server checking the client's authenticity through a ssl certificate as well. Currently i authenticate my clients using an unique id and 1024 char string (th...
I'm working on a .NET application written in C# and WPF. In this application we will authenticate the users towards an Active Directory server. In the end we might want to support other LDAP implementations too, so if I can build this without being ActiveDirectory-specific that would be an advantage.
What's the best approach to get sta...
So I have an app called stats that lets me query my database in various ways and return information in a JSON format so I can have a nice ajaxy dashboard for graphing and visualizing. I'd like this app to be as reusable as possible, naturally, so I don't want to necesarily use the @login_required decorator on its views. In my case, how...
Is it possible to share authentication between several grails application?
We have an app that grown too big and it is a time to break it to several apps, but we can't figure out how to share authentication between apps.
our app is grails with acegi plugin and it is deployed on tomcat server.
question assumes that we do not introduce ...