Skip to content

Commit

Permalink
RC 3
Browse files Browse the repository at this point in the history
- Fix dependency issues
- Fix Persistence DB issue
  • Loading branch information
JREastonMarks committed May 27, 2016
1 parent c21f377 commit b2225d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,19 @@
@WebFilter(filterName = "session-filter", urlPatterns = { "/*" })
public class SessionFilter implements Filter {

@javax.annotation.Resource(mappedName ="java:global/client_secret")
private String clientId;
@javax.annotation.Resource(mappedName ="java:global/client_id")
private String clientId;
@javax.annotation.Resource(mappedName ="java:global/client_secret")
private String clientSecret;
@javax.annotation.Resource(mappedName ="java:global/userField")
private String userField;

// @Inject
// private ServletContext context;

@Inject
private SecurityController sc;

@Override
public void init(FilterConfig fliterConfig) throws ServletException {
// this.clientSecret = context.getInitParameter("client_secret");
// this.clientId = context.getInitParameter("client_id");
// this.userField = context.getInitParameter("userField");
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">

<persistence-unit name="primary">
<jta-data-source>java:jboss/datasources/irct-cl-dev-DS</jta-data-source>
<jta-data-source>java:jboss/datasources/irct-cl-DS</jta-data-source>
<class>edu.harvard.hms.dbmi.bd2k.irct.model.resource.Field</class>
<class>edu.harvard.hms.dbmi.bd2k.irct.model.resource.Resource</class>
<class>edu.harvard.hms.dbmi.bd2k.irct.model.resource.ProcessType</class>
Expand Down

0 comments on commit b2225d8

Please sign in to comment.