/xservices/trunk/ivy.xml |
---|
44,11 → 44,8 |
<dependency org="org.apache.ant" name="ant-commons-net" rev="1.8.4"/> |
<!-- JCS does not define scopes in its pom.xml, thus map any configuration to default --> |
<dependency org="org.apache.jcs" name="jcs" rev="1.3"/> |
<dependency org="jcs" name="jcs" rev="1.3" transitive="false" conf="*->default"/> |
<!--<dependency org="concurrent" name="concurrent" rev="1.3.4"/> --><!-- needed for JCS --> |
<dependency org="org.quartz-scheduler" name="quartz" rev="2.2.0"/> |
<dependency org="log4j" name="log4j" rev="1.2.17"/> |
58,9 → 55,6 |
<dependency org="jaxen" name="jaxen" rev="1.1.4"/> |
<dependency org="org.apache.shiro" name="shiro-core" rev="1.2.2"/> |
<dependency org="org.apache.shiro" name="shiro-web" rev="1.2.2"/> |
<dependency org="org.slf4j" name="slf4j-log4j12" rev="1.6.6"/> <!-- Binding to Log4J --> |
<dependency org="org.apache.cxf" name="cxf-rt-core" rev="2.7.0"/> |
<dependency org="org.apache.cxf" name="cxf-rt-transports-http" rev="2.7.0"/> |
67,9 → 61,7 |
<dependency org="org.apache.cxf" name="cxf-rt-databinding-aegis" rev="2.7.0"/> |
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxrs" rev="2.7.0"/> |
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxws" rev="2.7.0"/> |
<dependency org="org.apache.cxf" name="cxf-rt-rs-security-sso-saml" rev="2.7.0"/> |
<dependency org="rhino" name="js" rev="1.7R2"/> |
/xservices/trunk/web/WEB-INF/cxf-beans.xml |
---|
85,31 → 85,6 |
<bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" /> |
<jaxrs:server address="/app1"> |
<jaxrs:serviceBeans> |
<ref bean="FileInfoBean"/> |
</jaxrs:serviceBeans> |
<jaxrs:providers> |
<ref bean="redirectGetFilter"/> |
</jaxrs:providers> |
</jaxrs:server> |
<bean id="redirectGetFilter" class="org.apache.cxf.rs.security.saml.sso.SamlRedirectBindingFilter"> |
<property name="idpServiceAddress" value="https://localhost:9443/idp"/> |
<!-- both relative and absolute URIs are supported --> |
<property name="assertionConsumerServiceAddress" value="/racs/sso"/> |
<property name="stateProvider" ref="stateManager"/> |
</bean> |
<bean id="stateManager" class="org.apache.cxf.rs.security.saml.sso.state.EHCacheSPStateManager"> |
<constructor-arg ref="cxf"/> |
</bean> |
<jaxrs:server id="CVSInfo" address="/cvsinfo"> |
<jaxrs:serviceBeans> |
<ref bean="CVSInfoBean" /> |
/xservices/trunk/web/WEB-INF/web.xml |
---|
28,11 → 28,23 |
<param-value>3</param-value> |
</context-param> |
<!-- <context-param> <param-name>cvs-config-02</param-name> <param-value>c:/temp/test2.txt</param-value> |
</context-param> <context-param> <param-name>cvs-config-01</param-name> <param-value>c:/temp/test.txt</param-value> |
</context-param> <context-param> <param-name>cvs-config-03</param-name> <param-value>c:/temp/test3.txt</param-value> |
</context-param> --> |
<!-- |
<context-param> |
<param-name>cvs-config-02</param-name> |
<param-value>c:/temp/test2.txt</param-value> |
</context-param> |
<context-param> |
<param-name>cvs-config-01</param-name> |
<param-value>c:/temp/test.txt</param-value> |
</context-param> |
<context-param> |
<param-name>cvs-config-03</param-name> |
<param-value>c:/temp/test3.txt</param-value> |
</context-param> |
--> |
<!-- Caching interval in minutes for CVS cache --> |
<context-param> |
<param-name>cvs-cache-interval</param-name> |
40,8 → 52,12 |
</context-param> |
<!-- CVS content search cache --> |
<!-- <context-param> <param-name>cvs-findings-configuration</param-name> |
<param-value>c:/temp/cvs-findings.txt</param-value> </context-param> --> |
<!-- |
<context-param> |
<param-name>cvs-findings-configuration</param-name> |
<param-value>c:/temp/cvs-findings.txt</param-value> |
</context-param> |
--> |
<listener> |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
89,33 → 105,4 |
<welcome-file-list> |
<welcome-file>index.html</welcome-file> |
</welcome-file-list> |
<!-- Shiro --> |
<listener> |
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class> |
</listener> |
<filter> |
<filter-name>ShiroFilter</filter-name> |
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class> |
<init-param> |
<param-name>configPath</param-name> |
<param-value>/WEB-INF/shiro.ini</param-value> |
</init-param> |
</filter> |
<filter-mapping> |
<filter-name>ShiroFilter</filter-name> |
<url-pattern>/*</url-pattern> |
<dispatcher>REQUEST</dispatcher> |
<dispatcher>FORWARD</dispatcher> |
<dispatcher>INCLUDE</dispatcher> |
<dispatcher>ERROR</dispatcher> |
</filter-mapping> |
<!-- Shiro --> |
</web-app> |
/xservices/trunk/src/java/shiro.ini |
---|
File deleted |
\ No newline at end of file |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/PermissionResolver.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/XServicesRealm.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/DirectoryPermission.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/Identity.java |
---|
0,0 → 1,23 |
/* |
* Copyright 2012 Brian Rosenberger (Brutex Network) |
* |
* Licensed under the Apache License, Version 2.0 (the "License"); |
* you may not use this file except in compliance with the License. |
* You may obtain a copy of the License at |
* |
* http://www.apache.org/licenses/LICENSE-2.0 |
* |
* Unless required by applicable law or agreed to in writing, software |
* distributed under the License is distributed on an "AS IS" BASIS, |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
* See the License for the specific language governing permissions and |
* limitations under the License. |
*/ |
package net.brutex.xservices.security; |
import java.util.UUID; |
public abstract interface Identity { |
public abstract UUID getUUID(); |
} |
Property changes: |
Added: svn:mime-type |
+text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/SecurityManager.java |
---|
0,0 → 1,11 |
package net.brutex.xservices.security; |
public abstract interface SecurityManager |
{ |
public abstract boolean canExecute(String paramString, Identity paramIdentity); |
} |
/* Location: C:\Users\brosenberger\Documents\My Box Files\XBridgeNG-download\XServices-20130131 - Kopie\WEB-INF\classes\net.zip |
* Qualified Name: net.brutex.xservices.security.SecurityManager |
* JD-Core Version: 0.6.2 |
*/ |
Property changes: |
Added: svn:mime-type |
+text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/StandardSecurityManager.java |
---|
0,0 → 1,18 |
/* */ package net.brutex.xservices.security; |
/* */ |
/* */ import java.io.PrintStream; |
/* */ |
/* */ public class StandardSecurityManager |
/* */ implements SecurityManager |
/* */ { |
/* */ public boolean canExecute(String method, Identity identity) |
/* */ { |
/* 9 */ System.out.println("User '" + identity.getUUID() + "' accesses '" + method + "'"); |
/* 10 */ return true; |
/* */ } |
/* */ } |
/* Location: C:\Users\brosenberger\Documents\My Box Files\XBridgeNG-download\XServices-20130131 - Kopie\WEB-INF\classes\net.zip |
* Qualified Name: net.brutex.xservices.security.StandardSecurityManager |
* JD-Core Version: 0.6.2 |
*/ |
Property changes: |
Added: svn:mime-type |
+text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/security/UserIdentity.java |
---|
0,0 → 1,17 |
/* */ package net.brutex.xservices.security; |
/* */ |
/* */ import java.util.UUID; |
/* */ |
/* */ public class UserIdentity |
/* */ implements Identity |
/* */ { |
/* */ public UUID getUUID() |
/* */ { |
/* 9 */ return UUID.randomUUID(); |
/* */ } |
/* */ } |
/* Location: C:\Users\brosenberger\Documents\My Box Files\XBridgeNG-download\XServices-20130131 - Kopie\WEB-INF\classes\net.zip |
* Qualified Name: net.brutex.xservices.security.UserIdentity |
* JD-Core Version: 0.6.2 |
*/ |
Property changes: |
Added: svn:mime-type |
+text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/log4j.properties |
---|
1,5 → 1,5 |
log4j.rootLogger=INFO, A1 |
log4j.rootLogger=DEBUG, A1 |
log4j.appender.A1=org.apache.log4j.ConsoleAppender |
log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
8,7 → 8,7 |
# Print only messages of level WARN or above in the package com.foo. |
log4j.logger.net.brutex.xservices=INFO |
log4j.logger.net.brutex.xservices.ws.rs=DEBUG |
log4j.logger.net.brutex.xservices.ws.rs=INFO |
log4j.logger.org.springframework=INFO |
17,6 → 17,3 |
log4j.logger.org.apache.commons=INFO |
log4j.logger.org.apache.axiom=INFO |
log4j.logger.org.apache.shiro=INFO |