version 1.11, 2004/03/23 03:06:31
|
version 1.15, 2005/02/05 23:00:44
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
const String& password); | const String& password); |
| |
private: | private: |
/** |
|
A mutex to serialize authentication calls. |
|
*/ |
|
static Mutex _authSerializeMutex; |
|
|
|
String _realm; | String _realm; |
| |
Boolean _authenticateByPAM( | Boolean _authenticateByPAM( |
|
|
const String& userName, | const String& userName, |
const String& password); | const String& password); |
| |
#if defined (PEGASUS_OS_HPUX) || defined (PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_USE_PAM_STANDALONE_PROC) |
Boolean _usePAM; |
|
|
|
Boolean _authenticateByPwnam( |
|
const char* userName, |
|
const String& password); |
|
|
|
PAMBasicAuthenticatorStandAlone* _pamBasicAuthenticatorStandAlone; | PAMBasicAuthenticatorStandAlone* _pamBasicAuthenticatorStandAlone; |
#endif | #endif |
|
|
}; | }; |
| |
| |