public class AppPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static PermissionCollection |
NO_PERMISSIONS
A PermissionCollection that allows no permissions
|
Modifier and Type | Method and Description |
---|---|
AppConfigurationEntry[] |
getAppConfigurationEntry() |
static AppPolicy |
getDefaultAppPolicy() |
KeyStore |
getKeyStore() |
AuthenticationInfo |
getLoginInfo() |
AuthorizationInfo |
getPermissionInfo() |
PermissionCollection |
getPermissions(Subject subject,
CodeSource codesource) |
static void |
setDefaultAppPolicy(AppPolicy policy) |
void |
setKeyStore(KeyStore keyStore) |
void |
setLoginInfo(AuthenticationInfo loginInfo) |
void |
setPermissionInfo(AuthorizationInfo permissionInfo) |
String |
toString() |
public static final PermissionCollection NO_PERMISSIONS
public AppPolicy(String appName)
public KeyStore getKeyStore()
public void setKeyStore(KeyStore keyStore)
public static void setDefaultAppPolicy(AppPolicy policy)
public static AppPolicy getDefaultAppPolicy()
public AuthenticationInfo getLoginInfo()
public void setLoginInfo(AuthenticationInfo loginInfo)
public AuthorizationInfo getPermissionInfo()
public void setPermissionInfo(AuthorizationInfo permissionInfo)
public AppConfigurationEntry[] getAppConfigurationEntry()
public PermissionCollection getPermissions(Subject subject, CodeSource codesource)
Copyright © 2019 JBoss by Red Hat. All rights reserved.