Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script to add new libraries for the externalized login-portal #389

Merged
merged 3 commits into from
Apr 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions host-endpoints-externally/setup-authentication-endpoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@ cp -r ${IS_WEB_APP_HOME}/authenticationendpoint ${WEB_APP_HOME}
cp -r ${IS_WEB_APP_HOME}/accountrecoveryendpoint/WEB-INF/classes/RecoveryEndpointConfig.properties ${WEB_APP_CLASSES}

cp $IS_HOME/repository/components/plugins/abdera_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/ant_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/axiom_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/axis2_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/bcprov-jdk15on_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-cli_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-collections_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-dbcp_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-fileupload_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-httpclient_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-io_*.jar $WEB_APP_LIB
Expand Down Expand Up @@ -79,21 +77,21 @@ cp $IS_HOME/repository/components/plugins/org.wso2.carbon.user.api_*.jar $WEB_AP
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.user.core_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.utils_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.securevault_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/rampart-core_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/slf4j.api_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/tomcat-catalina-ha_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/tomcat-servlet-api_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/wsdl4j_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/XmlSchema_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.ui_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.application.authentication.endpoint.util_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.core_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.user.registration.stub_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.mgt.stub_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.mgt_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.mgt.ui_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.oauth_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/features/org.wso2.carbon.identity.application.authentication.framework.server_*/runtimes/cxf3/org.wso2.carbon.identity.application.authentication.endpoint.util-*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.extension.identity.authenticator.backupcode.connector_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.application.authentication.framework_*.jar $WEB_APP_LIB
cp $IS_HOME/lib/runtimes/cxf3/org.wso2.carbon.identity.application.authentication.endpoint.util-*.jar $WEB_APP_LIB
cp $IS_HOME/lib/runtimes/cxf3/org.wso2.carbon.identity.mgt.endpoint.util-*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/jettison_*.jar $WEB_APP_LIB
cp $IS_HOME/lib/runtimes/cxf3/javax.ws.rs-api-*.jar $WEB_APP_LIB
cp $IS_HOME/lib/runtimes/cxf3/cxf-core-*.jar $WEB_APP_LIB
Expand All @@ -109,13 +107,16 @@ cp $IS_HOME/lib/xercesImpl-*.jar $WEB_APP_LIB
cp $IS_HOME/lib/geronimo-jta_*.jar $WEB_APP_LIB
cp $IS_HOME/lib/stax2-api-*.jar $WEB_APP_LIB
cp $IS_HOME/lib/woodstox-core-asl-*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/tools/forget-me/lib/log4j-*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/tools/forget-me/lib/pax-logging-api-*.jar $WEB_APP_LIB
cp $IS_HOME/lib/log4j-*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.ops4j.pax.logging.pax-logging-api_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.captcha_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-text_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.identity.governance_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/commons-lang3_*.jar $WEB_APP_LIB

cp $IS_HOME/repository/components/plugins/org.wso2.orbit.javax.xml.bind.jaxb-api_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/plugins/org.wso2.carbon.extension.identity.authenticator.totp.connector_*.jar $WEB_APP_LIB
cp $IS_HOME/repository/components/dropins/org.wso2.carbon.extension.identity.authenticator.smsotp.connector-*.jar $WEB_APP_LIB
rm $WEB_APP_LIB/javax.cache.wso2_*.jar

echo
echo "Please Open ${WEB_APP_HOME}/authenticationendpoint/WEB-INF/web.xml file and make"
Expand All @@ -124,21 +125,21 @@ echo
echo "===================================================================================="
echo "..."
echo " <context-param>"
echo " <param-name>IdentityManagementEndpointContextURL</param-name>"
echo " <param-value>https://localhost:9443/accountrecoveryendpoint</param-value>"
echo " <param-name>IdentityServerEndpointContextURL</param-name>"
echo " <param-value>https://localhost:9443</param-value>"
echo " </context-param>"
echo " <context-param>"
echo " <param-name>AccountRecoveryRESTEndpointURL</param-name>"
echo " <param-value>https://localhost:9443/t/tenant-domain/api/identity/user/v1.0/</param-value>"
echo " <param-name>IdentityManagementEndpointContextURL</param-name>"
echo " <param-value>https://localhost:9443/accountrecoveryendpoint</param-value>"
echo " </context-param>"
echo " <context-param>"
echo " <param-name>EnableRecoveryEndpoint</param-name>"
echo " <param-value>true</param-value>"
echo " </context-param>"
echo "..."
echo " <context-param>"
echo " <param-name>IdentityServerEndpointContextURL</param-name>"
echo " <param-value>https://localhost:9443</param-value>"
echo " <param-name>EnableSelfSignUpEndpoint</param-name>"
echo " <param-value>true</param-value>"
echo " </context-param>"
echo "..."
echo "===================================================================================="
Expand Down