Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
trismegisto-planilla
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Luis Gangas
trismegisto-planilla
Commits
68af85cb
Commit
68af85cb
authored
Nov 07, 2018
by
Luis Gangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] cambios token ficha
parent
1fef1f8d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
116 additions
and
11 deletions
+116
-11
profiles_settings.xml
.idea/inspectionProfiles/profiles_settings.xml
+0
-6
workspace.xml
.idea/workspace.xml
+112
-1
TokenFichaMysqlDAO.java
...java/trismegistoplanilla/mysqldao/TokenFichaMysqlDAO.java
+2
-2
TokenFichaService.java
.../trismegistoplanilla/servicesMysql/TokenFichaService.java
+1
-1
TokenFichaServlet.java
src/java/trismegistoplanilla/servlets/TokenFichaServlet.java
+1
-1
No files found.
.idea/inspectionProfiles/profiles_settings.xml
deleted
100644 → 0
View file @
1fef1f8d
<component
name=
"InspectionProjectProfileManager"
>
<settings>
<option
name=
"PROJECT_PROFILE"
/>
</settings>
</component>
\ No newline at end of file
.idea/workspace.xml
View file @
68af85cb
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"f1229581-2498-4c33-b7b4-f715a5fbe428"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
<ignored
path=
"$PROJECT_DIR$/tmp/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"LAST_RESOLUTION"
value=
"IGNORE"
/>
</component>
<component
name=
"FUSProjectUsageTrigger"
>
<session
id=
"1890756217"
>
<usages-collector
id=
"statistics.lifecycle.project"
>
<counts>
<entry
key=
"project.closed"
value=
"1"
/>
<entry
key=
"project.open.time.0"
value=
"1"
/>
<entry
key=
"project.opened"
value=
"1"
/>
</counts>
</usages-collector>
</session>
</component>
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"JsBuildToolGruntFileManager"
detection-done=
"true"
sorting=
"DEFINITION_ORDER"
/>
<component
name=
"JsBuildToolPackageJson"
detection-done=
"true"
sorting=
"DEFINITION_ORDER"
/>
<component
name=
"JsGulpfileManager"
>
<detection-done>
true
</detection-done>
<sorting>
DEFINITION_ORDER
</sorting>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"7"
fullScreen=
"true"
>
<option
name=
"x"
value=
"260"
/>
<option
name=
"y"
value=
"60"
/>
<option
name=
"width"
value=
"1400"
/>
<option
name=
"height"
value=
"1000"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
<path>
<item
name=
"trismegisto-planilla"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"trismegisto-planilla"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"RunDashboard"
>
<option
name=
"ruleStates"
>
<list>
<RuleState>
<option
name=
"name"
value=
"ConfigurationTypeDashboardGroupingRule"
/>
</RuleState>
<RuleState>
<option
name=
"name"
value=
"StatusDashboardGroupingRule"
/>
</RuleState>
</list>
</option>
</component>
<component
name=
"SvnConfiguration"
>
<configuration
/>
</component>
<component
name=
"TaskManager"
>
<task
active=
"true"
id=
"Default"
summary=
"Default task"
>
<changelist
id=
"f1229581-2498-4c33-b7b4-f715a5fbe428"
name=
"Default Changelist"
comment=
""
/>
<created>
1541626387552
</created>
<option
name=
"number"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1541626387552
</updated>
<workItem
from=
"1541626388621"
duration=
"785000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"785000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
extended-state=
"7"
/>
<layout>
<window_info
id=
"Favorites"
side_tool=
"true"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.24973656"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
show_stripe_button=
"false"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Version Control"
visible=
"true"
weight=
"0.32997987"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
</layout>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<option
name=
"version"
value=
"1"
/>
</component>
<component
name=
"VcsContentAnnotationSettings"
>
<option
name=
"myLimit"
value=
"2678400000"
/>
</component>
</project>
\ No newline at end of file
src/java/trismegistoplanilla/mysqldao/TokenFichaMysqlDAO.java
View file @
68af85cb
...
...
@@ -82,8 +82,8 @@ public class TokenFichaMysqlDAO implements TokenFichaDAO {
+
"where "
+
"codigo_token_ficha = ? and "
+
"token = ? and "
+
"fecha_expiracion >=
getdate
() and "
+
"estado_registro = 1"
;
+
"fecha_expiracion >=
now
() and "
+
"estado_registro = 1
"
;
Connection
conexion
=
null
;
PreparedStatement
ps
=
null
;
...
...
src/java/trismegistoplanilla/servicesMysql/TokenFichaService.java
View file @
68af85cb
...
...
@@ -7,7 +7,7 @@ import trismegistoplanilla.dao.TokenFichaDAO;
public
class
TokenFichaService
{
DAOFactory
factory
=
DAOFactory
.
getDAOFactory
(
DAOFactory
.
SQL_SERVER
);
DAOFactory
factory
=
DAOFactory
.
getDAOFactory
(
DAOFactory
.
MYSQL
);
TokenFichaDAO
objTokenFichaDAO
=
factory
.
getTokenFichaDAO
();
public
JSONObject
validarTokenURL
(
TokenFichaBean
tf
)
{
...
...
src/java/trismegistoplanilla/servlets/TokenFichaServlet.java
View file @
68af85cb
...
...
@@ -10,7 +10,7 @@ import javax.servlet.http.HttpSession;
import
org.json.JSONObject
;
import
trismegistoplanilla.beans.TokenFichaBean
;
import
trismegistoplanilla.services.FichaServices
;
import
trismegistoplanilla.services.TokenFichaService
;
import
trismegistoplanilla.services
Mysql
.TokenFichaService
;
import
trismegistoplanilla.utilities.EncryptAction
;
public
class
TokenFichaServlet
extends
HttpServlet
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment