Class AbstractCredentialFactoryBean<T extends Credential>

    • Field Detail

      • usageType

        private String usageType
        Usage type of the credential.
      • keyNames

        private List<String> keyNames
        Names for the key represented by the credential.
      • entityID

        private String entityID
        Identifier for the owner of the credential.
      • privateKeyPassword

        @Nullable
        private char[] privateKeyPassword
        The privateKey Password (if any).
      • configDescription

        @Nonnull
        private String configDescription
        For logging: The description of the source of the configuration.
    • Constructor Detail

      • AbstractCredentialFactoryBean

        public AbstractCredentialFactoryBean()
    • Method Detail

      • getKeyNames

        @Nullable
        public List<String> getKeyNames()
        Gets the names for the key represented by the credential.
        Returns:
        names for the key represented by the credential
      • getUsageType

        @Nullable
        public String getUsageType()
        Gets the usage type of the credential.
        Returns:
        usage type of the credential
      • getEntityID

        @Nullable
        public String getEntityID()
        Get the entity ID of the credential.
        Returns:
        the entity ID
      • setKeyNames

        public void setKeyNames​(@Nullable
                                List<String> names)
        Sets the names for the key represented by the credential.
        Parameters:
        names - names for the key represented by the credential
      • setUsageType

        public void setUsageType​(@Nullable
                                 String type)
        Sets the usage type of the credential.
        Parameters:
        type - usage type of the credential
      • setEntityID

        public void setEntityID​(@Nullable
                                String newEntityID)
        Set the entity ID of the credential.
        Parameters:
        newEntityID - the entity ID
      • getPrivateKeyPassword

        @Nullable
        public char[] getPrivateKeyPassword()
        Get the password for the private key.
        Returns:
        Returns the privateKeyPassword.
      • setPrivateKeyPassword

        public void setPrivateKeyPassword​(@Nullable
                                          char[] password)
        Set the password for the private key.
        Parameters:
        password - The password to set.
      • getConfigDescription

        public String getConfigDescription()
        For logging, get the description of the resource that defined this bean.
        Returns:
        Returns the description.
      • setConfigDescription

        public void setConfigDescription​(@Nonnull
                                         String desc)
        For logging, set the description of the resource that defined this bean.
        Parameters:
        desc - what to set.