de.fzj.unicore.wsrflite.security
Class KernelSecurityProperties
java.lang.Object
de.fzj.unicore.wsrflite.security.DefaultSecurityProperties
de.fzj.unicore.wsrflite.security.KernelSecurityProperties
- All Implemented Interfaces:
- ISecurityProperties, Cloneable
public class KernelSecurityProperties
- extends DefaultSecurityProperties
SecurityProperties that are taken from the Kernel properties
KernelSecurityProperties
public KernelSecurityProperties(Kernel k)
- builds SecurityProperties from the properties of the given Kernel
- Parameters:
k - the Kernel instace
doGetProperty
protected String doGetProperty(String key)
- Description copied from class:
DefaultSecurityProperties
- Returns a system property. Override this in subclasses
- Overrides:
doGetProperty in class DefaultSecurityProperties
- Returns:
- property value
isSslEnabled
public boolean isSslEnabled()
- returns true if SSL mode is enabled.
SSL can be enabled by setting a property
"unicore.wsrflite.ssl" to "true" in the service.xml file
or by defining a system property
- Specified by:
isSslEnabled in interface ISecurityProperties- Overrides:
isSslEnabled in class DefaultSecurityProperties
- Returns:
isSslClientAuthenticated
public boolean isSslClientAuthenticated()
- returns true if SSL mode is enabled.
SSL can be enabled by setting a property
"unicore.wsrflite.ssl" to "true" in the service.xml file
or by defining a system property
- Specified by:
isSslClientAuthenticated in interface ISecurityProperties- Overrides:
isSslClientAuthenticated in class DefaultSecurityProperties
- Returns:
Copyright © 2010. All Rights Reserved.