Savarese Software Research Corporation
login Namespace Reference

The login namespace contains classes implementing the login service. More...

Namespaces

namespace  detail

Classes

struct  LoginProtocol
struct  User

Typedefs

typedef std::set< uid_typeuid_set
typedef std::map< uid_type,
LoginStatus > 
uid_login_map

Functions

 BOOST_PP_SEQ_FOR_EACH_I (__WSPR_DB_ROW_KEY, User,(0)) BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_ELEMENT
 uid ((string, login))((string
 login_lcase ((string, password))((sec_type
 created ((sec_type, last_login))((sec_type
last_logout BOOST_PP_SEQ_FOR_EACH (__WSPR_DB_ROW_IS_PRIMARY_KEY, User,(0)) struct PublicUser
 BOOST_PP_SEQ_FOR_EACH_I (__WSPR_DB_ROW_KEY, PublicUser,(0)) BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_ELEMENT
last_logout BOOST_PP_SEQ_FOR_EACH (__WSPR_DB_ROW_IS_PRIMARY_KEY, PublicUser,(0)) struct Group
 BOOST_PP_SEQ_FOR_EACH_I (__WSPR_DB_ROW_KEY, Group,(0)) BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_ELEMENT
 gid ((string, group))) BOOST_PP_SEQ_FOR_EACH(__WSPR_DB_ROW_IS_PRIMARY_KEY
 WISP_STRUCT (LoginStatus,((string, login))((bool, is_logged_in)))
const properties_ptr & set_uid_to_login (const properties_ptr &template_data, const uid_login_map &login_map, ToString &to_string)
template<typename caller_type >
void find_logins (caller_type &caller, ToString &to_string, const std::string &login_service, const LoginProtocol::MessageFindLoginForUID &msg, const WebServiceCallContextTwoWay &context, const properties_ptr &template_data)
template<typename caller_type >
void find_logins (caller_type &caller, ToString &to_string, const std::string &login_service, const LoginProtocol::MessageFindLoginForUID &msg, const std::string &relay_group, const GroupSessionProtocol::MessageRelayEvent &mre)
template<typename caller_type >
void find_logins (caller_type &caller, ToString &to_string, const std::string &login_service, const LoginProtocol::MessageFindLoginForUID &msg, const std::string &event_queue, const WebServiceProtocol::MessageDeliverEvent &mde)

Variables

 User
 uid_type
 PublicUser
 Group
 gid_type

Detailed Description

The login namespace contains classes implementing the login service.


Typedef Documentation

typedef std::map<uid_type, LoginStatus> login::uid_login_map

Definition at line 54 of file login/types.h.

typedef std::set<uid_type> login::uid_set

Definition at line 53 of file login/types.h.


Function Documentation

last_logout login::BOOST_PP_SEQ_FOR_EACH ( __WSPR_DB_ROW_IS_PRIMARY_KEY  ,
User  ,
(0)   
)

Definition at line 40 of file login/types.h.

last_logout login::BOOST_PP_SEQ_FOR_EACH ( __WSPR_DB_ROW_IS_PRIMARY_KEY  ,
PublicUser  ,
(0)   
)

Definition at line 47 of file login/types.h.

login::BOOST_PP_SEQ_FOR_EACH_I ( __WSPR_DB_ROW_KEY  ,
User  ,
(0)   
)
login::BOOST_PP_SEQ_FOR_EACH_I ( __WSPR_DB_ROW_KEY  ,
PublicUser  ,
(0)   
)
login::BOOST_PP_SEQ_FOR_EACH_I ( __WSPR_DB_ROW_KEY  ,
Group  ,
(0)   
)
template<typename caller_type >
void login::find_logins ( caller_type &  caller,
ToString &  to_string,
const std::string &  login_service,
const LoginProtocol::MessageFindLoginForUID &  msg,
const WebServiceCallContextTwoWay &  context,
const properties_ptr &  template_data 
) [inline]

Definition at line 104 of file login/ws.h.

References utility::to_string().

template<typename caller_type >
void login::find_logins ( caller_type &  caller,
ToString &  to_string,
const std::string &  login_service,
const LoginProtocol::MessageFindLoginForUID &  msg,
const std::string &  relay_group,
const GroupSessionProtocol::MessageRelayEvent &  mre 
) [inline]

Definition at line 122 of file login/ws.h.

References utility::to_string().

template<typename caller_type >
void login::find_logins ( caller_type &  caller,
ToString &  to_string,
const std::string &  login_service,
const LoginProtocol::MessageFindLoginForUID &  msg,
const std::string &  event_queue,
const WebServiceProtocol::MessageDeliverEvent &  mde 
) [inline]

Definition at line 140 of file login/ws.h.

References utility::to_string().

login::gid ( (string, group)  )
login::login_lcase ( (string, password)  )
const properties_ptr& login::set_uid_to_login ( const properties_ptr &  template_data,
const uid_login_map &  login_map,
ToString &  to_string 
) [inline]
login::WISP_STRUCT ( LoginStatus  ,
((string, login))((bool, is_logged_in))   
)

Variable Documentation

Definition at line 49 of file login/types.h.

Definition at line 49 of file login/types.h.

Definition at line 47 of file login/types.h.

Definition at line 40 of file login/types.h.

Definition at line 40 of file login/types.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.