net.jxta.impl.membership
Class PasswdMembershipService
java.lang.Object
net.jxta.impl.membership.PasswdMembershipService
- public class PasswdMembershipService
- extends Object
The passwd membership service provides a Membership Service implementation
which is based on a password scheme similar to the unix
/etc/passwd
system.
- See Also:
MembershipService
Method Summary |
static String |
makePsswd(String source)
This is the method used to make the password strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
passwordMembershipSpecID
public static final ModuleSpecID passwordMembershipSpecID
- Well known service specification identifier: password membership
PasswdMembershipService
public PasswdMembershipService()
makePsswd
public static String makePsswd(String source)
- This is the method used to make the password strings. We only provide
one way encoding since we can compare the encoded strings.
FIXME 20010402bondolo@jxta.org : switch to use the standard
crypt(3) algorithm for encoding the passwords. The current algorithm has
been breakable since ancient times, crypt(3) is also weak, but harder to
break.
- Parameters:
source
- the string to encode
- Returns:
- String the encoded version of the password.