Package net.officefloor.web.spi.security
Interface HttpChallengeContext
- All Known Subinterfaces:
ChallengeContext<O,F>
- All Known Implementing Classes:
MockHttpChallengeContext
public interface HttpChallengeContext
Context for the
HttpChallenge.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionsetChallenge(String authenticationScheme, String realm) Sets theHttpChallenge.
-
Method Details
-
setChallenge
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.
-