Module: Confluence
- Defined in:
- lib/confluence/jobs/ist_ldap_sync.rb,
lib/confluence.rb,
lib/confluence/conn.rb,
lib/confluence/user.rb,
lib/confluence/group.rb,
lib/confluence/config.rb,
lib/confluence/version.rb,
lib/confluence/jobs/disable_expired_users.rb
Overview
Disables a user’s Confluence account if they are considered expired.
UCB ldap uids are stored as confluence username.
Defined Under Namespace
Modules: Jobs
Classes: Config, Conn, Group, User
Constant Summary
collapse
- ROOT =
File.expand_path(File.dirname(__FILE__) + '/../')
- VERSION =
"0.0.10"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
28
29
30
31
32
33
34
|
# File 'lib/confluence.rb', line 28
def config()
unless @config
@config = Confluence::Config.new()
Confluence.logger.debug(@config.inspect())
end
@config
end
|
.config=(config) ⇒ Object
36
37
38
|
# File 'lib/confluence.rb', line 36
def config=(config)
@config = config
end
|
.conn ⇒ Object
21
22
23
24
25
26
|
# File 'lib/confluence.rb', line 21
def conn()
unless @conn
@conn = Confluence::Conn.new(config())
end
@conn
end
|
.logger ⇒ Object
40
41
42
43
44
45
46
|
# File 'lib/confluence.rb', line 40
def logger()
unless @logger
@logger = Logger.new("#{config.home()}/log/ucb_confluence.log")
@logger.level = Logger::DEBUG
end
@logger
end
|
.logger=(logger) ⇒ Object
48
49
50
|
# File 'lib/confluence.rb', line 48
def logger=(logger)
@logger = logger
end
|
.root ⇒ Object
52
53
54
|
# File 'lib/confluence.rb', line 52
def root()
ROOT
end
|