com.ibm.jbatch.spi
Interface BatchSecurityHelper


public interface BatchSecurityHelper

Implemented by the host environment to allow the 'jbatch' 352 RI 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
 String getCurrentTag()
           
 boolean isAdmin(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.


Copyright © 2013. All Rights Reserved.