Package x
Class SEC
java.lang.Object
th.co.skylogicsystem.skyframework.core.utils.security.SecurityUtils
x.SEC
public class SEC
extends th.co.skylogicsystem.skyframework.core.utils.security.SecurityUtils
xxx
- Author:
- Sakdsitt Likhitmetagool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringappleid()Get Apple ID.static StringGet Apple ID.static Stringappleid2()Get Apple ID 2.static StringGet Apple ID 2.static StringcustomerName4DataTable(th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin, th.co.skylogicsystem.skyframework.core.server.service.basic.servicelayer.SCMain scmain, String nameField, String lastNnameField) Get User from Customer Table.static StringcustomerName4DataTable(th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin, th.co.skylogicsystem.skyframework.core.server.service.basic.servicelayer.SCMain scmain, String tableName, String nameField, String lastNnameField) Get User from Customer Table.static StringX DiNOQ Standard decrypt 1 parameter for webstatic StringX DiNOQ Standard decrypt 1 parameterstatic StringX DiNOQ Standard encrypt 1 parameter for webstatic StringX DiNOQ Standard encrypt 1 parameterstatic StringGet FaceBook ID.static Stringfacebookid(String cuser) Get FaceBook ID.static StringGet FaceBook ID 2.static Stringfacebookid2(String cuserid) Get FaceBook ID 2.static Stringgoogleid()Get Google ID.static StringGet Google ID.static StringGet Google ID 2.static StringGet Google ID 2.static final booleanisAuthen()xxxxxstatic Stringlineid()Get Line ID.static StringGet Line ID.static Stringlineid2()Get Line ID 2.static StringGet Line ID 2.static final voidlogin(th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordToken token) xxxxxstatic final voidlogin(th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordToken token, javax.servlet.http.HttpServletRequest request) Just add for Serverless Login Processstatic final th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordTokennewUsernamePasswordToken(String username, String password, th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin) xxxxxstatic final Stringuser()xxxxxstatic final Stringuser(javax.servlet.http.HttpServletRequest request) Just add for Serverless Login Processstatic Stringuser4lineid(String lineid) Get User Name from LineID Line ID.static final Stringuserid()xxxxxstatic final Stringxxxxxstatic final Stringuserid(javax.servlet.http.HttpServletRequest request) Just add for Serverless Login Processstatic Stringuserid4DataTable(String tableName) Get TableUserID from Customer Table.static Stringuserid4lineid(String lineid) Get User ID from LineID Line ID.static StringGet UserID for Customer Table of each project.static Stringwif()Get My WIF.Methods inherited from class th.co.skylogicsystem.skyframework.core.utils.security.SecurityUtils
getSecurityManager, getSubject, getSubject, setSecurityManager
-
Constructor Details
-
SEC
public SEC()
-
-
Method Details
-
user
xxxxx -
user
Just add for Serverless Login Process -
userid
xxxxx -
userid
Just add for Serverless Login Process -
userid
xxxxx -
login
public static final void login(th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordToken token) xxxxx -
login
public static final void login(th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordToken token, javax.servlet.http.HttpServletRequest request) Just add for Serverless Login Process -
newUsernamePasswordToken
public static final th.co.skylogicsystem.skyframework.core.utils.security.authc.UsernamePasswordToken newUsernamePasswordToken(String username, String password, th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin) throws UnknownHostException xxxxx- Throws:
UnknownHostException
-
isAuthen
public static final boolean isAuthen()xxxxx -
user4lineid
Get User Name from LineID Line ID.- Throws:
Exception
-
userid4lineid
Get User ID from LineID Line ID.- Throws:
Exception
-
lineid
Get Line ID.- Throws:
Exception
-
lineid
Get Line ID.- Throws:
Exception
-
lineid2
Get Line ID 2.- Throws:
Exception
-
lineid2
Get Line ID 2.- Throws:
Exception
-
facebookid
Get FaceBook ID.- Throws:
Exception
-
facebookid
Get FaceBook ID.- Throws:
Exception
-
facebookid2
Get FaceBook ID 2.- Throws:
Exception
-
facebookid2
Get FaceBook ID 2.- Throws:
Exception
-
googleid
Get Google ID.- Throws:
Exception
-
googleid
Get Google ID.- Throws:
Exception
-
googleid2
Get Google ID 2.- Throws:
Exception
-
googleid2
Get Google ID 2.- Throws:
Exception
-
appleid
Get Apple ID.- Throws:
Exception
-
appleid
Get Apple ID.- Throws:
Exception
-
appleid2
Get Apple ID 2.- Throws:
Exception
-
appleid2
Get Apple ID 2.- Throws:
Exception
-
wif
Get My WIF.- Throws:
Exception
-
customerName4DataTable
public static String customerName4DataTable(th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin, th.co.skylogicsystem.skyframework.core.server.service.basic.servicelayer.SCMain scmain, String nameField, String lastNnameField) throws Exception Get User from Customer Table.- Throws:
Exception
-
customerName4DataTable
public static String customerName4DataTable(th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin, th.co.skylogicsystem.skyframework.core.server.service.basic.servicelayer.SCMain scmain, String tableName, String nameField, String lastNnameField) throws Exception Get User from Customer Table.- Throws:
Exception
-
userid4DataTable
Get TableUserID from Customer Table.- Throws:
Exception
-
useridm
Get UserID for Customer Table of each project. -
enx
X DiNOQ Standard encrypt 1 parameter -
dex
X DiNOQ Standard decrypt 1 parameter -
enwx
X DiNOQ Standard encrypt 1 parameter for web -
dewx
X DiNOQ Standard decrypt 1 parameter for web
-