* Fixed Internal auth

* Added debug to Publication (info)
This commit is contained in:
Adolfo Gómez 2012-09-20 11:29:00 +00:00
parent f8830a9824
commit af33a442b4
3 changed files with 7 additions and 1 deletions

View File

@ -126,6 +126,7 @@ encoding//src/uds/services/Vmware/client/Exceptions.py=utf-8
encoding//src/uds/services/Vmware/client/Server.py=utf-8
encoding//src/uds/services/Vmware/client/Task.py=utf-8
encoding//src/uds/services/Vmware/client/ws/VimService_types.py=utf-8
encoding//src/uds/services/Vmware_enterprise/PublicationVC.py=utf-8
encoding//src/uds/services/Vmware_enterprise/ServiceProviderVC.py=utf-8
encoding//src/uds/services/Vmware_enterprise/VCLinkedCloneDeployed.py=utf-8
encoding//src/uds/services/Vmware_enterprise/VCLinkedCloneService.py=utf-8

View File

@ -48,9 +48,13 @@ class InternalDBAuth(Authenticator):
typeDescription = _('Internal dabasase authenticator. Doesn\'t uses external sources')
iconFile = 'auth.png'
# If we need to enter the password for this user
needsPassword = True
# This is the only internal source
isExternalSource = False
def __init__(self, dbAuth, environment, values = None):
super(InternalDBAuth, self).__init__(dbAuth, environment, values)

View File

@ -155,6 +155,7 @@ class PublicationManager(object):
dsp = deployedService.publications.create(state = State.LAUNCHING, state_date = now, publish_date = now, revision = deployedService.current_pub_revision)
DelayedTaskRunner.runner().insert(PublicationLauncher(dsp), 4, PUBTAG + str(dsp.id))
except Exception as e:
logger.debug('Caught exception at publish: {0}'.format(e))
raise PublishException(str(e))
@transaction.commit_on_success