JXTA

net.jxta.impl.membership
Class PasswdMembershipService

java.lang.Object
  extended by net.jxta.impl.membership.PasswdMembershipService

Deprecated. This service is intended only as a sample and should not be used for real membership applications. IT IS NOT SECURE. The implementation has also moved to PasswdMembershipService

This implementation is intended mostly as an example of a simple Membership Service service and not as a practical secure Membership Service.

@Deprecated
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

Nested Class Summary
static class PasswdMembershipService.PasswdAuthenticator
          Deprecated.  
 
Field Summary
static ModuleSpecID passwordMembershipSpecID
          Deprecated. Well known service specification identifier: password membership
 
Constructor Summary
PasswdMembershipService()
          Deprecated.  
 
Method Summary
static String makePsswd(String source)
          Deprecated. 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
 

Field Detail

passwordMembershipSpecID

public static final ModuleSpecID passwordMembershipSpecID
Deprecated. 
Well known service specification identifier: password membership

Constructor Detail

PasswdMembershipService

public PasswdMembershipService()
Deprecated. 
Method Detail

makePsswd

public static String makePsswd(String source)
Deprecated. 
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.

JXSE