public class nsNKeyOutput extends EnrollOutput implements IProfileOutput
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VAL_DER |
mConfigNames
Constructor and Description |
---|
nsNKeyOutput() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy.
|
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.
|
java.lang.String |
getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
Retrieves the value of the given value parameter by name.
|
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value
parameter by name.
|
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy.
|
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default.
|
addValueName, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getValueNames, setConfig, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigStore, getValueNames, setValue
getConfig, getConfigDescriptor, getConfigNames, setConfig
public static final java.lang.String VAL_DER
public void init(IProfile profile, IConfigStore config) throws EProfileException
init
in interface IProfileOutput
init
in class EnrollOutput
profile
- owner of this policyconfig
- configuration storeEProfileException
- failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName
in interface IProfileOutput
getName
in class EnrollOutput
locale
- user localepublic java.lang.String getText(java.util.Locale locale)
getText
in interface IProfileOutput
getText
in class EnrollOutput
locale
- user localepublic void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate
in interface IProfileOutput
populate
in class EnrollOutput
ctx
- profile contextrequest
- requestEProfileException
- failed to populatepublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor
in interface IProfileOutput
getValueDescriptor
in class EnrollOutput
locale
- user localename
- property namepublic java.lang.String getValue(java.lang.String name, java.util.Locale locale, IRequest request) throws EProfileException
IProfileOutput
getValue
in interface IProfileOutput
getValue
in class EnrollOutput
name
- property namelocale
- user localerequest
- requestEProfileException
- failed to retrieve value