Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
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
Muhammad Usman
PERFORMA_REPLICA
Commits
4ae53b28
Commit
4ae53b28
authored
Jul 18, 2017
by
Nilu
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HT017
parent
7f868bca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
95 additions
and
1 deletions
+95
-1
CustomServlets_adminPortal.xml
...oot/extensions/adminportal/CustomServlets_adminPortal.xml
+15
-1
signin.jsp
cmsWebApp/webroot/extensions/adminportal/signin.jsp
+80
-0
No files found.
cmsWebApp/webroot/extensions/adminportal/CustomServlets_adminPortal.xml
View file @
4ae53b28
...
...
@@ -16,7 +16,7 @@
<AUTHENTICATOR
factory=
"Participant"
class=
"oneit.security.SecurityAuthenticator"
>
<PRIVILEGE
factory=
"Parameter"
param=
"priv"
/>
<FAILED_URL
factory=
"String"
value=
"RestrictedAccess.jsp"
/>
<NO_USER_URL
factory=
"String"
value=
"
testsso
.jsp"
/>
<NO_USER_URL
factory=
"String"
value=
"
extensions/adminportal/signin
.jsp"
/>
</AUTHENTICATOR>
</NODE>
...
...
@@ -34,4 +34,18 @@
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdminNoPriv"
/>
</NODE>
<NODE
name=
"signin_jsp"
factory=
"Participant"
>
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdminNoPriv"
/>
<FORM
name=
"*.login"
factory=
"Participant"
class=
"oneit.security.LoginProcessor"
>
<NODE
name=
"loginFailureMessage"
factory=
"String"
value=
"Invalid password, please re-check your login details ... "
/>
<NODE
name=
"onSuccessURL"
factory=
"String"
value=
"frame.jsp"
/>
<PARSER
name=
"username"
factory=
"Participant"
class=
"oneit.utils.parsers.StringParser"
>
<NODE
name=
"nonExistErrorMessage"
factory=
"String"
value=
"Please enter a user name"
/>
</PARSER>
<PARSER
name=
"password"
factory=
"Participant"
class=
"oneit.utils.parsers.StringParser"
>
<NODE
name=
"nonExistErrorMessage"
factory=
"String"
value=
"Please enter a password"
/>
</PARSER>
</FORM>
</NODE>
</OBJECTS>
cmsWebApp/webroot/extensions/adminportal/signin.jsp
0 → 100644
View file @
4ae53b28
<
%@
page
extends=
"oneit.servlets.jsp.FormJSP"
%
>
<
%@
include
file=
"/inc/stdimports50.jsp"
%
><
%
--
This
is
in
cougar
--
%
>
<
%@
include
file=
"/extensions/performa/inc/stdimports.jsp"
%
>
<
%!
protected
String
getName
(
ServletConfig
config
)
{
return
"
signin_jsp
";
}
%
>
<
%@
include
file=
"/setuprequest.jsp"
%
>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
></meta>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
></meta>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
></meta>
<title>
Talentology
</title>
<
%@
include
file=
"/inc/std_imports.jsp"
%
>
</head>
<body
class=
"bg-color"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"main-verify-identity"
>
<div
class=
"login-logo"
><img
src=
"<%= request.getContextPath() %>/images/logo.png"
/></div>
<oneit:form
name=
"login"
method=
"post"
>
<div
class=
"main-box-layout login-box"
>
<
%
oneit
.
servlets
.
jsp
.
FormInformation
fi2 =
oneit.servlets.jsp.FormJSP.getFormInformation
(
request
);
if
(
fi2
!=
null
&&
fi2
.
hasErrors
())
{
%
>
<div
class=
"alert alert-danger margin-bottom--10px"
>
<oneit:multifieldtext
prefixTextName=
"pageHeader_errorPrefix"
suffixTextName=
"pageHeader_errorSuffix"
fieldTextName=
"pageHeader_errorText"
deriveAllFields=
"true"
/>
</div>
<
%
}
%
>
<div
class=
"form-group text-left"
>
<label>
Username
</label>
<input
type=
"text"
class=
"form-control"
name=
"username"
>
</div>
<div
class=
"form-group text-left"
>
<label>
Password
</label>
<input
type=
"password"
class=
"form-control"
name=
"password"
>
</div>
<div
class=
"form-group"
>
<a
href=
"#"
class=
"forgot-pass"
>
Forgot password?
</a>
<oneit:button
value=
"Sign in"
name=
"login"
cssClass=
"box-btn login-btn"
requestAttribs=
"<%= CollectionUtils.EMPTY_MAP%>"
/>
<input
name=
"LoginRedirectURL"
type=
"hidden"
value=
"/performa/AdminPortal-Home.htm"
>
</div>
<div
class=
"box-br-line"
><span></span></div>
<div
class=
"box-label"
>
Sign in using your social network of choice
</div>
<ul
class=
"social-login"
>
<li><a
href=
"#"
><img
src=
"<%= request.getContextPath() %>/images/login-linkedin-icon.png"
/></a></li>
<li><a
href=
"#"
><img
src=
"<%= request.getContextPath() %>/images/login-facebok-icon.png"
/></a></li>
<li><a
href=
"#"
><img
src=
"<%= request.getContextPath() %>/images/login-google.png"
/></a></li>
</ul>
</div>
</oneit:form>
<footer
class=
"power-footer"
>
<div
class=
"footer-link text-center"
>
<ul>
<li><a
href=
"#"
>
2017 Talentology
</a></li>
<li><a
href=
"#"
>
Privacy Policy
</a></li>
</ul>
</div>
</footer>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
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