Package com.ibm.jbatch.spi
Interface BatchSecurityHelper
-
public interface BatchSecurityHelperImplemented by the host environment to allow the 'jbatch' implementation to get the "current" tag (here a generalized term for something like the current "application), and whether the tag is "admin"-authorized or not.- Author:
- skurz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCurrentTag()booleanisAdmin(String tag)
-
-
-
Method Detail
-
getCurrentTag
String getCurrentTag()
- Returns:
- The current "tag" (or "app name", generically speaking).
-
isAdmin
boolean isAdmin(String tag)
- Parameters:
tag- A "tag" (or "app name", generically speaking).- Returns:
- true if the "tag" is associated with an app recognized as authorized for administrator-level read permissions.
-
-