Class FileUserPasswordCredentials

  • All Implemented Interfaces:
    AuthenticationProvider, UserPasswordCredentials

    @Deprecated
    public class FileUserPasswordCredentials
    extends java.lang.Object
    implements UserPasswordCredentials
    Deprecated.
    since 7.1.0, use FileTokenCredentials
    Provides Bamboo credentials from text file.

    It is advised not to store the file in a code repository for security reasons.

    Format of the text file:

    
         username = some_user_name
         password = some_user_password
     
    • Field Detail

      • USERNAME_PROPERTY

        protected static final java.lang.String USERNAME_PROPERTY
        Deprecated.
        See Also:
        Constant Field Values
      • PASSWORD_PROPERTY

        protected static final java.lang.String PASSWORD_PROPERTY
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileUserPasswordCredentials

        public FileUserPasswordCredentials()
        Deprecated.
      • FileUserPasswordCredentials

        public FileUserPasswordCredentials​(@NotNull
                                           @NotNull java.lang.String credentialsLocation)
        Deprecated.
    • Method Detail

      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object