Package jadex.tools.web.security
Class JCCSecurityPluginAgent.SecurityState
- java.lang.Object
-
- jadex.tools.web.security.JCCSecurityPluginAgent.SecurityState
-
- Enclosing class:
- JCCSecurityPluginAgent
public static class JCCSecurityPluginAgent.SecurityState extends java.lang.Object
Security state infos.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String[]>
nameauthorities
protected java.util.List<java.lang.String[]>
networks
protected java.lang.String
platformsecret
protected boolean
printsecret
protected java.util.List<java.lang.String[]>
roles
protected java.util.Set<java.lang.String>
trustedplatformnames
protected boolean
usesecret
-
Constructor Summary
Constructors Constructor Description SecurityState()
Create a new security state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String[]>
getNameAuthorities()
Get the nameAuthorities.java.util.List<java.lang.String[]>
getNetworks()
Get the networks.java.lang.String
getPlatformSecret()
Get the platformsecret.java.util.List<java.lang.String[]>
getRoles()
Get the roles.java.util.Set<java.lang.String>
getTrustedPlatformNames()
boolean
isPrintSecret()
Get the printsecret.boolean
isUseSecret()
Get the usesecret.void
setNameAuthorities(java.util.List<java.lang.String[]> nameAuthorities)
Set the nameAuthorities.void
setNetworks(java.util.List<java.lang.String[]> networks)
Set the networks.void
setPlatformSecret(java.lang.String platformsecret)
Set the platformsecret.JCCSecurityPluginAgent.SecurityState
setPrintSecret(boolean printsecret)
Set the printsecret.void
setRoles(java.util.List<java.lang.String[]> roles)
Set the roles.void
setTrustedPlatformNames(java.util.Set<java.lang.String> trustedplatformnames)
JCCSecurityPluginAgent.SecurityState
setUseSecret(boolean usesecret)
Set the usesecret.
-
-
-
Field Detail
-
platformsecret
protected java.lang.String platformsecret
-
usesecret
protected boolean usesecret
-
printsecret
protected boolean printsecret
-
networks
protected java.util.List<java.lang.String[]> networks
-
roles
protected java.util.List<java.lang.String[]> roles
-
nameauthorities
protected java.util.List<java.lang.String[]> nameauthorities
-
trustedplatformnames
protected java.util.Set<java.lang.String> trustedplatformnames
-
-
Method Detail
-
isUseSecret
public boolean isUseSecret()
Get the usesecret.- Returns:
- The usesecret
-
setUseSecret
public JCCSecurityPluginAgent.SecurityState setUseSecret(boolean usesecret)
Set the usesecret.- Parameters:
usesecret
- The usesecret to set
-
isPrintSecret
public boolean isPrintSecret()
Get the printsecret.- Returns:
- The printsecret
-
setPrintSecret
public JCCSecurityPluginAgent.SecurityState setPrintSecret(boolean printsecret)
Set the printsecret.- Parameters:
printsecret
- The printsecret to set
-
getNetworks
public java.util.List<java.lang.String[]> getNetworks()
Get the networks.- Returns:
- The networks
-
setNetworks
public void setNetworks(java.util.List<java.lang.String[]> networks)
Set the networks.- Parameters:
networks
- The networks to set
-
setPlatformSecret
public void setPlatformSecret(java.lang.String platformsecret)
Set the platformsecret.- Parameters:
platformsecret
- The platformsecret to set
-
getPlatformSecret
public java.lang.String getPlatformSecret()
Get the platformsecret.- Returns:
- The platformsecret
-
getRoles
public java.util.List<java.lang.String[]> getRoles()
Get the roles.- Returns:
- The roles
-
setRoles
public void setRoles(java.util.List<java.lang.String[]> roles)
Set the roles.- Parameters:
roles
- The roles to set
-
getNameAuthorities
public java.util.List<java.lang.String[]> getNameAuthorities()
Get the nameAuthorities.- Returns:
- The nameAuthorities
-
setNameAuthorities
public void setNameAuthorities(java.util.List<java.lang.String[]> nameAuthorities)
Set the nameAuthorities.- Parameters:
nameAuthorities
- The nameAuthorities to set
-
getTrustedPlatformNames
public java.util.Set<java.lang.String> getTrustedPlatformNames()
- Returns:
- the trustedplatformnames
-
setTrustedPlatformNames
public void setTrustedPlatformNames(java.util.Set<java.lang.String> trustedplatformnames)
- Parameters:
trustedplatformnames
- the trustedplatformnames to set
-
-