Skip to content

Commit

Permalink
#11 preparing ... added interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
helllth committed Sep 26, 2012
1 parent 8cd3460 commit 8eac5c3
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/main/java/de/cismet/security/Tunnel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.cismet.security;

/**
* DOCUMENT ME!
*
* @author thorsten
* @version $Revision$, $Date$
*/
public interface Tunnel extends AccessHandler {

//~ Methods ----------------------------------------------------------------

/**
* DOCUMENT ME!
*
* @param method DOCUMENT ME!
* @param url DOCUMENT ME!
*
* @return DOCUMENT ME!
*/
boolean isResponsible(AccessHandler.ACCESS_METHODS method, String url);
}
36 changes: 36 additions & 0 deletions src/main/java/de/cismet/security/TunnelStore.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.cismet.security;

/**
* DOCUMENT ME!
*
* @author thorsten
* @version $Revision$, $Date$
*/
public interface TunnelStore {

//~ Methods ----------------------------------------------------------------

/**
* DOCUMENT ME!
*
* @param tunnel DOCUMENT ME!
*/
void setTunnel(Tunnel tunnel);
/**
* DOCUMENT ME!
*
* @return DOCUMENT ME!
*/
Tunnel getTunnel();
}

0 comments on commit 8eac5c3

Please sign in to comment.