
public class HttpAuthentDefault extends Object implements HttpAuthent
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
key |
protected String |
user
Package protected for the tests
|
FIELD_KEY, FIELD_USER| Constructor and Description |
|---|
HttpAuthentDefault()
Empty for instantiation from class name
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkAuthent(HttpSession httpSession,
R66Session session)
Method to check authentication
|
void |
finalizeTransfer(HttpSession httpSession,
R66Session session)
Finalize the transfer according to status in sessions
|
String |
getUserId() |
void |
initializeAuthent(Map<String,String> arguments)
Method to setup authentication using servlet arguments
|
protected String user
protected byte[] key
public HttpAuthentDefault()
public final void initializeAuthent(Map<String,String> arguments)
HttpAuthentinitializeAuthent in interface HttpAuthentarguments - Map of all arguments as Stringpublic final void checkAuthent(HttpSession httpSession, R66Session session) throws IllegalArgumentException
HttpAuthentcheckAuthent in interface HttpAuthentIllegalArgumentExceptionpublic final String getUserId()
getUserId in interface HttpAuthentpublic final void finalizeTransfer(HttpSession httpSession, R66Session session) throws IllegalArgumentException
HttpAuthentfinalizeTransfer in interface HttpAuthentIllegalArgumentExceptionCopyright © 2009–2022 Waarp. All rights reserved.