public class ApplicationSamlConfigurationDAOHibernate extends HibernateDao<ApplicationSamlConfigurationEntity> implements ApplicationSamlConfigurationDAO
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSource
sessionFactory
Constructor and Description |
---|
ApplicationSamlConfigurationDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
List<ApplicationSamlConfigurationEntity> |
findAll()
Returns list of all configurations.
|
Optional<ApplicationSamlConfigurationEntity> |
findByAssertionConsumerAndAudience(String assertionConsumerUrl,
String audience)
Returns the SAML SSO configuration for the specified assertion consumer url and audience.
|
Class<ApplicationSamlConfigurationEntity> |
getPersistentClass()
All subclasses of HibernateDao must implement this method for
HibernateDao.load(Serializable) to work
correctly. |
Optional<ApplicationSamlConfigurationEntity> |
loadForApplication(Application application)
Returns the SAML SSO configuration for the specified application
|
void |
save(ApplicationSamlConfigurationEntity applicationSamlConfiguration)
Creates or updates SAML SSO configuration for an application
|
createDeleteQuery, createDeleteQuery, createQuery, createQuery, executeHQLQuery, findAllInternal, findByProperties, findByPropertiesOptional, findByProperty, findByProperty, findByPropertyOptional, findByPropertyOrThrow, getCountByProperties, load, load, loadOptional, loadReference, loadReference, remove, removeByIdIfPresent, save, saveOrUpdate, session, setBatchFinder, setBatchProcessor, setClock, setStatelessSessionBatchProcessor, toPredicates, update
setSessionFactory, withStatelessSession
public ApplicationSamlConfigurationDAOHibernate()
public Optional<ApplicationSamlConfigurationEntity> loadForApplication(Application application)
ApplicationSamlConfigurationDAO
loadForApplication
in interface ApplicationSamlConfigurationDAO
application
- the application for which the configuration should be fetchedpublic Optional<ApplicationSamlConfigurationEntity> findByAssertionConsumerAndAudience(String assertionConsumerUrl, String audience)
ApplicationSamlConfigurationDAO
findByAssertionConsumerAndAudience
in interface ApplicationSamlConfigurationDAO
assertionConsumerUrl
- SSO application assertion consumer urlaudience
- SSO application audiencepublic void save(ApplicationSamlConfigurationEntity applicationSamlConfiguration)
ApplicationSamlConfigurationDAO
save
in interface ApplicationSamlConfigurationDAO
applicationSamlConfiguration
- the configuration to save or updatepublic Class<ApplicationSamlConfigurationEntity> getPersistentClass()
HibernateDao
HibernateDao.load(Serializable)
to work
correctly.getPersistentClass
in class HibernateDao<ApplicationSamlConfigurationEntity>
public List<ApplicationSamlConfigurationEntity> findAll()
ApplicationSamlConfigurationDAO
findAll
in interface ApplicationSamlConfigurationDAO
Copyright © 2021 Atlassian. All rights reserved.