Package net.officefloor.web.spi.security
Interface HttpChallengeContext
-
- All Known Subinterfaces:
ChallengeContext<O,F>
- All Known Implementing Classes:
MockHttpChallengeContext
public interface HttpChallengeContextContext for theHttpChallenge.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpChallengesetChallenge(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 multipleHttpChallengeinstances.- Parameters:
authenticationScheme- Authentication scheme.realm- Realm.- Returns:
HttpChallenge.
-
-