Class: SSOIdentityProvider

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/sso_identity_provider.rb,
lib/bak_sso_identity_provider.rb

Constant Summary collapse

DefaultEndpointUrl =
"http://fuo.bj.finalist.com:8888/josso/services/SSOIdentityProvider"
MappingRegistry =
::SOAP::Mapping::Registry.new
Methods =
[
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "assertIdentityWithSimpleAuthentication"),
    "",
    "assertIdentityWithSimpleAuthentication",
    [ ["in", "in0", ["::SOAP::SOAPString"]],
      ["in", "in1", ["::SOAP::SOAPString"]],
      ["retval", "assertIdentityWithSimpleAuthenticationReturn", ["::SOAP::SOAPString"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ],
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "resolveAuthenticationAssertion"),
    "",
    "resolveAuthenticationAssertion",
    [ ["in", "in0", ["::SOAP::SOAPString"]],
      ["retval", "resolveAuthenticationAssertionReturn", ["::SOAP::SOAPString"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ],
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "globalSignoff"),
    "",
    "globalSignoff",
    [ ["in", "in0", ["::SOAP::SOAPString"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ SSOIdentityProvider

Returns a new instance of SSOIdentityProvider.



36
37
38
39
40
41
# File 'lib/sso_identity_provider.rb', line 36

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = MappingRegistry
  init_methods
end