Skip to content

Commit

Permalink
[SHIBUI-1226]
Browse files Browse the repository at this point in the history
move missed line
  • Loading branch information
jj committed Feb 14, 2019
1 parent 6c7f34a commit 192b79c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,13 @@ public void updateDescriptorFromRepresentation(org.opensaml.saml.saml2.metadata.
@Override
public EntityDescriptor createDescriptorFromRepresentation(final EntityDescriptorRepresentation representation) {
EntityDescriptor ed = openSamlObjects.buildDefaultInstanceOfType(EntityDescriptor.class);
ed.setEntityID(representation.getEntityId());

return buildDescriptorFromRepresentation(ed, representation);
}

private EntityDescriptor buildDescriptorFromRepresentation(final EntityDescriptor ed, final EntityDescriptorRepresentation representation) {
ed.setEntityID(representation.getEntityId());

setupSPSSODescriptor(ed, representation);
ed.setServiceProviderName(representation.getServiceProviderName());
ed.setServiceEnabled(representation.isServiceEnabled());
Expand Down

0 comments on commit 192b79c

Please sign in to comment.