Skip to content

Commit

Permalink
Text raus
Browse files Browse the repository at this point in the history
  • Loading branch information
GerhardPx committed Apr 17, 2024
1 parent 0ac8fdf commit 1f47db1
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@

import org.springframework.security.core.Authentication;

/**
* Interface um eine BezirkId gegen die BezirkId aus dem wls-infomanagement-service zu prüfen.
*
*/
public interface BezirkIDPermissionEvaluator {
/**
* Checkt die BezirkId.
*
* @param bezirkId BezirkId aus dem Request
* @param authentication Current authentication object
* @return true wenn die BezirkId aus dem Request mit der BezirkId des users übereinstimmt, sonst
* false
*/
public boolean tokenUserBezirkIdMatches(String bezirkId, Authentication authentication);

boolean tokenUserBezirkIdMatches(String bezirkId, Authentication authentication);
}

0 comments on commit 1f47db1

Please sign in to comment.