Ensuring that default-issuer is set (#553)
This commit is contained in:
parent
e0c79389ca
commit
0f5e925a1a
|
@ -11,13 +11,13 @@ from lemur.authorities.schemas import AuthorityNestedOutputSchema
|
||||||
|
|
||||||
|
|
||||||
class DefaultOutputSchema(LemurOutputSchema):
|
class DefaultOutputSchema(LemurOutputSchema):
|
||||||
__envelope__ = False
|
|
||||||
authority = fields.Nested(AuthorityNestedOutputSchema)
|
authority = fields.Nested(AuthorityNestedOutputSchema)
|
||||||
country = fields.String()
|
country = fields.String()
|
||||||
state = fields.String()
|
state = fields.String()
|
||||||
location = fields.String()
|
location = fields.String()
|
||||||
organization = fields.String()
|
organization = fields.String()
|
||||||
organizationalUnit = fields.String()
|
organizational_unit = fields.String()
|
||||||
|
issuer_plugin = fields.String()
|
||||||
|
|
||||||
|
|
||||||
default_output_schema = DefaultOutputSchema()
|
default_output_schema = DefaultOutputSchema()
|
||||||
|
|
|
@ -65,8 +65,8 @@ class LemurDefaults(AuthenticatedResource):
|
||||||
state=current_app.config.get('LEMUR_DEFAULT_STATE'),
|
state=current_app.config.get('LEMUR_DEFAULT_STATE'),
|
||||||
location=current_app.config.get('LEMUR_DEFAULT_LOCATION'),
|
location=current_app.config.get('LEMUR_DEFAULT_LOCATION'),
|
||||||
organization=current_app.config.get('LEMUR_DEFAULT_ORGANIZATION'),
|
organization=current_app.config.get('LEMUR_DEFAULT_ORGANIZATION'),
|
||||||
organizationalUnit=current_app.config.get('LEMUR_DEFAULT_ORGANIZATIONAL_UNIT'),
|
organizational_unit=current_app.config.get('LEMUR_DEFAULT_ORGANIZATIONAL_UNIT'),
|
||||||
issuerPlugin=current_app.config.get('LEMUR_DEFAULT_ISSUER_PLUGIN'),
|
issuer_plugin=current_app.config.get('LEMUR_DEFAULT_ISSUER_PLUGIN'),
|
||||||
authority=default_authority
|
authority=default_authority
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue