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 void initializeAuthent(Map<String,String> arguments)
HttpAuthent
initializeAuthent
in interface HttpAuthent
arguments
- Map of all arguments as Stringpublic void checkAuthent(HttpSession httpSession, R66Session session) throws IllegalArgumentException
HttpAuthent
checkAuthent
in interface HttpAuthent
IllegalArgumentException
public String getUserId()
getUserId
in interface HttpAuthent
public void finalizeTransfer(HttpSession httpSession, R66Session session) throws IllegalArgumentException
HttpAuthent
finalizeTransfer
in interface HttpAuthent
IllegalArgumentException
Copyright © 2009–2020 Waarp. All rights reserved.