Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.core.config.jaxb
Class JAXBSecurityConfiguration

java.lang.Object
  extended by oracle.stellent.wcm.core.config.jaxb.JAXBSecurityConfiguration

All Implemented Interfaces:
SecurityConfiguration

public class JAXBSecurityConfiguration
extends java.lang.Object
implements SecurityConfiguration

Security configuration based on generated JAXB object


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.stellent.wcm.core.config.SecurityConfiguration
SecurityConfiguration.AccessType

 

Field Summary

 

Fields inherited from interface oracle.stellent.wcm.core.config.SecurityConfiguration
PROPERTY_CACHE_ENV_MILLIS, PROPERTY_SIZE, PROPERTY_TTL_MILLIS

 

Constructor Summary
JAXBSecurityConfiguration()
           
JAXBSecurityConfiguration(oracle.stellent.wcm.core.config.jaxb.model.SecurityType securityType)
           

 

Method Summary
 long getEnvironmentMillis()
           
 oracle.stellent.wcm.core.config.jaxb.model.SecurityType getModel()
           
 java.util.Set<java.lang.String> getProperties()
           
 java.lang.String getProperty(java.lang.String name)
          Retrieve a property
 int getSize()
           
 long getTimeToLiveMillis()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
          Set the enabled flag
 void setEnvironmentMillis(long envTTL)
          Set the time to live for environment settings
 void setProperty(java.lang.String name, java.lang.String value)
          Set a property
 void setSize(int size)
          Set the cache size
 void setTimeToLiveMillis(long ttl)
          Set the time to live in milliseconds for uer permission objects

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JAXBSecurityConfiguration

public JAXBSecurityConfiguration()

JAXBSecurityConfiguration

public JAXBSecurityConfiguration(oracle.stellent.wcm.core.config.jaxb.model.SecurityType securityType)

Method Detail

getModel

public oracle.stellent.wcm.core.config.jaxb.model.SecurityType getModel()

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface SecurityConfiguration
Returns:
true if security is enabled

setEnabled

public void setEnabled(boolean enabled)
Set the enabled flag
Specified by:
setEnabled in interface SecurityConfiguration
Parameters:
enabled - true to enable security

getProperty

public java.lang.String getProperty(java.lang.String name)
Retrieve a property
Specified by:
getProperty in interface SecurityConfiguration
Parameters:
name - the property name
Returns:
the property value

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Set a property
Specified by:
setProperty in interface SecurityConfiguration
Parameters:
name - the name
value - the value (if null, removes the property)

getProperties

public java.util.Set<java.lang.String> getProperties()
Specified by:
getProperties in interface SecurityConfiguration
Returns:
the available properties

getSize

public int getSize()
Specified by:
getSize in interface SecurityConfiguration
Returns:
the cache size

setSize

public void setSize(int size)
Set the cache size
Specified by:
setSize in interface SecurityConfiguration
Parameters:
size - the number of user permissions to hold in the cache

getTimeToLiveMillis

public long getTimeToLiveMillis()
Specified by:
getTimeToLiveMillis in interface SecurityConfiguration
Returns:
the time to live milliseconds

setTimeToLiveMillis

public void setTimeToLiveMillis(long ttl)
Set the time to live in milliseconds for uer permission objects
Specified by:
setTimeToLiveMillis in interface SecurityConfiguration
Parameters:
ttl - the time to live

getEnvironmentMillis

public long getEnvironmentMillis()
Specified by:
getEnvironmentMillis in interface SecurityConfiguration
Returns:
the time to live for environment config information

setEnvironmentMillis

public void setEnvironmentMillis(long envTTL)
Set the time to live for environment settings
Specified by:
setEnvironmentMillis in interface SecurityConfiguration
Parameters:
envTTL - the environment query time to live

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.