public class SAMSecureSession extends Object implements SAMSecureSessionInterface
| Constructor and Description |
|---|
SAMSecureSession() |
| Modifier and Type | Method and Description |
|---|---|
boolean | approveOrDenySecureSession(Properties i2cpProps,
Properties props)Authenticate based on the i2cp username/password. |
public boolean approveOrDenySecureSession(Properties i2cpProps, Properties props) throws SAMException
approveOrDenySecureSession in interface SAMSecureSessionInterfacei2cpProps - the I2CP session propertiesprops - the SAM connection properties containing USER and PASSWORDSAMException - if USER/PASSWORD not provided or authentication fails