================================================== # Standalone weblogic that contains the custom code WebLogicHost ..com WebLogicPort 7499 # If Client Certificate Authentication successful in Apache, # redirect to AD Authentication for 2nd Factor RewriteEngine On RewriteCond %{SSL:SSL_CLIENT_VERIFY} ^SUCCESS$ # If referenceid is not found in the query string, it means the user is first time user. # Send him to custom code for 2nd factor AD AuthN RewriteCond %{QUERY_STRING} !referenceid # Application deployed in Weblogic for AD AuthN RewriteRule .* /authenticator/internal/Processor [L] ==================================================