|
|
@ -17,17 +17,12 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
package org.wso2.carbon.webapp.authenticator.framework;
|
|
|
|
package org.wso2.carbon.webapp.authenticator.framework;
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.axiom.om.OMAbstractFactory;
|
|
|
|
|
|
|
|
import org.apache.axiom.om.OMElement;
|
|
|
|
|
|
|
|
import org.apache.axiom.om.OMFactory;
|
|
|
|
|
|
|
|
import org.apache.axiom.om.OMNamespace;
|
|
|
|
|
|
|
|
import org.apache.catalina.connector.Request;
|
|
|
|
import org.apache.catalina.connector.Request;
|
|
|
|
import org.apache.catalina.connector.Response;
|
|
|
|
import org.apache.catalina.connector.Response;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|
import org.w3c.dom.Document;
|
|
|
|
import org.w3c.dom.Document;
|
|
|
|
import org.wso2.carbon.apimgt.api.APIManagementException;
|
|
|
|
import org.wso2.carbon.apimgt.api.APIManagementException;
|
|
|
|
import org.wso2.carbon.apimgt.core.APIManagerErrorConstants;
|
|
|
|
|
|
|
|
import org.wso2.carbon.apimgt.core.authenticate.APITokenValidator;
|
|
|
|
import org.wso2.carbon.apimgt.core.authenticate.APITokenValidator;
|
|
|
|
import org.wso2.carbon.apimgt.impl.APIConstants;
|
|
|
|
import org.wso2.carbon.apimgt.impl.APIConstants;
|
|
|
|
import org.wso2.carbon.apimgt.impl.dto.APIKeyValidationInfoDTO;
|
|
|
|
import org.wso2.carbon.apimgt.impl.dto.APIKeyValidationInfoDTO;
|
|
|
@ -35,7 +30,6 @@ import org.wso2.carbon.context.PrivilegedCarbonContext;
|
|
|
|
import org.wso2.carbon.identity.base.IdentityException;
|
|
|
|
import org.wso2.carbon.identity.base.IdentityException;
|
|
|
|
import org.wso2.carbon.identity.core.util.IdentityUtil;
|
|
|
|
import org.wso2.carbon.identity.core.util.IdentityUtil;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.xml.parsers.DocumentBuilder;
|
|
|
|
import javax.xml.parsers.DocumentBuilder;
|
|
|
|
import javax.xml.parsers.DocumentBuilderFactory;
|
|
|
|
import javax.xml.parsers.DocumentBuilderFactory;
|
|
|
|