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
Interface SecurityConfiguration

All Known Implementing Classes:
JAXBSecurityConfiguration

public interface SecurityConfiguration

Configuration of the security for managed content


Nested Class Summary
static class SecurityConfiguration.AccessType
          The security type

 

Field Summary
static java.lang.String PROPERTY_CACHE_ENV_MILLIS
          the time to live for environment information
static java.lang.String PROPERTY_SIZE
          the size of the cache
static java.lang.String PROPERTY_TTL_MILLIS
          the time to live for user permissions

 

Method Summary
 long getEnvironmentMillis()
           
 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

 

Field Detail

PROPERTY_SIZE

static final java.lang.String PROPERTY_SIZE
the size of the cache
See Also:
Constant Field Values

PROPERTY_TTL_MILLIS

static final java.lang.String PROPERTY_TTL_MILLIS
the time to live for user permissions
See Also:
Constant Field Values

PROPERTY_CACHE_ENV_MILLIS

static final java.lang.String PROPERTY_CACHE_ENV_MILLIS
the time to live for environment information
See Also:
Constant Field Values

Method Detail

isEnabled

boolean isEnabled()
Returns:
true if security is enabled

setEnabled

void setEnabled(boolean enabled)
Set the enabled flag
Parameters:
enabled - true to enable security

getProperty

java.lang.String getProperty(java.lang.String name)
Retrieve a property
Parameters:
name - the property name
Returns:
the property value

setProperty

void setProperty(java.lang.String name,
                 java.lang.String value)
Set a property
Parameters:
name - the name
value - the value (if null, removes the property)

getProperties

java.util.Set<java.lang.String> getProperties()
Returns:
the available properties

getSize

int getSize()
Returns:
the cache size

setSize

void setSize(int size)
Set the cache size
Parameters:
size - the number of user permissions to hold in the cache

getTimeToLiveMillis

long getTimeToLiveMillis()
Returns:
the time to live milliseconds

setTimeToLiveMillis

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

getEnvironmentMillis

long getEnvironmentMillis()
Returns:
the time to live for environment config information

setEnvironmentMillis

void setEnvironmentMillis(long envTTL)
Set the time to live for environment settings
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.