java.lang.Object
com.zeroc.Glacier2.SSLPermissionsVerifier.AuthorizeResult
- Enclosing interface:
- SSLPermissionsVerifier
Holds the result of operation authorize.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe reason why access was denied.booleantrueif access is granted,falseotherwise. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AuthorizeResult(boolean returnValue, String reason) This constructor makes shallow copies of the results for operation authorize. -
Method Summary
Modifier and TypeMethodDescriptionvoidread(InputStream istr) Unmarshals the result of the authorize operation.voidwrite(OutputStream ostr) Marshals the result for the authorize operation.
-
Field Details
-
returnValue
public boolean returnValuetrueif access is granted,falseotherwise. -
reason
The reason why access was denied.
-
-
Constructor Details
-
AuthorizeResult
public AuthorizeResult()Default constructor. -
AuthorizeResult
This constructor makes shallow copies of the results for operation authorize.- Parameters:
returnValue-trueif access is granted,falseotherwise.reason- The reason why access was denied.
-
-
Method Details
-
write
Marshals the result for the authorize operation.- Parameters:
ostr- the output stream to write this result to
-
read
Unmarshals the result of the authorize operation.- Parameters:
istr- the input stream to read this result from
-