Package org.gluu.oxtrust.action
Class PassportProvidersAction
- java.lang.Object
-
- org.gluu.oxtrust.action.PassportProvidersAction
-
- All Implemented Interfaces:
java.io.Serializable
@Named("passportProvidersAction") @ConversationScoped @Secure("#{permissionService.hasPermission(\'passport\', \'access\')}") public class PassportProvidersAction extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PassportProvidersAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
add()
void
addEntry(java.util.List<OptionEntry> options)
java.lang.String
cancel()
java.lang.String
deleteProvider(org.gluu.model.passport.Provider provider)
org.gluu.model.passport.config.Configuration
getConfiguration()
java.lang.String
getId()
org.gluu.model.passport.idpinitiated.IIConfiguration
getIdpInitiated()
java.lang.String[]
getMappings()
java.lang.String
getMapValue(java.lang.String key)
java.util.List<OptionEntry>
getOptions()
java.util.List<java.lang.String>
getOptionsKeys()
org.gluu.model.passport.Provider
getProvider()
java.util.List<org.gluu.model.passport.Provider>
getProviders()
java.util.List<PassportProvider>
getProviderSelections()
java.lang.String[]
getProviderTypes()
java.lang.String[]
getStrategies()
void
handleRequiredOptions(javax.faces.event.ValueChangeEvent e)
java.lang.String
init()
boolean
isUpdate()
void
removeEntry(java.util.List<OptionEntry> options, OptionEntry entry)
java.lang.String
save()
void
setConfiguration(org.gluu.model.passport.config.Configuration configuration)
void
setId(java.lang.String id)
void
setIdpInitiated(org.gluu.model.passport.idpinitiated.IIConfiguration idpInitiated)
void
setMappings(java.lang.String[] mappings)
void
setOptions(java.util.List<OptionEntry> options)
void
setOptionsKeys(java.util.List<java.lang.String> optionsKeys)
void
setProvider(org.gluu.model.passport.Provider provider)
void
setProviders(java.util.List<org.gluu.model.passport.Provider> providers)
void
setProviderSelections(java.util.List<PassportProvider> providerSelections)
void
setStrategies(java.lang.String[] strategies)
void
setUpdate(boolean update)
java.lang.String
update()
-
-
-
Method Detail
-
isUpdate
public boolean isUpdate()
-
setUpdate
public void setUpdate(boolean update)
-
init
public java.lang.String init()
-
add
public java.lang.String add()
-
handleRequiredOptions
public void handleRequiredOptions(javax.faces.event.ValueChangeEvent e)
-
update
public java.lang.String update()
-
save
public java.lang.String save()
-
cancel
public java.lang.String cancel()
-
getProviders
public java.util.List<org.gluu.model.passport.Provider> getProviders()
-
setProviders
public void setProviders(java.util.List<org.gluu.model.passport.Provider> providers)
-
getIdpInitiated
public org.gluu.model.passport.idpinitiated.IIConfiguration getIdpInitiated()
-
setIdpInitiated
public void setIdpInitiated(org.gluu.model.passport.idpinitiated.IIConfiguration idpInitiated)
-
getConfiguration
public org.gluu.model.passport.config.Configuration getConfiguration()
-
setConfiguration
public void setConfiguration(org.gluu.model.passport.config.Configuration configuration)
-
getProvider
public org.gluu.model.passport.Provider getProvider()
-
setProvider
public void setProvider(org.gluu.model.passport.Provider provider)
-
getOptionsKeys
public java.util.List<java.lang.String> getOptionsKeys()
-
setOptionsKeys
public void setOptionsKeys(java.util.List<java.lang.String> optionsKeys)
-
getMapValue
public java.lang.String getMapValue(java.lang.String key)
-
removeEntry
public void removeEntry(java.util.List<OptionEntry> options, OptionEntry entry)
-
addEntry
public void addEntry(java.util.List<OptionEntry> options)
-
deleteProvider
public java.lang.String deleteProvider(org.gluu.model.passport.Provider provider)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getOptions
public java.util.List<OptionEntry> getOptions()
-
setOptions
public void setOptions(java.util.List<OptionEntry> options)
-
getProviderTypes
public java.lang.String[] getProviderTypes()
-
getProviderSelections
public java.util.List<PassportProvider> getProviderSelections()
-
setProviderSelections
public void setProviderSelections(java.util.List<PassportProvider> providerSelections)
-
getMappings
public java.lang.String[] getMappings()
-
setMappings
public void setMappings(java.lang.String[] mappings)
-
getStrategies
public java.lang.String[] getStrategies()
-
setStrategies
public void setStrategies(java.lang.String[] strategies)
-
-