Package org.yamcs.sle

Class Isp1Authentication


  • public class Isp1Authentication
    extends Object
    • Constructor Detail

      • Isp1Authentication

        public Isp1Authentication​(String myUsername,
                                  byte[] myPass,
                                  String peerUsername,
                                  byte[] peerPass,
                                  String hashAlgorithm)
    • Method Detail

      • generateIsp1Credentials

        public ISP1Credentials generateIsp1Credentials()
      • generateCredentials

        public Credentials generateCredentials()
      • getMaxDeltaRcvTime

        public long getMaxDeltaRcvTime()
      • setMaxDeltaRcvTime

        public void setMaxDeltaRcvTime​(long maxDeltaRcvTime)
        Set the maximum delta between local time and received credential time used in the verifyCredentials(Credentials).
        Parameters:
        maxDeltaRcvTime - delta time in milliseconds
      • getMyUsername

        public String getMyUsername()
      • debugAuth

        public void debugAuth​(boolean debugAuth)
        if set to true, authentication messages containing passwords will be logged at DEBUG level.

        Do not forget to switch off!

        Parameters:
        debugAuth -