Projet

Général

Profil

0001-Add-migration-0040-on-SAMLAttribute-missing-from-com.patch

Benjamin Dauvergne, 05 novembre 2014 11:06

Télécharger (25,8 ko)

Voir les différences:

Subject: [PATCH 1/3] Add migration 0040 on SAMLAttribute missing from commit
 5a42a0a447d

It adds a unique constraint on fields used to make the natural key.
 ...bute_content_type_object_id_name_format_name.py |  284 ++++++++++++++++++++
 1 file changed, 284 insertions(+)
 create mode 100644 authentic2/saml/migrations/0040_auto__add_unique_samlattribute_content_type_object_id_name_format_name.py
authentic2/saml/migrations/0040_auto__add_unique_samlattribute_content_type_object_id_name_format_name.py
1
# -*- coding: utf-8 -*-
2
from south.utils import datetime_utils as datetime
3
from south.db import db
4
from south.v2 import SchemaMigration
5
from django.db import models
6

  
7

  
8
class Migration(SchemaMigration):
9

  
10
    def forwards(self, orm):
11
        # Adding unique constraint on 'SAMLAttribute', fields ['content_type', 'object_id', 'name_format', 'name', 'friendly_name', 'attribute_name']
12
        db.create_unique(u'saml_samlattribute', ['content_type_id', 'object_id', 'name_format', 'name', 'friendly_name', 'attribute_name'])
13

  
14

  
15
    def backwards(self, orm):
16
        # Removing unique constraint on 'SAMLAttribute', fields ['content_type', 'object_id', 'name_format', 'name', 'friendly_name', 'attribute_name']
17
        db.delete_unique(u'saml_samlattribute', ['content_type_id', 'object_id', 'name_format', 'name', 'friendly_name', 'attribute_name'])
18

  
19

  
20
    models = {
21
        u'attribute_aggregator.attributeitem': {
22
            'Meta': {'object_name': 'AttributeItem'},
23
            'attribute_name': ('django.db.models.fields.CharField', [], {'default': "('OpenLDAProotDSE', 'OpenLDAProotDSE')", 'max_length': '100'}),
24
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
25
            'output_name_format': ('django.db.models.fields.CharField', [], {'default': "('urn:oasis:names:tc:SAML:2.0:attrname-format:uri', 'SAMLv2 URI')", 'max_length': '100'}),
26
            'output_namespace': ('django.db.models.fields.CharField', [], {'default': "('Default', 'Default')", 'max_length': '100'}),
27
            'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
28
            'source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['attribute_aggregator.AttributeSource']", 'null': 'True', 'blank': 'True'})
29
        },
30
        u'attribute_aggregator.attributelist': {
31
            'Meta': {'object_name': 'AttributeList'},
32
            'attributes': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'attributes of the list'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['attribute_aggregator.AttributeItem']"}),
33
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'})
35
        },
36
        u'attribute_aggregator.attributesource': {
37
            'Meta': {'object_name': 'AttributeSource'},
38
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'}),
40
            'namespace': ('django.db.models.fields.CharField', [], {'default': "('Default', 'Default')", 'max_length': '100'})
41
        },
42
        u'auth.group': {
43
            'Meta': {'object_name': 'Group'},
44
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
46
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
47
        },
48
        u'auth.permission': {
49
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
50
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
52
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
54
        },
55
        u'auth.user': {
56
            'Meta': {'object_name': 'User'},
57
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
58
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
59
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
60
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
61
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
62
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
63
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
64
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
65
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
66
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
67
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
68
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
69
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
70
        },
71
        u'contenttypes.contenttype': {
72
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
73
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
75
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
76
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
77
        },
78
        u'idp.attributepolicy': {
79
            'Meta': {'object_name': 'AttributePolicy'},
80
            'allow_attributes_selection': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
81
            'ask_consent_attributes': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
82
            'attribute_filter_for_sso_from_push_sources': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filter attributes of push sources with list'", 'null': 'True', 'to': u"orm['attribute_aggregator.AttributeList']"}),
83
            'attribute_list_for_sso_from_pull_sources': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'attributes from pull sources'", 'null': 'True', 'to': u"orm['attribute_aggregator.AttributeList']"}),
84
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
85
            'filter_source_of_filtered_attributes': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
86
            'forward_attributes_from_push_sources': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
87
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
88
            'map_attributes_from_push_sources': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
89
            'map_attributes_of_filtered_attributes': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
90
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}),
91
            'output_name_format': ('django.db.models.fields.CharField', [], {'default': "('urn:oasis:names:tc:SAML:2.0:attrname-format:uri', 'SAMLv2 URI')", 'max_length': '100'}),
92
            'output_namespace': ('django.db.models.fields.CharField', [], {'default': "('Default', 'Default')", 'max_length': '100'}),
93
            'send_error_and_no_attrs_if_missing_required_attrs': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
94
            'source_filter_for_sso_from_push_sources': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'filter attributes of push sources with sources'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['attribute_aggregator.AttributeSource']"})
95
        },
96
        u'saml.authorizationattributemap': {
97
            'Meta': {'object_name': 'AuthorizationAttributeMap'},
98
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'})
100
        },
101
        u'saml.authorizationattributemapping': {
102
            'Meta': {'object_name': 'AuthorizationAttributeMapping'},
103
            'attribute_name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
104
            'attribute_value': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
105
            'attribute_value_format': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'}),
106
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
107
            'map': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.AuthorizationAttributeMap']"}),
108
            'source_attribute_name': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'})
109
        },
110
        u'saml.authorizationsppolicy': {
111
            'Meta': {'object_name': 'AuthorizationSPPolicy'},
112
            'attribute_map': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'authorization_attributes'", 'null': 'True', 'to': u"orm['saml.AuthorizationAttributeMap']"}),
113
            'default_denial_message': ('django.db.models.fields.CharField', [], {'default': "u'You are not authorized to access the service.'", 'max_length': '80'}),
114
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
115
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'})
117
        },
118
        u'saml.idpoptionssppolicy': {
119
            'Meta': {'object_name': 'IdPOptionsSPPolicy'},
120
            'accept_slo': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
121
            'allow_create': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
122
            'back_url': ('django.db.models.fields.CharField', [], {'default': "'/'", 'max_length': '200'}),
123
            'binding_for_sso_response': ('django.db.models.fields.CharField', [], {'default': "'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact'", 'max_length': '200'}),
124
            'enable_binding_for_sso_response': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
125
            'enable_http_method_for_defederation_request': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
126
            'enable_http_method_for_slo_request': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
127
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
128
            'force_user_consent': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
129
            'forward_slo': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
130
            'handle_persistent': ('django.db.models.fields.CharField', [], {'default': "'AUTHSAML2_UNAUTH_PERSISTENT_ACCOUNT_LINKING_BY_AUTH'", 'max_length': '200'}),
131
            'handle_transient': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200'}),
132
            'http_method_for_defederation_request': ('django.db.models.fields.IntegerField', [], {'default': '5', 'max_length': '200'}),
133
            'http_method_for_slo_request': ('django.db.models.fields.IntegerField', [], {'default': '4', 'max_length': '200'}),
134
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'}),
136
            'no_nameid_policy': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
137
            'persistent_identifier_attribute': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
138
            'requested_name_id_format': ('django.db.models.fields.CharField', [], {'default': "'none'", 'max_length': '200'}),
139
            'transient_is_persistent': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
140
            'want_authn_request_signed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
141
            'want_force_authn_request': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
142
            'want_is_passive_authn_request': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
143
        },
144
        u'saml.keyvalue': {
145
            'Meta': {'object_name': 'KeyValue'},
146
            'key': ('django.db.models.fields.CharField', [], {'max_length': '128', 'primary_key': 'True'}),
147
            'value': ('authentic2.saml.fields.PickledObjectField', [], {})
148
        },
149
        u'saml.libertyartifact': {
150
            'Meta': {'object_name': 'LibertyArtifact'},
151
            'artifact': ('django.db.models.fields.CharField', [], {'max_length': '128', 'primary_key': 'True'}),
152
            'content': ('django.db.models.fields.TextField', [], {}),
153
            'creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
154
            'provider_id': ('django.db.models.fields.CharField', [], {'max_length': '256'})
155
        },
156
        u'saml.libertyassertion': {
157
            'Meta': {'object_name': 'LibertyAssertion'},
158
            'assertion': ('django.db.models.fields.TextField', [], {}),
159
            'assertion_id': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
160
            'creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
161
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162
            'provider_id': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
163
            'session_index': ('django.db.models.fields.CharField', [], {'max_length': '128'})
164
        },
165
        u'saml.libertyfederation': {
166
            'Meta': {'object_name': 'LibertyFederation'},
167
            'creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
168
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
169
            'idp': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.LibertyIdentityProvider']", 'null': 'True', 'blank': 'True'}),
170
            'last_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
171
            'name_id_content': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
172
            'name_id_format': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
173
            'name_id_qualifier': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
174
            'name_id_sp_name_qualifier': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
175
            'sp': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.LibertyServiceProvider']", 'null': 'True', 'blank': 'True'}),
176
            'termination_notified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
177
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'})
178
        },
179
        u'saml.libertyidentityprovider': {
180
            'Meta': {'object_name': 'LibertyIdentityProvider'},
181
            'authorization_policy': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'authorization_policy'", 'null': 'True', 'to': u"orm['saml.AuthorizationSPPolicy']"}),
182
            'enable_following_authorization_policy': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
183
            'enable_following_idp_options_policy': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
184
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
185
            'idp_options_policy': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'idp_options_policy'", 'null': 'True', 'to': u"orm['saml.IdPOptionsSPPolicy']"}),
186
            'liberty_provider': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'identity_provider'", 'unique': 'True', 'primary_key': 'True', 'to': u"orm['saml.LibertyProvider']"})
187
        },
188
        u'saml.libertymanagedump': {
189
            'Meta': {'object_name': 'LibertyManageDump'},
190
            'django_session_key': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
191
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
192
            'manage_dump': ('django.db.models.fields.TextField', [], {'blank': 'True'})
193
        },
194
        u'saml.libertyprovider': {
195
            'Meta': {'ordering': "('name',)", 'object_name': 'LibertyProvider'},
196
            'ca_cert_chain': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
197
            'entity_id': ('django.db.models.fields.URLField', [], {'unique': 'True', 'max_length': '200'}),
198
            'entity_id_sha1': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'}),
199
            'federation_source': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
200
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201
            'metadata': ('django.db.models.fields.TextField', [], {}),
202
            'name': ('django.db.models.fields.CharField', [], {'max_length': '140', 'blank': 'True'}),
203
            'protocol_conformance': ('django.db.models.fields.IntegerField', [], {'max_length': '10'}),
204
            'public_key': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
205
            'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '140'}),
206
            'ssl_certificate': ('django.db.models.fields.TextField', [], {'blank': 'True'})
207
        },
208
        u'saml.libertyproviderpolicy': {
209
            'Meta': {'object_name': 'LibertyProviderPolicy'},
210
            'authn_request_signature_check_hint': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
211
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'})
213
        },
214
        u'saml.libertyserviceprovider': {
215
            'Meta': {'object_name': 'LibertyServiceProvider'},
216
            'attribute_policy': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'attribute_policy'", 'null': 'True', 'to': u"orm['idp.AttributePolicy']"}),
217
            'enable_following_attribute_policy': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
218
            'enable_following_sp_options_policy': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
219
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
220
            'liberty_provider': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'service_provider'", 'unique': 'True', 'primary_key': 'True', 'to': u"orm['saml.LibertyProvider']"}),
221
            'policy': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'to': u"orm['saml.LibertyProviderPolicy']", 'null': 'True'}),
222
            'sp_options_policy': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'sp_options_policy'", 'null': 'True', 'to': u"orm['saml.SPOptionsIdPPolicy']"})
223
        },
224
        u'saml.libertysession': {
225
            'Meta': {'object_name': 'LibertySession'},
226
            'assertion': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.LibertyAssertion']", 'null': 'True', 'blank': 'True'}),
227
            'creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
228
            'django_session_key': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
229
            'federation': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.LibertyFederation']", 'null': 'True', 'blank': 'True'}),
230
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
231
            'name_id_content': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
232
            'name_id_format': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}),
233
            'name_id_qualifier': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True'}),
234
            'name_id_sp_name_qualifier': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True'}),
235
            'provider_id': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
236
            'session_index': ('django.db.models.fields.CharField', [], {'max_length': '80'})
237
        },
238
        u'saml.libertysessiondump': {
239
            'Meta': {'object_name': 'LibertySessionDump'},
240
            'django_session_key': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
241
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
242
            'kind': ('django.db.models.fields.IntegerField', [], {}),
243
            'session_dump': ('django.db.models.fields.TextField', [], {'blank': 'True'})
244
        },
245
        u'saml.libertysessionsp': {
246
            'Meta': {'object_name': 'LibertySessionSP'},
247
            'django_session_key': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
248
            'federation': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['saml.LibertyFederation']"}),
249
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250
            'session_index': ('django.db.models.fields.CharField', [], {'max_length': '80'})
251
        },
252
        u'saml.samlattribute': {
253
            'Meta': {'unique_together': "(('content_type', 'object_id', 'name_format', 'name', 'friendly_name', 'attribute_name'),)", 'object_name': 'SAMLAttribute'},
254
            'attribute_name': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
255
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
256
            'friendly_name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}),
257
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
258
            'name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}),
259
            'name_format': ('django.db.models.fields.CharField', [], {'default': "'basic'", 'max_length': '64'}),
260
            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {})
261
        },
262
        u'saml.spoptionsidppolicy': {
263
            'Meta': {'object_name': 'SPOptionsIdPPolicy'},
264
            'accept_slo': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
265
            'accepted_name_id_format': ('authentic2.saml.fields.MultiSelectField', [], {'max_length': '1024', 'blank': 'True'}),
266
            'ask_user_consent': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
267
            'authn_request_signed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
268
            'default_name_id_format': ('django.db.models.fields.CharField', [], {'default': "'none'", 'max_length': '256'}),
269
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
270
            'encrypt_assertion': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
271
            'encrypt_nameid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
272
            'federation_mode': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
273
            'forward_slo': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
274
            'http_method_for_slo_request': ('django.db.models.fields.IntegerField', [], {'default': '4'}),
275
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
276
            'idp_initiated_sso': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
277
            'iframe_logout_timeout': ('django.db.models.fields.PositiveIntegerField', [], {'default': '300'}),
278
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
279
            'needs_iframe_logout': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
280
            'prefered_assertion_consumer_binding': ('django.db.models.fields.CharField', [], {'default': "'meta'", 'max_length': '4'})
281
        }
282
    }
283

  
284
    complete_apps = ['saml']
0
-