Class CachedAuthenticator.CachedAuthentication

  • Enclosing class:
    CachedAuthenticator

    public static class CachedAuthenticator.CachedAuthentication
    extends java.lang.Object
    Authentication data to remember and reuse.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String host  
      (package private) java.lang.String pass  
      (package private) int port  
      (package private) java.lang.String user  
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedAuthentication​(java.lang.String aHost, int aPort, java.lang.String aUser, java.lang.String aPass)
      Create a new cached authentication.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.net.PasswordAuthentication toPasswordAuthentication()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • host

        final java.lang.String host
      • port

        final int port
      • user

        final java.lang.String user
      • pass

        final java.lang.String pass
    • Constructor Detail

      • CachedAuthentication

        public CachedAuthentication​(java.lang.String aHost,
                                    int aPort,
                                    java.lang.String aUser,
                                    java.lang.String aPass)
        Create a new cached authentication.
        Parameters:
        aHost - system this is for.
        aPort - port number of the service.
        aUser - username at the service.
        aPass - password at the service.
    • Method Detail

      • toPasswordAuthentication

        java.net.PasswordAuthentication toPasswordAuthentication()