public class Warning extends Object implements Serializable
Session
and is used to pass warnings
that occur during role activation and password policy validation.
Contains data from event that occurs during session initialization:
id
msg
type
name
Modifier and Type | Class and Description |
---|---|
static class |
Warning.Type
Type determines if warning is of type Role or Password Policy.
|
Constructor and Description |
---|
Warning() |
Warning(int id,
String msg,
Warning.Type type) |
Warning(int id,
String msg,
Warning.Type type,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getMsg() |
String |
getName() |
Warning.Type |
getType() |
void |
setId(int id) |
void |
setMsg(String msg) |
void |
setName(String name) |
void |
setType(Warning.Type type) |
String |
toString() |
public Warning()
public Warning(int id, String msg, Warning.Type type)
id
- msg
- type
- public Warning(int id, String msg, Warning.Type type, String name)
id
- msg
- type
- name
- public int getId()
public void setId(int id)
public String getMsg()
public void setMsg(String msg)
public String getName()
public void setName(String name)
public Warning.Type getType()
public void setType(Warning.Type type)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621