Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 87dd6924
authored
Nov 20, 2012
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new moya constants
1 parent
ef4c6269
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
code/MoyaAuthModule/.classpath
code/MoyaDatabase/src/META-INF/persistence.xml
code/MoyaWeb/src/fi/codecrew/moya/HostnameFilter.java
code/MoyaAuthModule/.classpath
View file @
87dd692
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/lib-AuthModule-depends"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jst.server.core.container/com.sun.enterprise.jst.server.runtimeTarget/GlassFish 3.1.2"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
/>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/MoyaAuthModuleClient"
/>
...
...
code/MoyaDatabase/src/META-INF/persistence.xml
View file @
87dd692
...
...
@@ -3,7 +3,7 @@
xmlns=
"http://java.sun.com/xml/ns/persistence"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
>
<persistence-unit
name=
"BortalDb"
transaction-type=
"JTA"
>
<jta-data-source>
jdbc/
bortal
</jta-data-source>
<jta-data-source>
jdbc/
moyaDb
</jta-data-source>
<properties>
<property
name=
"eclipselink.ddl-generation"
value=
"create-tables"
/>
<property
name=
"eclipselink.cache.size.default"
value=
"16384"
/>
...
...
code/MoyaWeb/src/fi/codecrew/moya/HostnameFilter.java
View file @
87dd692
...
...
@@ -27,11 +27,11 @@ public class HostnameFilter implements Filter {
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
HostnameFilter
.
class
);
private
boolean
developmentMode
=
false
;
private
static
final
String
HTTP_HOSTNAME_ID
=
"hostname_session_id"
;
private
static
final
String
HTTP_HOSTNAME_ID
=
"
moya_
hostname_session_id"
;
@EJB
private
SessionMgmtBeanLocal
sessionmgmt
;
public
static
final
String
HTTP_TRAIL_NAME
=
"
lanbortal
_http_trail"
;
public
static
final
String
HTTP_TRAIL_NAME
=
"
moya
_http_trail"
;
/**
* Default constructor.
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment