mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-26 17:25:11 +00:00
-- fixed broken filtering
git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@281 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
parent
6b99082954
commit
3d70b7166d
@ -1,20 +1,17 @@
|
|||||||
#set( $symbol_pound = '#' )
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
#set( $symbol_dollar = '$' )
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
#set( $symbol_escape = '\' )
|
# this work for additional information regarding copyright ownership.
|
||||||
${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one or more
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
${symbol_pound} contributor license agreements. See the NOTICE file distributed with
|
# (the "License"); you may not use this file except in compliance with
|
||||||
${symbol_pound} this work for additional information regarding copyright ownership.
|
# the License. You may obtain a copy of the License at
|
||||||
${symbol_pound} The ASF licenses this file to You under the Apache License, Version 2.0
|
#
|
||||||
${symbol_pound} (the "License"); you may not use this file except in compliance with
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
${symbol_pound} the License. You may obtain a copy of the License at
|
#
|
||||||
${symbol_pound}
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
${symbol_pound}
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
${symbol_pound} Unless required by applicable law or agreed to in writing, software
|
# See the License for the specific language governing permissions and
|
||||||
${symbol_pound} distributed under the License is distributed on an "AS IS" BASIS,
|
# limitations under the License.
|
||||||
${symbol_pound} WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
${symbol_pound} See the License for the specific language governing permissions and
|
|
||||||
${symbol_pound} limitations under the License.
|
|
||||||
|
|
||||||
Ant/m2 runtime properties management
|
Ant/m2 runtime properties management
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#set( $symbol_pound = '#' )
|
# SHARE client environment dependent properties (local build)
|
||||||
#set( $symbol_dollar = '$' )
|
|
||||||
#set( $symbol_escape = '\' )
|
|
||||||
${symbol_pound} SHARE client environment dependent properties (local build)
|
|
||||||
share.server.scheme=http
|
share.server.scheme=http
|
||||||
share.server.name=localhost
|
share.server.name=localhost
|
||||||
share.server.port=${symbol_dollar}{share.servlet.port}
|
share.server.port=${share.servlet.port}
|
||||||
alfresco.server.scheme=http
|
alfresco.server.scheme=http
|
||||||
alfresco.server.name=localhost
|
alfresco.server.name=localhost
|
||||||
alfresco.server.port=8080
|
alfresco.server.port=8080
|
||||||
|
@ -1,93 +1,49 @@
|
|||||||
<alfresco-config>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||||
|
<beans>
|
||||||
|
|
||||||
|
<!-- Custom application properties loading -->
|
||||||
|
|
||||||
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||||
|
<property name="ignoreResourceNotFound" value="true" />
|
||||||
|
<property name="locations">
|
||||||
|
<list>
|
||||||
|
<value>classpath:alfresco/web-extension/application.properties</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<!-- uncomment this section (or override bean def in custom app context) for remote component deploy -->
|
||||||
|
<!-- Override WebScripts searchpath - to include remote store -->
|
||||||
|
<!--
|
||||||
|
|
||||||
|
<bean id="webframework.searchpath" class="org.alfresco.web.scripts.SearchPath">
|
||||||
|
<property name="searchPath">
|
||||||
|
<list>
|
||||||
|
<ref bean="webframework.remotestore.webscripts" />
|
||||||
|
<ref bean="webframework.store.webscripts.custom" />
|
||||||
|
<ref bean="webframework.store.webscripts" />
|
||||||
|
<ref bean="webscripts.store" />
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- uncomment this section (or override bean def in custom app context) for remote component deploy -->
|
||||||
|
<!-- Override Templates and Scripts searchpath - to include remote store -->
|
||||||
|
<!--
|
||||||
|
<bean id="webframework.templates.searchpath" class="org.alfresco.web.scripts.SearchPath">
|
||||||
|
<property name="searchPath">
|
||||||
|
<list>
|
||||||
|
<ref bean="webframework.remotestore.webscripts" />
|
||||||
|
<ref bean="webframework.store.webscripts.custom" />
|
||||||
|
<ref bean="webframework.store.system-templates" />
|
||||||
|
<ref bean="webframework.store.templates" />
|
||||||
|
<ref bean="webframework.store.webscripts" />
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
<config evaluator="string-compare" condition="Server">
|
</beans>
|
||||||
<server>
|
|
||||||
<!-- Enable and adjust the following settings to allow for external access URLs to the
|
|
||||||
WebScript Framework - to return an externally accessable address for absolute url generation.
|
|
||||||
-->
|
|
||||||
<scheme>${share.server.scheme}</scheme>
|
|
||||||
<hostname>${share.server.name}</hostname>
|
|
||||||
<port>${share.server.port}</port>
|
|
||||||
</server>
|
|
||||||
</config>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Overriding endpoints to reference a remote Alfresco server -->
|
|
||||||
|
|
||||||
<config evaluator="string-compare" condition="Remote">
|
|
||||||
<remote>
|
|
||||||
|
|
||||||
<!-- Endpoints -->
|
|
||||||
<!-- Example of a 'declared' identity endpoint configuration
|
|
||||||
<endpoint>
|
|
||||||
<id>alfresco-system</id>
|
|
||||||
<name>Alfresco - System access</name>
|
|
||||||
<description>System account access to Alfresco</description>
|
|
||||||
<connector-id>alfresco</connector-id>
|
|
||||||
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
|
|
||||||
<identity>declared</identity>
|
|
||||||
<username>admin</username>
|
|
||||||
<password>admin</password>
|
|
||||||
<unsecure>true</unsecure>
|
|
||||||
</endpoint> -->
|
|
||||||
|
|
||||||
<endpoint>
|
|
||||||
<id>alfresco-noauth</id>
|
|
||||||
<name>Alfresco - unauthenticated access</name>
|
|
||||||
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
|
|
||||||
<connector-id>alfresco</connector-id>
|
|
||||||
<endpoint-url>${alfresco.server.scheme}://${alfresco.server.name}:${alfresco.server.port}/${alfresco.webapp.name}/s</endpoint-url>
|
|
||||||
<identity>none</identity>
|
|
||||||
</endpoint>
|
|
||||||
|
|
||||||
<endpoint>
|
|
||||||
<id>alfresco</id>
|
|
||||||
<name>Alfresco - user access</name>
|
|
||||||
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
|
|
||||||
<connector-id>alfresco</connector-id>
|
|
||||||
<endpoint-url>${alfresco.server.scheme}://${alfresco.server.name}:${alfresco.server.port}/${alfresco.webapp.name}/s</endpoint-url>
|
|
||||||
<identity>user</identity>
|
|
||||||
</endpoint>
|
|
||||||
|
|
||||||
</remote>
|
|
||||||
</config>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Overriding endpoints to reference an Alfresco server with external SSO or NTLM enabled -->
|
|
||||||
<!-- NOTE: For NTLM, the NTLM Authentication Filter must also be enabled in share web.xml -->
|
|
||||||
<!-- NOTE: if utilising a load balancer between web-tier and repository cluster, the "sticky -->
|
|
||||||
<!-- sessions" feature of your load balancer must be used -->
|
|
||||||
<!-- Uses SSL client certificate + trusted CAs. Optionally used to authenticate share to an external SSO system such as CAS
|
|
||||||
<config evaluator="string-compare" condition="Remote">
|
|
||||||
<remote>
|
|
||||||
<keystore>
|
|
||||||
<path>alfresco/web-extension/alfresco-system.p12</path>
|
|
||||||
<type>pkcs12</type>
|
|
||||||
<password>alfresco-system</password>
|
|
||||||
</keystore>
|
|
||||||
|
|
||||||
<connector>
|
|
||||||
<id>alfrescoCookie</id>
|
|
||||||
<name>Alfresco Connector</name>
|
|
||||||
<description>Connects to an Alfresco instance using cookie-based authentication</description>
|
|
||||||
<class>org.alfresco.connector.AlfrescoConnector</class>
|
|
||||||
</connector>
|
|
||||||
|
|
||||||
<endpoint>
|
|
||||||
<id>alfresco</id>
|
|
||||||
<name>Alfresco - user access</name>
|
|
||||||
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
|
|
||||||
<connector-id>alfrescoCookie</connector-id>
|
|
||||||
<endpoint-url>http://localhost/alfresco/wcs</endpoint-url>
|
|
||||||
<identity>user</identity>
|
|
||||||
<external-auth>true</external-auth>
|
|
||||||
</endpoint>
|
|
||||||
</remote>
|
|
||||||
|
|
||||||
</config>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
</alfresco-config>
|
|
Loading…
x
Reference in New Issue
Block a user