public class SecurityCheckState extends State
SecurityHandlerIF from the CORBAFileServer instance if
available to check if the given operation is allowed to be executed.| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityCheckState.SecType |
| Constructor and Description |
|---|
SecurityCheckState(SecurityCheckState.SecType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleState(java.io.DataInputStream dis,
java.io.DataOutputStream dos,
Context context)
Main method that gets called when the state should perform its action(s).
|
getbufferSize, sendOK, sendOKWithResultpublic SecurityCheckState(SecurityCheckState.SecType type)
public void handleState(java.io.DataInputStream dis,
java.io.DataOutputStream dos,
Context context)
throws java.io.IOException,
CORBAFileServerException
StatehandleState in class Statedis - an InputStream for reading datados - an OutputStream for writing datacontext - the Context of the whole commandjava.io.IOException - thrown if the method ran into an errorCORBAFileServerException - thrown if an exception from the CFS is registered