accessControl
Class AccessControlController

java.lang.Object
  extended by accessControl.AccessControlController
All Implemented Interfaces:
AccessControlInterface

public class AccessControlController
extends java.lang.Object
implements AccessControlInterface

Controller class of component AccessControl. Implements the architecture interface AccessControlInterface.

Used for an integrity check, based on message authentication codes (MAC).

Author:
Karl-Peter Fuchs

Constructor Summary
AccessControlController()
          Generates a new AccessControl component which can be used for an integrity check, based on message authentication codes (MAC).
 
Method Summary
 void initialize()
          Initializes the this component.
 boolean isMACCorrect(Message message)
          Performs an integrity check on the bypassed message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessControlController

public AccessControlController()
Generates a new AccessControl component which can be used for an integrity check, based on message authentication codes (MAC).

Empty constructor.

Method Detail

initialize

public void initialize()
Initializes the this component.

Empty initializer.


isMACCorrect

public boolean isMACCorrect(Message message)
Performs an integrity check on the bypassed message.

Specified by:
isMACCorrect in interface AccessControlInterface
Parameters:
message - The message to be checked.
Returns:
Result of integrity check.