java.lang.Object | ||
↳ | com.cenqua.fisheye.user.plugin.AbstractFishEyeAuthenticator | |
↳ | com.cenqua.fisheye.user.plugin.ExampleFishEyeAuthenticator |
An example authenticator.
This authenticator reads its data from its Properties
configuration.
Usernames/passwords are found using properties of the form user.USERNAME=PASSWORD
By default, access is allowed to any repository. Access can be restricted
to a set of users using a property of the form
repos.REPNAME=USERNAME1,USERNAME2,...,USERNAMEn
To use this example, you would need something like the following in your config.xml:
<security allow-anon="false"> <custom classname="com.cenqua.fisheye.user.plugin.ExampleFishEyeAuthenticator" auto-add="true" positive-cache-ttl="5mins"> <properties> user.jane=j4n3 user.fred=fr3d repos.rep1=jane,fred repos.rep2=fred repos.rep3=jane </properties> </custom></security>
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ExampleFishEyeAuthenticator.ExampleAuthToken |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.cenqua.fisheye.user.plugin.AbstractFishEyeAuthenticator
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.cenqua.fisheye.user.plugin.FishEyeAuthenticator
|