|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.Configuration
org.torweg.pulse.component.core.accesscontrol.sso.CookieBasedSSOConfig
public class CookieBasedSSOConfig
is the configuration for the CookieBasedSSO single sign-on task.
| Constructor Summary | |
|---|---|
CookieBasedSSOConfig()
default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDomain()
returns the cookie-domain. |
JNDILookupConfiguration |
getJndiConfig()
returns the JNDI configuration for the JDBC DataSource. |
TimeSpan |
getMaxTimeToLive()
returns the maximum time-to-live for entries in the sso table. |
java.lang.String |
getPath()
retruns the cookie-path. |
java.lang.String |
getTableName()
returns the database table name. |
boolean |
isIncludePassword()
returns whether passwords are to be stored in the sso table. |
boolean |
isSSOEnabledFor(User user)
returns whether SSO is enabled for the given user. |
void |
setIncludePassword(boolean b)
sets whether passwords are to be stored in the sso table. |
void |
setMaxTimeToLive(TimeSpan ttl)
sets the maximum time-to-live for entries in the sso table. |
void |
setSSORoleIds(java.util.Collection<java.lang.Long> ids)
sets the SSO roles. |
void |
setTableName(java.lang.String t)
sets the database table name. |
| Methods inherited from class org.torweg.pulse.configuration.Configuration |
|---|
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieBasedSSOConfig()
| Method Detail |
|---|
public final java.lang.String getPath()
public final java.lang.String getDomain()
public final JNDILookupConfiguration getJndiConfig()
DataSource.
DataSourcepublic final java.lang.String getTableName()
public final void setTableName(java.lang.String t)
t - the database table namepublic final boolean isIncludePassword()
true, if and only if, passwords are stored in the
sso table. Otherwise false.public final void setIncludePassword(boolean b)
b - the password flagpublic final TimeSpan getMaxTimeToLive()
public final void setMaxTimeToLive(TimeSpan ttl)
ttl - the maximum time-to-livepublic final void setSSORoleIds(java.util.Collection<java.lang.Long> ids)
ids - the ids of the roles for which to enable ssopublic final boolean isSSOEnabledFor(User user)
user - the user
true, if SSO is enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||