idmconfig

package
v0.0.0-...-438e69e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDM_CONFIGURATION = "idm.conf"
)

Variables

This section is empty.

Functions

func CreateObjects

func CreateObjects(obj *crest.FRObject, overwrite, continueOnError bool) (err error)

Types

type IDMConnection

type IDMConnection struct {
	BaseURL  string
	User     string
	Password string
	// contains filtered or unexported fields
}

func GetOpenIDMConnection

func GetOpenIDMConnection() (idm *IDMConnection, err error)

Create an OpenAM connection based on viper config file

func (*IDMConnection) Authenticate

func (idm *IDMConnection) Authenticate() error

Authenticate to OpenIDM, and get the session jwt for subsequent REST operations

func (*IDMConnection) GET

func (idm *IDMConnection) GET(path string) (string, error)

func (*IDMConnection) GetConfig

func (idm *IDMConnection) GetConfig(format string) (config string, err error)

func (*IDMConnection) POST

func (idm *IDMConnection) POST(path string, body []byte) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL