Package net.officefloor.web.spi.security
Interface HttpChallengeContext
-
- All Known Subinterfaces:
ChallengeContext<O,F>
- All Known Implementing Classes:
MockHttpChallengeContext
public interface HttpChallengeContext
Context for theHttpChallenge
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpChallenge
setChallenge(java.lang.String authenticationScheme, java.lang.String realm)
Sets theHttpChallenge
.
-
-
-
Method Detail
-
setChallenge
HttpChallenge setChallenge(java.lang.String authenticationScheme, java.lang.String realm)
Sets the
HttpChallenge
.This should be used instead of directly adding the
HttpHeader
, so that can potentially include multipleHttpChallenge
instances.- Parameters:
authenticationScheme
- Authentication scheme.realm
- Realm.- Returns:
HttpChallenge
.
-
-