tira-web/src-java/de/webis/tira/client/web/request/Checker.java
public boolean
	checkDisraptorSecretKeyIsCorrect(HttpServletRequest req) {
		String incomingSecretKey = req.getHeader("x-disraptor-app-secret-key");
		return incomingSecretKey != null && incomingSecretKey.equals(DISRAPTOR_APP_SECRET_KEY);
	}
/**
	 * Checks if the incoming request has the Disraptor secret key header.
	 * If so, it checks whether the incoming secret key matches the stored secret key.
	 * 
	 * @param req the incoming request
	 * @return whether the incoming secret key is correct
	 */
Checks if the incoming request has the Disraptor secret key header.
If so, it checks whether the incoming secret key matches the stored secret key.

@param req the incoming request
@return whether the incoming secret key is correct
Checks if the incoming request has the Disraptor secret key header . If so it checks whether the incoming secret key matches the stored secret key . @param req the incoming request @return whether the incoming secret key is correct
public boolean
	checkDisraptorSecretKeyIsCorrect(HttpServletRequest req) {
		String incomingSecretKey = req.getHeader("x-disraptor-app-secret-key");
		return incomingSecretKey != null && incomingSecretKey.equals(DISRAPTOR_APP_SECRET_KEY);
	}
public boolean checkDisraptorSecretKeyIsCorrect ( HttpServletRequest req ) { String incomingSecretKey = req . getHeader ( "x-disraptor-app-secret-key" ) ; return incomingSecretKey != null && incomingSecretKey . equals ( DISRAPTOR_APP_SECRET_KEY ) ; }
Checks if the incoming request has the Disraptor secret key header.
Checks if the incoming request has the Disraptor secret key header .