public interface SecurityAwareBatchEnvironment
extends org.jberet.spi.BatchEnvironment
| Modifier and Type | Method and Description |
|---|---|
default String |
getCurrentUserName()
If the security domain is not
null the current user is returned. |
default org.wildfly.security.auth.server.SecurityIdentity |
getIdentity()
If the security domain is not
null the current identity is returned. |
org.wildfly.security.auth.server.SecurityDomain |
getSecurityDomain()
Returns the security domain if defined or
null if not defined. |
org.wildfly.security.auth.server.SecurityDomain getSecurityDomain()
null if not defined.null if not defineddefault String getCurrentUserName()
null the current user is returned.
otherwise null is returned.
Note that if the current identity is anonymous null will be returned.
nulldefault org.wildfly.security.auth.server.SecurityIdentity getIdentity()
nullCopyright © 2020 JBoss by Red Hat. All rights reserved.