Как реализовать SAML [закрытый] SSO

Вы можете определить интерфейс как:

interface DataInterface {
  parent_id: number | string;
  name: string;
}

Затем вы можете определить объект:

const data: DataInterface = {
  parent_id: 0,
  name: 'foo'
};

, и это будет разрешено тоже:

data.parent_id = '';
39
задан Andrew Beals 16 August 2012 в 17:12
поделиться

3 ответа

The way this works is that, after authenticating the user, the SAML identity provider (IdP) renders a form to the browser containing the SAML response - the form's 'action' (i.e. target) is the service provider (SP). In the HTML, there is a JavaScript onLoad event that submits the form, so the net effect is that the user is automatically taken from the IdP to the SP, SAML response in hand.

The only time a user would have to click anything to submit the form is if they have JavaScript disabled. In this case, SAML implementations typically provide a message with a button to press in the

For more detail see this article I wrote a few years ago - but note, 'Lightbulb' is long obsolete now - for PHP SAML see simpleSAMLphp.

It's a shame your client wants to use CA SiteMinder - the open source OpenAM (formerly known as OpenSSO) does this pretty easily.

30
ответ дан 27 November 2019 в 02:52
поделиться

SAML

можно посмотреть на эту ссылку изображения для лучше понимания SAML SSO. Я также хочу дать Вам некоторые ссылки. Эти ссылки являются продуктом компаний и имеют очень интуитивный пример того, как SAML работает: - https://www.codeultimate.com/products/saml

0
ответ дан Archius Vương 6 July 2019 в 19:53
поделиться

Если Siteminder является проверяющей стороной, вам потребуется написать собственный агент, который будет использовать артефакт SAML и создавать SM-сеанс. В противном случае вам нужно будет приобрести продукт, в котором уже есть эта функция.

0
ответ дан 27 November 2019 в 02:52
поделиться
Другие вопросы по тегам:

Похожие вопросы: