| java.lang.Object org.jboss.security.test.SimpleSRPServer
SimpleSRPServer | public class SimpleSRPServer implements SRPServerInterface(Code) | | A simple hard coded implementation of SRPServerInterface that validates
any given username to the password and salt provided to its constructor.
author: Scott.Stark@jboss.org version: $Revision: 57210 $ |
Method Summary | |
public void | close(String username, int sessionID) | public void | close(String username) Close the SRP session for the given username. | public Object[] | getSRPParameters(String username, boolean mutipleSessions) | public SRPParameters | getSRPParameters(String username) | public byte[] | init(String username, byte[] A, int sessionID) | public byte[] | init(String username, byte[] A) | public byte[] | verify(String username, byte[] M1, int sessionID) | public byte[] | verify(String username, byte[] M1, Object auxChallenge) | public byte[] | verify(String username, byte[] M1, Object auxChallenge, int sessionID) | public byte[] | verify(String username, byte[] M1) |
password | char[] password(Code) | | |
SimpleSRPServer | SimpleSRPServer(char[] password, String salt)(Code) | | |
|
|