public ResponseStanzaContainer execute(Stanza stanza, ServerRuntimeContext serverRuntimeContext,
boolean isOutboundStanza, SessionContext sessionContext, SessionStateHolder sessionStateHolder)
throws AuthorizationFailedException {
if (!AuthorizationRetriesCounter.getFromSession(sessionContext).hasTriesLeft()) {
AuthorizationFailedException failedException = new AuthorizationFailedException("too many retries");
failedException.setErrorStanza(ServerErrorResponses.getInstance().getStreamError(
StreamErrorCondition.POLICY_VIOLATION, null, null, null));
throw failedException;
}
XMLElementVerifier xmlElementVerifier = stanza.getVerifier();