Exception: KerberosAuthenticator::Krb5::SetPassError
- Inherits:
-
Error
- Object
- StandardError
- Error
- StandardError
- Error
- KerberosAuthenticator::Krb5::SetPassError
- Defined in:
- lib/kerberos_authenticator/krb5/error.rb
Overview
An error indicating a failure response from a server when trying to change a password.
Instance Attribute Summary collapse
-
#result_code ⇒ Integer
readonly
The result code used to convey the result of a Set Password operation.
-
#result_string ⇒ String
readonly
The full result string used to convey the result of a Set Password operation.
Instance Method Summary collapse
-
#initialize(result_code, result_string) ⇒ SetPassError
constructor
Initializes a new SetPassError using an RFC 3244 result code and result string supplied in a server response.
Constructor Details
#initialize(result_code, result_string) ⇒ SetPassError
Initializes a new SetPassError using an RFC 3244 result code and result string supplied in a server response.
67 68 69 70 71 |
# 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 |
Instance Attribute Details
#result_code ⇒ Integer (readonly)
Returns the result code used to convey the result of a Set Password operation.
|
# File 'lib/kerberos_authenticator/krb5/error.rb', line 54
|
#result_string ⇒ String (readonly)
Returns the full result string used to convey the result of a Set Password operation.
|
# File 'lib/kerberos_authenticator/krb5/error.rb', line 54
|