Class: SSOIdentityManager

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

Constant Summary collapse

DefaultEndpointUrl =
"http://fuo.bj.finalist.com:8888/josso/services/SSOIdentityManager"
MappingRegistry =
::SOAP::Mapping::Registry.new
Methods =
[
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "findUser"),
    "",
    "findUser",
    [ ["in", "in0", ["::SOAP::SOAPString"]],
      ["retval", "findUserReturn", ["SSOUser", "http://josso.org/gateway/identity/service/ws/impl", "SSOUser"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ],
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "findUserInSession"),
    "",
    "findUserInSession",
    [ ["in", "in0", ["::SOAP::SOAPString"]],
      ["retval", "findUserInSessionReturn", ["SSOUser", "http://josso.org/gateway/identity/service/ws/impl", "SSOUser"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ],
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "findRolesByUsername"),
    "",
    "findRolesByUsername",
    [ ["in", "in0", ["::SOAP::SOAPString"]],
      ["retval", "findRolesByUsernameReturn", ["SSORole[]", "http://josso.org/gateway/identity/service/ws/impl", "SSORole"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ],
  [ XSD::QName.new("http://josso.org/gateway/identity/service/ws/impl", "userExists"),
    "",
    "userExists",
    [ ["in", "in0", ["::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", "initialize"),
    "",
    "initialize",
    [],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ SSOIdentityManager

Returns a new instance of SSOIdentityManager.



81
82
83
84
85
86
# File 'lib/sso_identity_manager.rb', line 81

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