Class FileUserDataProvider
java.lang.Object
com.predic8.membrane.core.interceptor.authentication.session.FileUserDataProvider
- All Implemented Interfaces:
UserDataProvider
- Description
- A user data provider utilizing htpasswd formatted files.
- Explanation
the fileuserdataprovider can be used to source authentication data from htpasswd files.
The files can only utilize algorithm magic strings supported by crypt(3).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileUserDataProvider
public FileUserDataProvider()
-
-
Method Details
-
setHtpasswdPath
- Description
- A path pointing to the htpasswd file.
-
getHtpasswdPath
-
verify
- Specified by:
verifyin interfaceUserDataProvider- Returns:
- a hash map containing the user's attributes (used for the token generator or to pass on HTTP headers)
-
getUsersByName
-
init
- Specified by:
initin interfaceUserDataProvider
-