Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for custom configuration of authorization service for publishing operations #94

Open
LucaCinquini opened this issue May 26, 2016 · 1 comment
Assignees

Comments

@LucaCinquini
Copy link
Member

LucaCinquini commented May 26, 2016

Who: Zed

Zed reported that after a standard installation, their publishing operations fail because of the following setting in the application.properties file:

URL of authorization service used to authorize publishing operations
security.authz.service.endpoint=https://localhost/esg-orp/saml/soap/secure/authorizationService.htm

which should instead contain the hostname of the server.

@LucaCinquini LucaCinquini self-assigned this May 26, 2016
@LucaCinquini
Copy link
Member Author

That value is passed to the SAMLAuthorizer through this setting in the security-context.xml:

<bean name="authorizer" class="esg.orp.app.SAMLAuthorizer">
    <property name="endpoints">
            <value>${security.authz.service.endpoint}</value>
    </property>
</bean>

The SAMLAuthorizer probably needs to change to use the ESGFProperties class and read the value of the property at a specified key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant