class KerberosAuthenticator::Krb5::SetPassError

An error indicating a failure response from a server when trying to change a password. @see www.ietf.org/rfc/rfc3244.txt RFC 3244

Attributes

result_code[R]

@!attribute [r] result_code

@return [Integer] the result code used to convey the result of a Set Password operation.

@!attribute [r] result_string

@return [String] the full result string used to convey the result of a Set Password operation.
result_string[R]

Public Class Methods

new(result_code, result_string) click to toggle source

Initializes a new SetPassError using an RFC 3244 result code and result string supplied in a server response. @param result_code [Integer] the result code used to convey the result of a Set Password operation @param result_string [String] the full result string used to convey the result of a Set Password operation. @return [SetPassError]

Calls superclass method
# File lib/kerberos_authenticator/krb5/error.rb, line 67
def initialize(result_code, result_string)
  @result_code = result_code
  @result_string = result_string
  super @result_string.lines.first.to_s.strip
end