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 Details

    • SEC

      public SEC()
  • Method Details

    • user

      public static final String user()
      xxxxx
    • user

      public static final String user(javax.servlet.http.HttpServletRequest request)
      Just add for Serverless Login Process
    • userid

      public static final String userid()
      xxxxx
    • userid

      public static final String userid(javax.servlet.http.HttpServletRequest request)
      Just add for Serverless Login Process
    • userid

      public static final String userid(String cuser)
      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

      public static String user4lineid(String lineid) throws Exception
      Get User Name from LineID Line ID.
      Throws:
      Exception
    • userid4lineid

      public static String userid4lineid(String lineid) throws Exception
      Get User ID from LineID Line ID.
      Throws:
      Exception
    • lineid

      public static String lineid() throws Exception
      Get Line ID.
      Throws:
      Exception
    • lineid

      public static String lineid(String cuser) throws Exception
      Get Line ID.
      Throws:
      Exception
    • lineid2

      public static String lineid2() throws Exception
      Get Line ID 2.
      Throws:
      Exception
    • lineid2

      public static String lineid2(String cuserid) throws Exception
      Get Line ID 2.
      Throws:
      Exception
    • facebookid

      public static String facebookid() throws Exception
      Get FaceBook ID.
      Throws:
      Exception
    • facebookid

      public static String facebookid(String cuser) throws Exception
      Get FaceBook ID.
      Throws:
      Exception
    • facebookid2

      public static String facebookid2() throws Exception
      Get FaceBook ID 2.
      Throws:
      Exception
    • facebookid2

      public static String facebookid2(String cuserid) throws Exception
      Get FaceBook ID 2.
      Throws:
      Exception
    • googleid

      public static String googleid() throws Exception
      Get Google ID.
      Throws:
      Exception
    • googleid

      public static String googleid(String cuser) throws Exception
      Get Google ID.
      Throws:
      Exception
    • googleid2

      public static String googleid2() throws Exception
      Get Google ID 2.
      Throws:
      Exception
    • googleid2

      public static String googleid2(String cuserid) throws Exception
      Get Google ID 2.
      Throws:
      Exception
    • appleid

      public static String appleid() throws Exception
      Get Apple ID.
      Throws:
      Exception
    • appleid

      public static String appleid(String cuser) throws Exception
      Get Apple ID.
      Throws:
      Exception
    • appleid2

      public static String appleid2() throws Exception
      Get Apple ID 2.
      Throws:
      Exception
    • appleid2

      public static String appleid2(String cuserid) throws Exception
      Get Apple ID 2.
      Throws:
      Exception
    • wif

      public static String wif() throws Exception
      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

      public static String userid4DataTable(String tableName) throws Exception
      Get TableUserID from Customer Table.
      Throws:
      Exception
    • useridm

      public static String useridm(String userName, String userDataTable)
      Get UserID for Customer Table of each project.
    • enx

      public static String enx(String plaindata)
      X DiNOQ Standard encrypt 1 parameter
    • dex

      public static String dex(String encrypteddata)
      X DiNOQ Standard decrypt 1 parameter
    • enwx

      public static String enwx(String plaindata)
      X DiNOQ Standard encrypt 1 parameter for web
    • dewx

      public static String dewx(String encryptb64eddata)
      X DiNOQ Standard decrypt 1 parameter for web